Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85
Mac OS X 10.15.7
Desktop
4 years ago
Test name Executions per second
MsgPack Strings Encode 138360.4 Ops/sec
JSON Strings Encode 410532.3 Ops/sec
MsgPack Numbers Encode 180907.0 Ops/sec
JSON Numbers Encode 352561.5 Ops/sec
MsgPack Numbers decode 497988.2 Ops/sec
Msgpack String decode 162483.2 Ops/sec
JSON parse numbers 368754.6 Ops/sec
JSON parse strings 391593.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • MsgPack Numbers decode

  • Msgpack String decode

  • JSON parse numbers

  • JSON parse strings


;