Skip to content

Instantly share code, notes, and snippets.

@Kami Kami/gist:818386

Created Feb 9, 2011
Embed
What would you like to do?
Benchmark results
Intel Core 2 Quad E6700 @ 3.00
8 GB ram
Ubuntu 10.10
100 iterations:
PyPy 1.4.1 x64:
1.76677894592
1.83928704262
1.69020795822
1.69653320312
1.70416998863
1.70253300667
1.70271015167
1.70908379555
1.68529701233
1.69546198845
Avg: 1.719206309318
PyPy 1.5.0-alpha0
1.84609699249
1.81602787971
1.8337059021
1.80067300797
1.74131417274
1.74794793129
1.96100187302
1.88510012627
1.75174307823
1.75047492981
Avg: 1.813408589363
PyPy 1.5.0-alpha0 (new style classes):
1.73423314095
1.58388614655
1.57589912415
1.66868591309
1.60627698898
1.54773211479
1.57361507416
1.60230088234
1.58182621002
1.53846406937
Avg: 1.60129196644
cPython 2.6.6
0.609403133392
0.608678102493
0.597986936569
0.604694843292
0.588876962662
0.598678827286
0.649441003799
0.620880126953
0.6010389328
0.617188930511
Avg: 0.6096867799757
cPython 2.6.6 (new style classes):
0.555552959442
0.546909093857
0.551245212555
0.55815577507
0.549233913422
0.574290037155
0.566174983978
0.555570840836
0.57391500473
0.548113822937
Avg: 0.5579161643982
1000 iterations:
PyPy 1.4.1 x64:
6.1126871109
6.35720610619
5.87477898598
5.73108482361
5.64773321152
5.94087290764
5.93536114693
6.06317591667
5.81897091866
5.8181078434
Avg: 5.8181078434
PyPy 1.5.0-alpha0 (new style classes):
5.09664988518
5.00633192062
5.04399204254
4.96298408508
4.99927592278
4.99825000763
4.99479913712
4.96535110474
5.06796693802
4.99922204018
Avg: 5.013482308389
cPython 2.6.6
5.93339395523
5.9800658226
5.93068909645
5.97064590454
5.90321516991
6.06458210945
6.01826882362
6.01180195808
6.07360887527
5.97355103493
Avg: 5.97355103493
cPython 2.6.6 (new style classes)
5.52166008949
5.47237992287
5.47448205948
5.462266922
5.47418022156
5.46732997894
5.46539902687
5.48532009125
5.47975587845
5.46451497078
Avg: 5.476728916169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.