Run details:
Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Windows
Desktop
one year ago
Test name Executions per second
Object.entries with URLSearchParams 119083.6 Ops/sec
map reduce 468648.5 Ops/sec
json parse decodeURI 409855.1 Ops/sec
json parse decodeURIComponent 269862.8 Ops/sec
Script Preparation code:
Tests:
  • Object.entries with URLSearchParams

  • map reduce

  • json parse decodeURI

  • json parse decodeURIComponent