Message116763
| Author | pitrou |
|---|---|
| Recipients | BreamoreBoy, florianfesti, georg.brandl, karld, lucas_malor, nils, pitrou, rharris |
| Date | 2010-09-18.11:35:23 |
| SpamBayes Score | 1.0566159e-11 |
| Marked as misclassified | No |
| Message-id | <1284809720.3220.5.camel@localhost.localdomain> |
| In-reply-to | <1284805208.59.0.0966073810805.issue1675951@psf.upfronthosting.co.za> |
| Content | |
|---|---|
> Attached result of a run with stdlib gzip module only. Results > indicate that performance still is as bad as on Python 2. The Python 3 > gzip module also still makes use of tell() ans seek(). So both > argument for including this patch are still valid. Performance is easily improved by wrapping the file object in a io.BufferedReader or io.BufferedWriter: Text 1 byte block test Original gzip Write: 2.125 s Read: 0.683 s New gzip Write: 0.390 s Read: 0.240 s Text 4 byte block test Original gzip Write: 1.077 s Read: 0.351 s New gzip Write: 0.204 s Read: 0.132 s Text 16 byte block test Original gzip Write: 1.119 s Read: 0.353 s New gzip Write: 0.264 s Read: 0.137 s Still, fixing the seek()/tell() issue would be nice. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-09-18 11:35:26 | pitrou | set | recipients: + pitrou, georg.brandl, lucas_malor, florianfesti, rharris, karld, nils, BreamoreBoy |
| 2010-09-18 11:35:23 | pitrou | link | issue1675951 messages |
| 2010-09-18 11:35:23 | pitrou | create | |