When the benchmark results doesn't make sense it would be a great help
if benchmark.py had a switch for turning on profiling.
There is a profiler in the Python standard library:
http://docs.python.org/lib/module-profile.html
so it is just a matter of starting it before the benchmarks starts and
printing out some profile information when it ends.
|