diff --git a/debian-cpu-benchmark/bench.py b/debian-cpu-benchmark/bench.py index a89e3c0..6a56d4e 100755 --- a/debian-cpu-benchmark/bench.py +++ b/debian-cpu-benchmark/bench.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import subprocess, multiprocessing as mp, pandas as pd def speed(core): @@ -21,3 +23,4 @@ for core in range(1, mp.cpu_count()+1): df.append((core, s, s/core)) df = pd.DataFrame(df) df.to_csv('bench.csv', index=False) +