A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-March/034014.html below:

[Python-Dev] are NULL checks in Objects/abstract.c really needed?

[Python-Dev] are NULL checks in Objects/abstract.c really needed?Michal Vitecek fuf@mageo.cz
Thu, 13 Mar 2003 15:18:58 +0100
Michael Hudson wrote:
>Wow!  Can we persuade you to try CVS HEAD?

 okay - i did as you said and the speed-up is only 2.1% so it's not
 probably worth it. here come the numbers:

 BEFORE:

$ for (( i = 0; i <= 5; i++ )); do ./python Lib/test/pystone.py; done
Pystone(1.1) time for 50000 passes = 1.97
This machine benchmarks at 25380.7 pystones/second
Pystone(1.1) time for 50000 passes = 1.92
This machine benchmarks at 26041.7 pystones/second
Pystone(1.1) time for 50000 passes = 1.96
This machine benchmarks at 25510.2 pystones/second
Pystone(1.1) time for 50000 passes = 1.97
This machine benchmarks at 25380.7 pystones/second
Pystone(1.1) time for 50000 passes = 1.96
This machine benchmarks at 25510.2 pystones/second
Pystone(1.1) time for 50000 passes = 1.96
This machine benchmarks at 25510.2 pystones/second

 AFTER:

$ for (( i = 0; i <= 5; i++ )); do ./python Lib/test/pystone.py; done
Pystone(1.1) time for 50000 passes = 1.95
This machine benchmarks at 25641 pystones/second
Pystone(1.1) time for 50000 passes = 1.93
This machine benchmarks at 25906.7 pystones/second
Pystone(1.1) time for 50000 passes = 1.91
This machine benchmarks at 26178 pystones/second
Pystone(1.1) time for 50000 passes = 1.92
This machine benchmarks at 26041.7 pystones/second
Pystone(1.1) time for 50000 passes = 1.89
This machine benchmarks at 26455 pystones/second
Pystone(1.1) time for 50000 passes = 1.89
This machine benchmarks at 26455 pystones/second

-- 
		fuf		(fuf@mageo.cz)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4