Ripped off from another user but fixed a bug in "spread"
bytymighty
Compare different ways to search objects in an array given its id.
Test on isEqual performance
Test
!!x vs Boolean(x)
Measure the performance of instanceOf operator vs comparing a basic string type.
Comparison of using split('T') or slice(0, indexOf('T')) in parsing out a date from an ISO string. Does not include any extra checking from the indexOf to ensure proper formatting of the string. Does not include array size checking after the split.
New benchmark Your benchmarks
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js (v2.1.1)
Facebook page: https://www.facebook.com/MeasureThat.Net