homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pitrou, vstinner
Date 2014年05月02日.20:53:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399064033.08.0.507927065359.issue21419@psf.upfronthosting.co.za>
In-reply-to
Content
bench_long_rshift.py: Microbenchmark for int << int (lshift) operation. Results on Linux:
Common platform:
Bits: int=32, long=64, long long=64, size_t=64, void*=64
Timer info: namespace(adjustable=False, implementation='clock_gettime(CLOCK_MONOTONIC)', monotonic=True, resolution=1e-09)
Python unicode implementation: PEP 393
Timer: time.perf_counter
CPU model: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
Platform: Linux-3.13.9-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
CFLAGS: -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
Platform of campaign orig:
SCM: hg revision=5b0fda8f5718 tag=tip branch=default date="2014-05-02 22:31 +0200"
Python version: 3.5.0a0 (default:5b0fda8f5718, May 2 2014, 22:47:06) [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)]
Date: 2014年05月02日 22:47:12
Timer precision: 46 ns
Platform of campaign calloc:
Timer precision: 49 ns
Python version: 3.5.0a0 (default:5b0fda8f5718+, May 2 2014, 22:45:58) [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)]
Date: 2014年05月02日 22:46:42
SCM: hg revision=5b0fda8f5718+ tag=tip branch=default date="2014-05-02 22:31 +0200"
----------------+-------------+----------------
Tests      |    orig |     calloc
----------------+-------------+----------------
1 << (2 ** 0)  |  39 ns (*) |      38 ns
1 << (2 ** 1)  |  38 ns (*) |      37 ns
1 << (2 ** 3)  |  38 ns (*) |      37 ns
1 << (2 ** 5)  |  42 ns (*) |   39 ns (-8%)
1 << (2 ** 10) |  43 ns (*) |  37 ns (-14%)
1 << (2 ** 15) | 157 ns (*) |  90 ns (-43%)
1 << (2 ** 20) | 3.91 us (*) |  74 ns (-98%)
1 << (2 ** 25) | 206 us (*) |  86 ns (-100%)
1 << (2 ** 28) | 4.06 ms (*) | 4.1 us (-100%)
123 << 1    |  11 ns (*) |      12 ns
12345678 << 1  |  11 ns (*) |      12 ns
12345678 << 100 |  11 ns (*) |      11 ns
----------------+-------------+----------------
Total      | 4.27 ms (*) | 4.57 us (-100%)
----------------+-------------+----------------
History
Date User Action Args
2014年05月02日 20:53:53vstinnersetrecipients: + vstinner, pitrou
2014年05月02日 20:53:53vstinnersetmessageid: <1399064033.08.0.507927065359.issue21419@psf.upfronthosting.co.za>
2014年05月02日 20:53:53vstinnerlinkissue21419 messages
2014年05月02日 20:53:51vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /