Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Linux
Desktop
one year ago
Test name Executions per second
Object.entries with URLSearchParams 33420.0 Ops/sec
map reduce 156043.2 Ops/sec
json parse decodeURI 55891.9 Ops/sec
json parse decodeURIComponent 48441.8 Ops/sec
Script Preparation code:
Tests:
  • Object.entries with URLSearchParams

  • map reduce

  • json parse decodeURI

  • json parse decodeURIComponent