Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15
Safari 14
Mac OS X 10.15.6
Desktop
2 years ago
Test name Executions per second
MsgPack Strings Encode 21639.7 Ops/sec
JSON Strings Encode 713025.6 Ops/sec
MsgPack Numbers Encode 94577.5 Ops/sec
JSON Numbers Encode 414486.2 Ops/sec
JSON string decode 706594.9 Ops/sec
msgpack string decode 274338.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • JSON string decode

  • msgpack string decode


;