micropython/tests/internal_bench
Anson Mansfield 2707ae032f tests/internal_bench/var: Benchmark ordered map accesses.
This adds an internal_bench benchmark that benchmarks ordered map linear
scan cache performance.

Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
2025-09-15 22:10:13 +10:00
..
arrayop-1-list_inplace.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
arrayop-2-list_map.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
arrayop-3-bytearray_inplace.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
arrayop-4-bytearray_map.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
bench.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
bytealloc-1-bytes_n.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
bytealloc-2-repeat.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
bytebuf-1-inplace.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
bytebuf-2-join_map_bytes.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
bytebuf-3-bytarray_map.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
class_create-0-empty.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-1-slots.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-1.1-slots5.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-2-classattr.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-2.1-classattr5.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-2.3-classattr5objs.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-3-instancemethod.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-4-classmethod.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-4.1-classmethod_implicit.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-5-staticmethod.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-6-getattribute.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-6.1-getattr.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-6.2-property.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-6.3-descriptor.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-7-inherit.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-7.1-inherit_initsubclass.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-8-metaclass_setname.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_create-8.1-metaclass_setname5.py tests/internal_bench/class_create: Benchmark class creation. 2025-07-29 10:08:53 +10:00
class_instance-0-object.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-0.1-object-gc.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-1-empty.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-1.1-classattr.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-1.2-func.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-1.3-empty-gc.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-2-init.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-2.1-init_super.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-2.2-new.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-3-del.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-3.1-del-gc.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-4-slots.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
class_instance-4.1-slots5.py tests/internal_bench/class_instance: Benchmark instantiation. 2025-09-15 16:09:55 +10:00
from_iter-1-list_bound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
from_iter-2-list_unbound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
from_iter-3-tuple_bound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
from_iter-4-tuple_unbound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
from_iter-5-bytes_bound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
from_iter-6-bytes_unbound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
from_iter-7-bytearray_bound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
from_iter-8-bytearray_unbound.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
func_args-1.1-pos_1.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
func_args-1.2-pos_3.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
func_args-2-pos_default_2_of_3.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
func_args-3.1-kw_1.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
func_args-3.2-kw_3.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
func_builtin-1-enum_pos.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
func_builtin-2-enum_kw.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
funcall-1-inline.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
funcall-2-funcall.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
funcall-3-funcall-local.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
loop_count-1-range.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
loop_count-2-range_iter.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
loop_count-3-while_up.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
loop_count-4-while_down_gt.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
loop_count-5-while_down_ne.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
loop_count-5.1-while_down_ne_localvar.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-1-constant.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-2-global.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-3-local.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-4-arg.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-5-class-attr.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-6-instance-attr.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-6.1-instance-attr-5.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-6.2-instance-speciallookup.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00
var-6.3-instance-property.py tests/internal_bench/var: Benchmark descriptor access. 2025-07-29 10:08:53 +10:00
var-6.4-instance-descriptor.py tests/internal_bench/var: Benchmark descriptor access. 2025-07-29 10:08:53 +10:00
var-6.5-instance-getattr.py tests/internal_bench/var: Benchmark descriptor access. 2025-07-29 10:08:53 +10:00
var-6.6-instance-builtin_ordered.py tests/internal_bench/var: Benchmark ordered map accesses. 2025-09-15 22:10:13 +10:00
var-7-instance-meth.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
var-8-namedtuple-1st.py tests: Replace umodule with module everywhere. 2023-06-08 17:54:24 +10:00
var-8.1-namedtuple-5th.py tests: Replace umodule with module everywhere. 2023-06-08 17:54:24 +10:00
var-9-getattr.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00
var-9.1-getattr_default.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00
var-9.2-getattr_default_special.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00
var-9.3-except_ok.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00
var-9.4-except_selfinduced.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00
var-9.5-except_error.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00
var-9.6-except_error_special.py tests/internal_bench/var: Benchmark checked attribute access. 2025-09-15 16:10:26 +10:00