Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Chrome 100
Linux
Desktop
one year ago
Test name Executions per second
Object.entries with URLSearchParams 32756.2 Ops/sec
map reduce 153104.9 Ops/sec
json parse decodeURI 255231.5 Ops/sec
json parse decodeURIComponent 191286.3 Ops/sec
Script Preparation code:
Tests:
  • Object.entries with URLSearchParams

  • map reduce

  • json parse decodeURI

  • json parse decodeURIComponent