├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── microbenchmarks ├── .gitignore ├── contains.py ├── context.py ├── counting.py ├── dict_lru.py ├── faces_to_edges.py ├── frozenset_constructor.py ├── hasattr_array_interface.py ├── hasattr_dtype_numpy.py ├── hasattr_dtype_pandas.py ├── hasattr_protocol.py ├── import_attribute_access.py ├── isinstance_multiple.py ├── lbyl_eafp.py ├── list_unpack.py ├── locking.py ├── locking2.py ├── map_yield.py ├── md5.py ├── nested_access.py ├── next_iter.py ├── numpy_floating.py ├── numpy_sum.py ├── os_path_dirname.py ├── os_path_isdir.py ├── overwrite_replace.py ├── path_joins.py ├── path_joins_expanduser.py ├── regex_startswith.py └── str_startswith_index.py └── pyproject.toml /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/README.md -------------------------------------------------------------------------------- /microbenchmarks/.gitignore: -------------------------------------------------------------------------------- 1 | tmpfile 2 | -------------------------------------------------------------------------------- /microbenchmarks/contains.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/contains.py -------------------------------------------------------------------------------- /microbenchmarks/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/context.py -------------------------------------------------------------------------------- /microbenchmarks/counting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/counting.py -------------------------------------------------------------------------------- /microbenchmarks/dict_lru.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/dict_lru.py -------------------------------------------------------------------------------- /microbenchmarks/faces_to_edges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/faces_to_edges.py -------------------------------------------------------------------------------- /microbenchmarks/frozenset_constructor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/frozenset_constructor.py -------------------------------------------------------------------------------- /microbenchmarks/hasattr_array_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/hasattr_array_interface.py -------------------------------------------------------------------------------- /microbenchmarks/hasattr_dtype_numpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/hasattr_dtype_numpy.py -------------------------------------------------------------------------------- /microbenchmarks/hasattr_dtype_pandas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/hasattr_dtype_pandas.py -------------------------------------------------------------------------------- /microbenchmarks/hasattr_protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/hasattr_protocol.py -------------------------------------------------------------------------------- /microbenchmarks/import_attribute_access.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/import_attribute_access.py -------------------------------------------------------------------------------- /microbenchmarks/isinstance_multiple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/isinstance_multiple.py -------------------------------------------------------------------------------- /microbenchmarks/lbyl_eafp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/lbyl_eafp.py -------------------------------------------------------------------------------- /microbenchmarks/list_unpack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/list_unpack.py -------------------------------------------------------------------------------- /microbenchmarks/locking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/locking.py -------------------------------------------------------------------------------- /microbenchmarks/locking2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/locking2.py -------------------------------------------------------------------------------- /microbenchmarks/map_yield.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/map_yield.py -------------------------------------------------------------------------------- /microbenchmarks/md5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/md5.py -------------------------------------------------------------------------------- /microbenchmarks/nested_access.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/nested_access.py -------------------------------------------------------------------------------- /microbenchmarks/next_iter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/next_iter.py -------------------------------------------------------------------------------- /microbenchmarks/numpy_floating.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/numpy_floating.py -------------------------------------------------------------------------------- /microbenchmarks/numpy_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/numpy_sum.py -------------------------------------------------------------------------------- /microbenchmarks/os_path_dirname.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/os_path_dirname.py -------------------------------------------------------------------------------- /microbenchmarks/os_path_isdir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/os_path_isdir.py -------------------------------------------------------------------------------- /microbenchmarks/overwrite_replace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/overwrite_replace.py -------------------------------------------------------------------------------- /microbenchmarks/path_joins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/path_joins.py -------------------------------------------------------------------------------- /microbenchmarks/path_joins_expanduser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/path_joins_expanduser.py -------------------------------------------------------------------------------- /microbenchmarks/regex_startswith.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/regex_startswith.py -------------------------------------------------------------------------------- /microbenchmarks/str_startswith_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/microbenchmarks/str_startswith_index.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdice/python_microbenchmarks/HEAD/pyproject.toml --------------------------------------------------------------------------------