Testing performance when using a new RegExp object vs a literal regex
https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
Testing finding an object array via findIndex or by using a for loop
Testing finding an object array via find or by using a for loop
The goal is to test which is faster - combinations between Array.prototype.slice and Array.prototype.push methods or custom for-loop alternative in the context of inserting value at given index
test for foreach
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