Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 OPR/102.0.0.0
Opera 102
Windows
Desktop
one year ago
Test name Executions per second
Object.entries with URLSearchParams 230013.3 Ops/sec
map reduce 771594.0 Ops/sec
json parse decodeURI 780179.5 Ops/sec
json parse decodeURIComponent 351110.6 Ops/sec
Script Preparation code:
Tests:
  • Object.entries with URLSearchParams

  • map reduce

  • json parse decodeURI

  • json parse decodeURIComponent