Created
November 13, 2012 22:01
-
-
Save mahmoud/4068717 to your computer and use it in GitHub Desktop.
CPython 2.7 vs. PyPy 1.9 serialization performance. 64-bit Ubuntu 12.
This file contains 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
Binary Deserialization: 0.336952924728 seconds | |
Binary Serialization: 0.227765083313 seconds | |
XML Deserialization: 0.4408659935 seconds | |
XML Serialization: 0.299523830414 seconds |
This file contains 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
1.24147391319 | |
0.753793954849 | |
0.652230978012 | |
0.547729969025 | |
0.530550003052 | |
0.423093080521 | |
0.413625001907 | |
0.409635066986 | |
0.385325908661 | |
0.494672060013 | |
0.345757961273 | |
0.333236932755 | |
0.313874959946 | |
0.342383861542 | |
0.323919057846 | |
0.557148933411 | |
0.302930116653 | |
0.299618005753 | |
0.274656057358 | |
0.273370027542 | |
0.351580858231 | |
0.281791210175 | |
0.29016494751 | |
0.282293081284 | |
0.296399116516 | |
0.273292064667 | |
0.279428958893 | |
0.268905162811 | |
0.275151014328 | |
0.323168039322 | |
0.335014104843 | |
0.299319982529 | |
0.302329063416 | |
0.300946950912 | |
0.274924039841 | |
0.27100110054 | |
0.251049041748 | |
0.242516040802 | |
0.256646871567 | |
0.251395940781 | |
0.27344083786 | |
0.264024972916 | |
0.432008981705 | |
0.261606216431 | |
0.270452976227 | |
0.235370874405 | |
0.245633125305 | |
0.251308917999 | |
0.249708175659 | |
0.232724189758 | |
0.236732959747 | |
0.441451072693 | |
0.241087198257 | |
0.246626138687 | |
0.241390943527 | |
0.234045028687 | |
0.247340917587 | |
0.250341892242 | |
0.247742176056 | |
0.230153083801 | |
0.238587141037 | |
0.256392002106 | |
0.230990886688 | |
0.246750116348 | |
0.237244129181 | |
0.222247838974 | |
0.226046085358 | |
0.240004777908 | |
0.230209112167 | |
0.243558883667 | |
0.221515893936 | |
0.224430084229 | |
0.229064941406 | |
0.451362848282 | |
0.277124881744 | |
0.222626209259 | |
0.231687068939 | |
0.219645023346 | |
0.23145198822 | |
0.216513156891 | |
0.233366012573 | |
0.217476844788 | |
0.222444057465 | |
0.227646112442 | |
0.230937004089 | |
0.233397006989 | |
0.221217155457 | |
0.222631931305 | |
0.212860822678 | |
0.215842008591 |
This file contains 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
#10: | |
{'desbin': 0.5543653249740601, | |
'desxml': 0.7303838729858398, | |
'serbin': 1.016824984550476, | |
'serxml': 1.2555864095687865} | |
#20: | |
{'desbin': 0.3368033170700073, | |
'desxml': 0.5368926048278808, | |
'serbin': 0.666283655166626, | |
'serxml': 0.7201875448226929} | |
#30: | |
{'desbin': 0.2973098039627075, | |
'desxml': 0.4955417633056641, | |
'serbin': 0.484639573097229, | |
'serxml': 0.5544298171997071} | |
#40: | |
{'desbin': 0.27975852489471437, | |
'desxml': 0.5008924007415771, | |
'serbin': 0.4102297067642212, | |
'serxml': 0.4874597072601318} | |
#50: | |
{'desbin': 0.2964390993118286, | |
'desxml': 0.48549938201904297, | |
'serbin': 0.359218430519104, | |
'serxml': 0.4303915023803711} | |
#60: | |
{'desbin': 0.27297990322113036, | |
'desxml': 0.507413673400879, | |
'serbin': 0.32778823375701904, | |
'serxml': 0.42708840370178225} | |
#70: | |
{'desbin': 0.2584134817123413, | |
'desxml': 0.5210484027862549, | |
'serbin': 0.3052032232284546, | |
'serxml': 0.3516526222229004} | |
#80: | |
{'desbin': 0.2470303773880005, | |
'desxml': 0.4637049913406372, | |
'serbin': 0.2838821649551392, | |
'serxml': 0.3456183910369873} | |
#90: | |
{'desbin': 0.23558037281036376, | |
'desxml': 0.47126748561859133, | |
'serbin': 0.2616516828536987, | |
'serxml': 0.3192026376724243} | |
#100: | |
{'desbin': 0.27671060562133787, | |
'desxml': 0.44227914810180663, | |
'serbin': 0.24842400550842286, | |
'serxml': 0.31692140102386473} | |
#110: | |
{'desbin': 0.2203094482421875, | |
'desxml': 0.43374364376068114, | |
'serbin': 0.2399275302886963, | |
'serxml': 0.3105191230773926} | |
#120: | |
{'desbin': 0.22397468090057374, | |
'desxml': 0.40001392364501953, | |
'serbin': 0.2853178739547729, | |
'serxml': 0.29365441799163816} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment