From 0ee88e4018d4c436ffedb1a00136088606ba3977 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 9 Oct 2022 10:41:33 -1000 Subject: [PATCH] chore: adjust unmarshall benchmarks since they are now fast enough to hit the margin of error (#97) --- bench/unmarshall.py | 2 +- bench/unmarshall_2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/unmarshall.py b/bench/unmarshall.py index 6c4fb26..f971683 100644 --- a/bench/unmarshall.py +++ b/bench/unmarshall.py @@ -27,6 +27,6 @@ def unmarhsall_bluez_rssi_message(): unmarshaller.unmarshall() -count = 1000000 +count = 3000000 time = timeit.Timer(unmarhsall_bluez_rssi_message).timeit(count) print(f"Unmarshalling {count} bluetooth rssi messages took {time} seconds") diff --git a/bench/unmarshall_2.py b/bench/unmarshall_2.py index 0df9a56..e0c8191 100644 --- a/bench/unmarshall_2.py +++ b/bench/unmarshall_2.py @@ -46,7 +46,7 @@ def unmarhsall_bluez_rssi_message(): unmarshaller.unmarshall() -count = 1000000 +count = 3000000 time = timeit.Timer(unmarhsall_bluez_rssi_message).timeit(count) print( f"Unmarshalling {count} bluetooth properties changed messages took {time} seconds"