Separate out a function pystones(loops=LOOPS) which runs the benchmark
and returns a (benchtime, stones) tuple. The main() function now calls this and prints the report. Fred Drake's code.
Showing
Please
register
or
sign in
to comment
and returns a (benchtime, stones) tuple. The main() function now calls this and prints the report. Fred Drake's code.