Mais conteúdo relacionado
Semelhante a Benchmarker - A Good Friend for Performance (20)
Benchmarker - A Good Friend for Performance
- 1. PyCon mini JP 2011 Lightning Talk
Benchmarker
a good friend for performance
makoto kuwata
http://www.kuwata-lab.com/
- 5. Benchmark
'+' op is the fastest
for short strings
plus op 0.624sec
format 0.887sec
join 0.709sec
0 0.2 0.4 0.6 0.8 1
second per million
- 7. Benchmark
Not Same!
'+=' op 0.431sec
'=' & '+' 0.439sec
0 0.1 0.2 0.3 0.4 0.5
second per million
- 9. Benchmark
'+=' op 0.545sec
'=' and '+' Too Slow! Unmeasurable!
0 0.4 0.8 1.2 1.6 2
second per million