Debian Codegraph @

bench/test_mac_to_int.py

raw symbols SCIP
1 from bluetooth_data_tools.utils import _mac_to_int, mac_to_int
2
3
4 def test_mac_to_int_uncached(benchmark):
5 benchmark(lambda: _mac_to_int("AA:BB:CC:DD:EE:FF"))
6
7
8 def test_mac_to_int_cached(benchmark):
9 benchmark(lambda: mac_to_int("AA:BB:CC:DD:EE:FF"))