From 8ca1a55668dc9a37e910da1a0132099275c1ee51 Mon Sep 17 00:00:00 2001 From: Neil Webber Date: Sat, 18 May 2024 18:23:36 -0500 Subject: [PATCH] clarify timing methodology --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fc0d76..a139fe6 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ The module `pdptests.py` can be used to run performance tests, like this: python3 pdptests.py -p -By default it measures 1 million MOV R1,R0 instructions. On a 2022 Macbook Air (M2) this takes about 25 seconds (speed dependent on python version). It will show something like: +By default it measures, using the timeit module, 1 million MOV R1,R0 instructions (repeated 50 times, reporting the best result). On a 2022 Macbook Air (M2) this takes about 25 seconds (speed dependent on python version). It will show something like: % python3 pdptests.py -p Instruction ['010100'] took 481.5 nsecs