This commit is contained in:
Eden Kirin
2023-10-11 21:29:27 +02:00
parent b4cff50e8e
commit 3b89f3a2d3
2 changed files with 9 additions and 4 deletions

View File

@ -6,8 +6,4 @@ from benchmark.msgspec_benchmark.models import PlanogramsBulkInputPayload
class MsgSpecBenchmark(BenchmarkBase):
def _benchmark(self) -> None:
test_data = self._read_test_file()
# decoder = msgspec.json.Decoder(PlanogramsBulkInputPayload).decode
# decoder.loads(test_data)
data = msgspec.json.decode(test_data, type=PlanogramsBulkInputPayload)