Attrs benchmark

This commit is contained in:
Eden Kirin
2023-10-19 22:04:13 +02:00
parent b4b0a7f72d
commit 4b838383ed
11 changed files with 105 additions and 22 deletions

View File

@ -0,0 +1,10 @@
import json
from benchmark.base import BenchmarkBase
from benchmark.attrs_benchmark.models import PlanogramsBulkInputPayload
class AttrsBenchmark(BenchmarkBase):
def _benchmark(self) -> None:
test_data = self._read_test_file()
json_data = json.loads(test_data)
data = PlanogramsBulkInputPayload(**json_data)