summaryrefslogtreecommitdiff
path: root/speed.sh
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for EOL Python 3.3Hugo2017-11-291-1/+0
|
* Remove bit_size test comparison from speed script (#67)Michael Manganiello2016-04-231-9/+0
|
* Dropped support for Python 2.6, its life ended in 2013.Sybren A. Stüvel2016-03-171-1/+0
|
* Remove unsupported Python versions from speed.shadamantike2016-03-171-2/+0
|
* Updated documentation, mostly http -> https changesSybren A. Stüvel2016-02-051-1/+1
| | | | | | Also: - changed http to https in the code - changed header underlines in the documentation to match the header length
* Allow stopping speed.sh with ctrl+cSybren A. Stüvel2016-01-251-1/+1
|
* Command availability check on 'speed' scriptadamantike2016-01-241-32/+38
|
* Added per-file licensesRoy Kokkelkoren2015-10-251-0/+14
|
* Parellelized testing. Caught a lot of bugs.Yesudeep Mangalapilly2011-08-161-3/+3
|
* Adds speed tests for bit_size.Yesudeep Mangalapilly2011-08-121-0/+17
| | | | | | * bit_size is at least 28x faster than the original implementation and generally fares in and around 10 microseconds where as the older one does around 1.8 milliseconds.
* Completes machine-aligned int2bytes implementation.Yesudeep Mangalapilly2011-08-121-0/+3
| | | | | | | | | * This implementation is generally in microseconds instead of milliseconds, which makes it 20x-40x faster than the older implementation. Tests for all of the behavior of the function have been added to tests/test_transform.py. Hope this helps make python-rsa even better. =)
* Adds verification tests for int2bytes and bytes2intYesudeep Mangalapilly2011-08-121-5/+6
| | | | | | | | | * There is a bug in the older int2bytes implementation. I've raised an issue on bitbucket for that already. #11 The pkcs1 file verification test fails if the behavior for int2bytes is corrected.
* Adds speed tests for int2bytes and old_int2bytes.Yesudeep Mangalapilly2011-08-111-0/+15
* In the following tests, the first speed test for each version of Python checked is the new implementation and the second is the old implementation. $ ./speed.sh int2bytes speed test python2.5 1000 loops, best of 3: 315 usec per loop 100 loops, best of 3: 4.87 msec per loop python2.6 10000 loops, best of 3: 170 usec per loop 100 loops, best of 3: 3.34 msec per loop python2.7 10000 loops, best of 3: 169 usec per loop 100 loops, best of 3: 2.8 msec per loop python3.2 10000 loops, best of 3: 169 usec per loop 100 loops, best of 3: 3.16 msec per loop