Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 393 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 393 Bytes

Tiny Python CPU benchmark / prime cruncher

A tiny Python prime number cruncher / CPU bench
— A fun little exercise

How to use:

python3 cpu.py

Optional argument -n (number to crunch)

python3 cpu.py -n 100000000

(using pypy3 seems to be about 10x faster)

Some thoughts