News for hackers. Stuff that matters.
Re:Show HN: Fdir – Faster Node.js glob alternative by ricardobeat on Sunday March 29, 2020 @09:29PM (#22724404)
Do you mind sharing how you did the benchmarking? console.time, inspector?
Re:Show HN: Fdir – Faster Node.js glob alternative by thecodrr on Sunday March 29, 2020 @09:32PM (#22724423)
I used `benny`. If you have a NodeJS setup you can easily run the benchmarks by:

  npm install
And then:

  node benchmark.js

That will start the asynchronous and synchronous benchmark sequentially.

Thanks for taking the interest.

Edit: benny uses the Benchmark.js library underneath.