Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Windows 8.1
Desktop
one year ago
Test name Executions per second
Object.entries with URLSearchParams 136618.5 Ops/sec
map reduce 454037.7 Ops/sec
json parse decodeURI 435046.7 Ops/sec
json parse decodeURIComponent 309218.3 Ops/sec
Script Preparation code:
Tests:
  • Object.entries with URLSearchParams

  • map reduce

  • json parse decodeURI

  • json parse decodeURIComponent