You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.
20 seconds is a long time. I want to reduce the cake build compile time to 2 seconds.
Right now the compilation system is as dumb as it gets - it concats all the .coffee files in a certain order and compiles the entire thing at once, every time. Even if you change a single character.
That means it does a lot of redundant work. It's slow and annoying, and will discourage people from working on Mondrian.
Since the source files are already split up, I'm picturing a system that only recompiles individual files that have changed since last time. It could compare whether they are changed using an md5 hash for a file each time.
There's still a question of how the system concats all the JS after doing this. I think it could just strip the surrounding (function() { / }).call(this);s from each individually compiled JavaScript file, concat the results, and re-wrap it all.
This has to happen soon. I plan on taking it on.
The text was updated successfully, but these errors were encountered:
20 seconds is a long time. I want to reduce the
cake build
compile time to 2 seconds.Right now the compilation system is as dumb as it gets - it concats all the
.coffee
files in a certain order and compiles the entire thing at once, every time. Even if you change a single character.That means it does a lot of redundant work. It's slow and annoying, and will discourage people from working on Mondrian.
Since the source files are already split up, I'm picturing a system that only recompiles individual files that have changed since last time. It could compare whether they are changed using an md5 hash for a file each time.
There's still a question of how the system concats all the JS after doing this. I think it could just strip the surrounding
(function() {
/}).call(this);
s from each individually compiled JavaScript file, concat the results, and re-wrap it all.This has to happen soon. I plan on taking it on.
The text was updated successfully, but these errors were encountered: