HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
JSON.stringify
411K/s
MessagePack.encode
112K/s

Fastest: JSON.stringify (3.7x faster)

View exact numbers
  • JSON.stringify: 411,315 ops/sec
  • MessagePack.encode: 111,747 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
    JSON.stringify
    MessagePack.encode

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 17 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Chrome 150 on Mac OS X 10.15.7
View result in a separate tab
JSON.stringify
641K/s
MessagePack.encode
117K/s
View exact numbers
Test name Executions per second
JSON.stringify 641,345 Ops/sec
MessagePack.encode 117,408 Ops/sec