Skip to content

Instantly share code, notes, and snippets.

@shennan
shennan / benchmarking-node-fs-extra-copy-pass-stats.js
Created November 8, 2016 23:28
A benchmark for async/sync node-fs-extra passStats option
var Benchmark = require('benchmark');
var fse = require('fs-extra'); // this is an npm link to local version of node-fs-extra
var path = require('path');
var async = require('async');
var suites = {
'Asynchronous': new Benchmark.Suite,
'Synchronous': new Benchmark.Suite