Skip to content

Instantly share code, notes, and snippets.

@rlidwka
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlidwka/892d08876d737e265a86 to your computer and use it in GitHub Desktop.
Save rlidwka/892d08876d737e265a86 to your computer and use it in GitHub Desktop.
mincer benchmark
#!/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