PyBenchmark

Intro

Just to test the speed of execution for my Python Code I created this program which creates threads, executes them and gets the frequency of execution of the loops. I used the pass keyword as the nop code for testing.

Code

My code is also on GitHub, and this page gave rise to this article about HTML code formatting.

Note: The score the program return is guaranteed to be much less than the actual clock frequency. My laptop from 2013 gave me a rating of around 10MHz, it has an 4-Core Intel Core i3(2nd Gen Mobile) CPU running at 1.5GHz each and Py3.3 CPython Interpretor.

§