3 ms·
Real world example: our project was taking almost 1 minute to compile via Ruby (all CSS). Using sassc (libsass) that went to 5 seconds. Development was where
by twhid 13y ago
Real world example: our project was taking almost 1 minute to compile via Ruby (all CSS).
Using sassc (libsass) that went to 5 seconds.
Development was where we saw real gains, different sections that would take 4-6 seconds to compile, went down to <500ms (our asset watcher is smart enough to compile only blocks of Sass files that are associated, not the entire site's Sass). Meaning that in the time it takes you to switch to your browser and refresh, the Sass would be compiled to CSS.
Made my devs life much, much better!
- lightblade 13y agoWhoa! 5 seconds is still a long time. If you don't mind me asking, how many lines of SASS does the project have?
- twhid 13y ago>22,000 according to wc -l /*.scss (thanks stackoverflow!). Edit: > 24,000 (counting all files this time ;-) But I noticed that files missing a newline at the end weren't being counted correctly (missing 1 line in the count).