micropython/tests/bench
Paul Sokolovsky 69cbec4afb tests/bench: Add testcase for positional/kwargs to enumerate().
Inspired by discussion in #577. So, in this case of builtin function,
passing args by keyword has less than 1% overhead.
2014-05-07 22:34:06 +03:00
..
bench.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
func_args-1.1-pos_1.py tests/bench: Add tests for various ways to pass function args. 2014-05-07 22:34:04 +03:00
func_args-1.2-pos_3.py tests/bench: Add tests for various ways to pass function args. 2014-05-07 22:34:04 +03:00
func_args-2-pos_default_2_of_3.py tests/bench: Add tests for various ways to pass function args. 2014-05-07 22:34:04 +03:00
func_args-3.1-kw_1.py tests/bench: Add tests for various ways to pass function args. 2014-05-07 22:34:04 +03:00
func_args-3.2-kw_3.py tests/bench: Add tests for various ways to pass function args. 2014-05-07 22:34:04 +03:00
func_builtin-1-enum_pos.py tests/bench: Add testcase for positional/kwargs to enumerate(). 2014-05-07 22:34:06 +03:00
func_builtin-2-enum_kw.py tests/bench: Add testcase for positional/kwargs to enumerate(). 2014-05-07 22:34:06 +03:00
loop_count-1-range.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
loop_count-2-range_iter.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
loop_count-3-while_up.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
loop_count-4-while_down_gt.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
loop_count-5-while_down_ne.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
loop_count-5.1-while_down_ne_localvar.py tests/bench: Add variation on loop_count/while_down_ne test. 2014-05-07 22:34:04 +03:00
var-1-constant.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
var-2-global.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
var-3-local.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
var-4-arg.py tests: Add framework for comparative benchmarking. 2014-05-05 01:24:16 +03:00
var-5-class-attr.py tests/bench/var: Add tests for class/instance var access. 2014-05-05 02:17:13 +03:00
var-6-instance-attr.py tests/bench/var: Add tests for class/instance var access. 2014-05-05 02:17:13 +03:00
var-6.1-instance-attr-5.py tests/bench: Add testcases for lookup in 5-el instance and namedtuple. 2014-05-07 22:34:00 +03:00
var-7-instance-meth.py tests/bench/var: Add tests for class/instance var access. 2014-05-05 02:17:13 +03:00
var-8-namedtuple-1st.py tests/bench: Time namedtuple field access. 2014-05-07 22:33:37 +03:00
var-8.1-namedtuple-5th.py tests/bench: Add testcases for lookup in 5-el instance and namedtuple. 2014-05-07 22:34:00 +03:00