First back it up with numbers, then we talk.
First back it up with numbers, then we talk.
A trivial CSS file (foo {a: b}) takes about 0.11s. This is probably mostly time spent spawning Node and loading the JS.
The combined CSS for GitHub, about 160K, takes about 1.6s. This is already longer than most HTTP requests.
The doubled CSS for GitHub (the same CSS twice in a row), about 316K, takes about 4s. This is quite large, although there are few sites that have this much CSS.
I tried to run it against the minified CSS for caring.com, but after 2m it hadn't terminated so I gave up. It's likely that this is due to a bug in the implementation rather than slowness.
By airing the file out a bit (just adding some double line-breaks), and passing -O2, it goes down to 177ms :)
For what it's worth, -O2 brings the compile time for github.css down to about 1.5s.
http://github.com/cloudhead/less.js/blob/master/benchmark/be...
Which has all the features of LESS in it, and weighs 94KB (3600loc), compiles in 130ms on my macbook pro.
I would say that's plenty fast. You can try it out by running `$ make benchmark`
It's also worth mentioning that plenty of people who care about page load times would still care about 130ms. It's not as glaringly awful as 1.5s, but it's definitely comparable to the sorts of times under discussion. See http://developer.yahoo.com/performance/rules.html and http://code.google.com/speed/page-speed/docs/rules_intro.htm...
Maybe.
Remember, we have to design our sites as if the user is poised over the back button.