detect.js 204 B

1234567
  1. var detective = require('../');
  2. var fs = require('fs');
  3. var src = fs.readFileSync(__dirname + '/src/jquery.js', 'utf8');
  4. var t0 = Date.now();
  5. var requires = detective(src);
  6. console.log(Date.now() - t0);