Message163406
64-bit Linux:
./python -m timeit -s "from _thread import allocate_lock" "allocate_lock()"
-> before: 0.0712 usec per loop
-> after: 0.0556 usec per loop
./python -m timeit -s "from _thread import allocate_lock;l=allocate_lock()" "l.acquire();l.release()"
-> before: 0.177 usec per loop
-> after: 0.168 usec per loop
So there's a small improvement on artificial benchmarks. |
|
Date |
User |
Action |
Args |
2012-06-22 13:35:41 | pitrou | set | recipients:
+ pitrou, kristjan.jonsson, sbt |
2012-06-22 13:35:41 | pitrou | set | messageid: <1340372141.68.0.0122402655159.issue15124@psf.upfronthosting.co.za> |
2012-06-22 13:35:41 | pitrou | link | issue15124 messages |
2012-06-22 13:35:40 | pitrou | create | |
|