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
one month ago
Test name Executions per second
URLSearchParams 1544708.1 Ops/sec
Custom (safe) 1561038.0 Ops/sec
Custom 2 (unsafe) 5033470.0 Ops/sec
Custom (fast) 3234752.2 Ops/sec
Script Preparation code:
Tests:
  • URLSearchParams

  • Custom (safe)

  • Custom 2 (unsafe)

  • Custom (fast)