めも
Thinkpad X200sでshibazukeのベンチマーク

c:\src\shibazuke>python bench.py
== Integer ==
= Size =
pickle: 6203398 [bytes]
json:   5154816 [bytes]
shibazuke:  3001354 [bytes]
pickle_dump   360.253[ms]
pickle_load   660.500[ms]
json_dump     261.485[ms]
json_load     197.225[ms]
shibazuke_pack  161.397[ms]
shibazuke_unpack  14.861[ms]
== String ==
= Size =
pickle: 33731696 [bytes]
json:   33611776 [bytes]
shibazuke:  8447285 [bytes]
pickle_dump   358.190[ms]
pickle_load   169.823[ms]
json_dump     147.105[ms]
json_load     229.954[ms]
shibazuke_pack  54.742[ms]
shibazuke_unpack  43.203[ms]