Re:Libsass – C implementation of a Sass compiler
by lightblade on Tuesday November 26, 2013 @01:38AM
(#6799552)
Whoa! 5 seconds is still a long time. If you don't mind me asking, how many lines of SASS does the project have?
Re:Libsass – C implementation of a Sass compiler
by twhid on Tuesday November 26, 2013 @10:28AM
(#6801826)
>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).
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!