Message136853
| Author |
vstinner |
| Recipients |
pitrou, vstinner |
| Date |
2011年05月25日.15:05:54 |
| SpamBayes Score |
1.3496951e-05 |
| Marked as misclassified |
No |
| Message-id |
<1306335955.56.0.510297966067.issue12175@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Number of syscalls without the patch -> with the patch:
- read the README file, text mode: 17 -> 12 syscalls (-5)
- read the README file, binary mode: 15 -> 11 syscalls (-4)
- read a binary file of 10 MB: 17 -> 12 syscalls (-5)
Quick benchmark open('README').read(); open('README', 'rb').read() in a loop: 359.1 ms -> 335.4 ms (-7%). So it's not really faster. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年05月25日 15:05:55 | vstinner | set | recipients:
+ vstinner, pitrou |
| 2011年05月25日 15:05:55 | vstinner | set | messageid: <1306335955.56.0.510297966067.issue12175@psf.upfronthosting.co.za> |
| 2011年05月25日 15:05:55 | vstinner | link | issue12175 messages |
| 2011年05月25日 15:05:54 | vstinner | create |
|