Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:139.0) Gecko/20100101 Firefox/139.0
Firefox 139
Mac OS X 10.15
Desktop
10 months ago
Test name Executions per second
MsgPack Strings Encode 1265982.6 Ops/sec
JSON Strings Encode 2504408.2 Ops/sec
MsgPack Numbers Encode 779244.6 Ops/sec
JSON Numbers Encode 1287987.1 Ops/sec
MsgPack Numbers Decode 1281590.0 Ops/sec
JSON Numbers Decode 1692744.8 Ops/sec
JSON String Decode 1332833.6 Ops/sec
MsgPack String Decode 1162251.0 Ops/sec
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