Browse the latest JavaScript performance benchmarks created by the community.
Benchmark the performance diff between sets forEach and for loop over set.entries
No description provided
No description provided
php date by locutus.io dayjs 1.11.7 (jsdelivr) moment 2.29.4 (jsdelivr) luxon 3.3.0 (jsdelivr) date-fns 2.29.3 (rollup)
No description provided
No description provided
Comparing speed of getting element by id with jQuery vs Vanilla JS with getElementById and querySelector
Comparing speed of getting element by id with jQuery vs Vanilla JS with getElementById and querySelector
Testing the performance of logical assignment vs ternary assignment
No description provided
No description provided
No description provided
No description provided
No description provided
Note!: none of these tests actually do the same thing, and the data in the example is simple. consider also using arrays: those are nice. Some of these are shallow, some of these are deep-ish. Data is lost through JSON serialization and back, and more data would be lost in JSON and other methods depending on the data stored.
Compare the new ES6 spread operator with the traditional concat() method and push
No description provided
insertAdjacentHtml vs innerHTML
No description provided
No description provided
No description provided
No description provided
No description provided
Compare the new ES6 spread operator with the traditional slice() method
No description provided