Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15
Safari 17
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
MsgPack Strings Encode 50760.7 Ops/sec
JSON Strings Encode 2820528.2 Ops/sec
MsgPack Numbers Encode 198924.8 Ops/sec
JSON Numbers Encode 1752498.5 Ops/sec
JSON string decode 1603063.1 Ops/sec
msgpack string decode 398867.4 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


;