Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
Safari 18
Mac OS X 10.15.7
Desktop
20 hours ago
Test name Executions per second
URLSearchParams 1143009.4 Ops/sec
Custom (safe) 1530682.0 Ops/sec
Custom 2 (unsafe) 5828196.0 Ops/sec
Custom (fast) 3258112.2 Ops/sec
Custom (both) 1077677.2 Ops/sec
Script Preparation code:
Tests:
  • URLSearchParams

  • Custom (safe)

  • Custom 2 (unsafe)

  • Custom (fast)

  • Custom (both)


;