summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bench/loop_count-1-range.py
Commit message (Collapse)AuthorAge
* tests: Rename "bench" tests to "internal_bench" and run-internalbench.pyDamien George2019-06-28
| | | | | To emphasise these benchmark tests compare the internal performance of features amongst themselves, rather than absolute performance testing.
* tests: Add framework for comparative benchmarking.Paul Sokolovsky2014-05-05
Motivation is optimizing handling of various constructs as well as understanding which constructs are more efficient in MicroPython. More info: http://forum.micropython.org/viewtopic.php?f=3&t=77 Results are wildly unexpected. For example, "optimization" of range iteration into while loop makes it twice as slow. Generally, the more bytecodes, the slower the code.