Message163406
| Author |
pitrou |
| Recipients |
kristjan.jonsson, pitrou, sbt |
| Date |
2012年06月22日.13:35:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340372141.68.0.0122402655159.issue15124@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|