ev3dev / ev3dev-lang-python

Pure python bindings for ev3dev
MIT License
425 stars 144 forks source link

Property access benchmarking: timeit-based shell script #732

Open WasabiFan opened 4 years ago

WasabiFan commented 4 years ago

Here's my take on a reproducible benchmark for property accesses. What do others think about this? I picked a few representative properties (mostly arbitrarily).

My hope is that we can then implement changes to the property access code and make reasonable decisions regarding perf regressions.