Created
April 24, 2015 07:31
-
-
Save iworker/56336ae47e36c79102f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BSON: | |
Running benchmark for... | |
bson | |
100000 times | |
Test completed!! | |
Encoding time: 0.69315004348755 | |
Decoding time: 0.82649397850037 | |
Total time: 1.5196440219879 | |
Encoded size: 900 bytes | |
JSON: | |
Running benchmark for... | |
json | |
100000 times | |
Test completed!! | |
Encoding time: 1.7905299663544 | |
Decoding time: 3.170912027359 | |
Total time: 4.9614419937134 | |
Encoded size: 808 bytes | |
Serialize: | |
Running benchmark for... | |
native | |
100000 times | |
Test completed!! | |
Encoding time: 1.3737659454346 | |
Decoding time: 1.3643879890442 | |
Total time: 2.7381539344788 | |
Encoded size: 1122 bytes | |
igbinary: | |
Running benchmark for... | |
igbinary | |
100000 times | |
Test completed!! | |
Encoding time: 2.4562809467316 | |
Decoding time: 1.479875087738 | |
Total time: 3.9361560344696 | |
Encoded size: 517 bytes | |
msgpack: | |
Running benchmark for... | |
msgpack | |
100000 times | |
Test completed!! | |
Encoding time: 0.58707785606384 | |
Decoding time: 1.2358381748199 | |
Total time: 1.8229160308838 | |
Encoded size: 667 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment