Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36
Chrome 74
Mac OS X 10.14.1
Desktop
5 years ago
Test name Executions per second
MsgPack Strings Encode 109269.0 Ops/sec
JSON Strings Encode 342157.7 Ops/sec
MsgPack Numbers Encode 140719.7 Ops/sec
JSON Numbers Encode 277372.2 Ops/sec
JSON string decode 342301.3 Ops/sec
msgpack string decode 107379.2 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


;