|
|
|
|
|
by juvenn
5889 days ago
|
|
That new node-based v2.0+ implementation can be 10x faster than the ruby-based implementation. # Ruby version
$ time lessc -v
lessc 1.2.21
real 0m1.681s
user 0m1.492s
sys 0m0.176s
# Node.js version
$ time lss -v
lessc 2.0.0 (LESS Compiler)
real 0m0.104s
user 0m0.088s
sys 0m0.016s
Though it should be noted that Rubygems has introduced a bit overhead in
the Ruby version. |
|
Also, a 1.5-second speedup is not terribly compelling for something done rather infrequently (and if you're not caching or pre-processing to static files, you're doing it wrong).