grunt-compass-multiple icon indicating copy to clipboard operation
grunt-compass-multiple copied to clipboard

Proof

Open sindresorhus opened this issue 11 years ago • 7 comments

You claim it's faster than just running Compass (or grunt-contrib-compass), but I see no actual numbers on it.

sindresorhus avatar Aug 13 '13 07:08 sindresorhus

Agree to @sindresorhus , provide some benchmark will be more convincing

neekey avatar Sep 13 '13 04:09 neekey

Workin' faster for me.

grunt-compass-multiple:

Running "compass:build" (compass) task
stdout:     create .tmp/build/css/print.css 
stdout:     create .tmp/build/css/ie.css 
stdout:     create .tmp/build/css/controls.css 
stdout:     create .tmp/build/css/screen.css 
stdout:     create .tmp/build/css/animation.css 
stdout:     create .tmp/build/css/stream.css 
stdout:     create .tmp/build/css/form.css 
stdout:     create .tmp/build/css/share.css 
stdout:     create .tmp/build/css/menu.css 
stdout:     create .tmp/build/css/events.css 
stdout:     create .tmp/build/css/attendees.css 
stdout:     create .tmp/build/css/comments.css 
stdout:     create .tmp/build/css/dashboard.css 
execTime: 7109ms

grunt-contrib-compass:

Running "compass:build" (compass) task
   create .tmp/build/css/animation.css (1.397s)
   create .tmp/build/css/attendees.css (2.803s)
   create .tmp/build/css/comments.css (2.815s)
   create .tmp/build/css/controls.css (0.465s)
   create .tmp/build/css/dashboard.css (4.251s)
   create .tmp/build/css/events.css (0.962s)
   create .tmp/build/css/form.css (0.845s)
   create .tmp/build/css/ie.css (0.001s)
   create .tmp/build/css/menu.css (0.856s)
   create .tmp/build/css/print.css (0.001s)
   create .tmp/build/css/screen.css (0.397s)
   create .tmp/build/css/share.css (0.781s)
   create .tmp/build/css/stream.css (0.505s)
Compilation took 16.089s

iameli avatar Oct 01 '13 22:10 iameli

Did you get these numbers on the first compilation, or once files have been cached?

monsieur-z avatar Dec 06 '13 21:12 monsieur-z

Pretty sure it was first compilation b/c I had a clean task in my Grunt but I don't honestly remember.

iameli avatar Dec 06 '13 21:12 iameli

@yoheiMune ping

sindresorhus avatar Mar 01 '14 14:03 sindresorhus

Sorry for slow replay! This module is sometimes faster, and sometime slower than compass, maybe. When compiling many files(ex.10 files or more) at the time, grunt-compass-multiple can compile faster.

I will create benchmarks in the near future!

yoheiMune avatar Mar 07 '14 07:03 yoheiMune

@yoheiMune ping

sindresorhus avatar Oct 10 '14 10:10 sindresorhus