Pydantic benchmark
This commit is contained in:
8
benchmark/pydantic_benchmark/benchmark.py
Normal file
8
benchmark/pydantic_benchmark/benchmark.py
Normal file
@ -0,0 +1,8 @@
|
||||
from benchmark.base import BenchmarkBase
|
||||
from benchmark.pydantic_benchmark.models import PlanogramsBulkInputPayload
|
||||
|
||||
|
||||
class PydanticBenchmark(BenchmarkBase):
|
||||
def _benchmark(self) -> None:
|
||||
test_data = self._read_test_file()
|
||||
PlanogramsBulkInputPayload.parse_raw(test_data)
|
||||
Reference in New Issue
Block a user