mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Remove test for timing (already not built since commented out in setup.py).
Add note to NEWS.
This commit is contained in:
parent
4b96c1384e
commit
b62c433d71
2 changed files with 3 additions and 21 deletions
|
@ -1,21 +0,0 @@
|
||||||
from test.test_support import verbose
|
|
||||||
import timing
|
|
||||||
|
|
||||||
r = range(100000)
|
|
||||||
if verbose:
|
|
||||||
print 'starting...'
|
|
||||||
timing.start()
|
|
||||||
for i in r:
|
|
||||||
pass
|
|
||||||
timing.finish()
|
|
||||||
if verbose:
|
|
||||||
print 'finished'
|
|
||||||
|
|
||||||
secs = timing.seconds()
|
|
||||||
milli = timing.milli()
|
|
||||||
micro = timing.micro()
|
|
||||||
|
|
||||||
if verbose:
|
|
||||||
print 'seconds:', secs
|
|
||||||
print 'milli :', milli
|
|
||||||
print 'micro :', micro
|
|
|
@ -268,6 +268,9 @@ Core and builtins
|
||||||
Extension Modules
|
Extension Modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
- The timing module is no longer built by default. It was deprecated
|
||||||
|
in PEP 4 in Python 2.0 or earlier.
|
||||||
|
|
||||||
- Patch 1433928: Added a new type, defaultdict, to the collections module.
|
- Patch 1433928: Added a new type, defaultdict, to the collections module.
|
||||||
This uses the new __missing__ hook behavior added to dict (see above).
|
This uses the new __missing__ hook behavior added to dict (see above).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue