Run details:
Mozilla/5.0 (Linux; U; Android 11; es-us; Redmi Note 8 Pro Build/RP1A.200720.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.15.2-gn
Chrome Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
MsgPack Strings Encode 54751.5 Ops/sec
JSON Strings Encode 204238.6 Ops/sec
MsgPack Numbers Encode 75287.9 Ops/sec
JSON Numbers Encode 180222.1 Ops/sec
JSON string decode 168276.9 Ops/sec
msgpack string decode 89604.0 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


;