Message156956
| Author | serhiy.storchaka |
|---|---|
| Recipients | pitrou, serhiy.storchaka, vstinner |
| Date | 2012-03-27.21:17:40 |
| SpamBayes Score | 2.4857109e-06 |
| Marked as misclassified | No |
| Message-id | <1332883062.66.0.645007154191.issue14419@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Python script too rough tool to measure decoding performance on short strings. To do this I used C. The benchmark scheme is as follows. Taken a big enough chunk of memory to reduce effect of processor cache. This area is splitted into many pieces with the same offset over long aligned block. Then measured a time of decoding all pieces of a certain size with a certain offset. Calculated an average time (ms) and decoding speed (MB/s). Run benchmark: gcc -Wall -O3 -I Include/ -I . -Xlinker -export-dynamic decode_ascii_bench.c libpython3.3m.a -lpthread -ldl -lutil -lm -lrt -o decode_ascii_bench && ./decode_ascii_bench |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-03-27 21:17:42 | serhiy.storchaka | set | recipients: + serhiy.storchaka, pitrou, vstinner |
| 2012-03-27 21:17:42 | serhiy.storchaka | set | messageid: <1332883062.66.0.645007154191.issue14419@psf.upfronthosting.co.za> |
| 2012-03-27 21:17:42 | serhiy.storchaka | link | issue14419 messages |
| 2012-03-27 21:17:41 | serhiy.storchaka | create | |