1"""The public API of this library is defined or imported here.""" 2import dataclasses 3import typing 4 5 6@dataclasses.dataclass 7class BenchmarkRunConfig: 8 """Any benchmark runnable by this library must return an instance of this 9 class. The `compiler` attribute is optional, for example for python 10 benchmarks. 11 """ 12 13 runner: typing.Callable 14 compiler: typing.Optional[typing.Callable] = None 15