Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.2.1
Mobile
9 months ago
Test name Executions per second
MsgPack Strings Encode 1129404.8 Ops/sec
JSON Strings Encode 2536898.0 Ops/sec
MsgPack Numbers Encode 538444.0 Ops/sec
JSON Numbers Encode 787706.5 Ops/sec
MsgPack Numbers Decode 771942.4 Ops/sec
JSON Numbers Decode 620940.8 Ops/sec
JSON String Decode 901743.8 Ops/sec
MsgPack String Decode 474698.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode

  • MsgPack Numbers Decode

  • JSON Numbers Decode

  • JSON String Decode

  • MsgPack String Decode


;