Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Chrome 9 runs
interpolation
165.0M/s
JSON.stringify
29.3M/s

Fastest: interpolation (5.6x faster)

View exact numbers
  • interpolation: 165,048,416 ops/sec
  • JSON.stringify: 29,312,578 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    interpolation
    JSON.stringify

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Chrome 148 on Mac OS X 10.15.7
View result in a separate tab
interpolation
85.0M/s
JSON.stringify
17.2M/s
View exact numbers
Test name Executions per second
interpolation 84,950,976 Ops/sec
JSON.stringify 17,184,722 Ops/sec