Last active
August 29, 2015 14:04
-
-
Save rlidwka/892d08876d737e265a86 to your computer and use it in GitHub Desktop.
mincer benchmark
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var Mincer = require('mincer'); | |
var env = new Mincer.Environment(); | |
env.appendPath('/home'); // or whereever you have a big bunch of files | |
var manifest = new Mincer.Manifest(env, '.'); | |
var date = Date.now(); | |
manifest.compile(['some-nonexistent-file']); | |
console.log('compile() took %s ms', Date.now() - date); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment