HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • MsgPack Numbers Decode

  • JSON Numbers Decode

  • JSON String Decode

  • MsgPack String Decode

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    MsgPack Strings Encode
    JSON Strings Encode
    MsgPack Numbers Encode
    JSON Numbers Encode
    MsgPack Numbers Decode
    JSON Numbers Decode
    JSON String Decode
    MsgPack String Decode

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 17 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118 on Windows
View result in a separate tab
Test name Executions per second
MsgPack Strings Encode 594768.6 Ops/sec
JSON Strings Encode 1256758.2 Ops/sec
MsgPack Numbers Encode 1027639.9 Ops/sec
JSON Numbers Encode 838677.9 Ops/sec
MsgPack Numbers Decode 1618937.2 Ops/sec
JSON Numbers Decode 1170409.6 Ops/sec
JSON String Decode 972998.5 Ops/sec
MsgPack String Decode 845213.0 Ops/sec


;