Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Chrome 73
Windows
Desktop
5 years ago
Test name Executions per second
MsgPack Strings Encode 94206.4 Ops/sec
JSON Strings Encode 307052.4 Ops/sec
MsgPack Numbers Encode 95774.4 Ops/sec
JSON Numbers Encode 276580.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • MsgPack Strings Encode

  • JSON Strings Encode

  • MsgPack Numbers Encode

  • JSON Numbers Encode


;