Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 OPR/69.0.3686.77
Opera 69
Mac OS X 10.13.6
Desktop
4 years ago
Test name Executions per second
MsgPack Strings Encode 74854.8 Ops/sec
JSON Strings Encode 205611.3 Ops/sec
MsgPack Numbers Encode 90903.8 Ops/sec
JSON Numbers Encode 176905.3 Ops/sec
JSON string decode 197624.2 Ops/sec
msgpack string decode 122111.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


;