Less.js load impact

How much less.js affects site speed?

For standardization purposes , suppose we use Benchmark.less .

How much slower is the compilation process than precompiled css? Also, under what files will users see performance impact?

+5
source share
4 answers

You can check the boot time with Firebug (you will definitely see how long it takes to boot).

, , .less .css , .

EDIT:

benchmark.less :

less: parsed hxxp://localhost/testing/css/style.less successfully.
less: saving hxxp://localhost/testing/css/style.less to cache.
less: css for hxxp://localhost/testing/css/style.less generated in 640ms
less: css generated in 641ms

p.s. , , css, , JS .

+4

twitter bootstrap, less.js. > 1 (1.08s), ; .

, !

+2

Cache less, - , twitter bootstrap, . , , .

+1

( css 9k ), , . Chrome, , less.js 600 . - - 5 (!). Firefox 4.3s (!). iPad 4- . .

, CSS .

, , Google V8, less.js, Safari Firefox, :

  • , ( Safari on iOS). , , . - , ( , CSS).

  • .

  • SCSS/SASS, , SASS LESS, , .

I would say that if you are interested in mobile clients (in particular iOS), avoid less.js, like a plague.

+1
source

All Articles