[issue26436] Add the regex-dna benchmark
Serhiy Storchaka
report at bugs.python.org
Sat Feb 27 03:40:27 EST 2016
Serhiy Storchaka added the comment:
> I assume the code looks idiomatic to you?
Sorry, I have not understood your question. Could you please reformulate?
The performance of all Python versions is rough the same. 2.7 is about 8% slower than 3.2 and 3.3, 3.4-default are about 3-4% slower than 3.2 and 3.3.
I have taken input data size such that the regex-dna benchmark runs rough the same time as the slowest regex benchmark regex-compile (0.7 sec per iteration on my computer, about a minute with default options). This is 1/50 of the size used in The Computer Language Benchmarks Game.
Since the benchmark generates input data, its size can easily be changed. Needed only update control sums.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26436>
_______________________________________
More information about the Python-bugs-list
mailing list