MCPcopy Create free account
hub / github.com/apache/fory / create_benchmark_data

Function create_benchmark_data

benchmarks/python/benchmark.py:389–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

387
388
389def create_benchmark_data() -> Dict[str, Any]:
390 return {
391 "struct": create_numeric_struct(),
392 "sample": create_sample(),
393 "mediacontent": create_media_content(),
394 "structlist": create_numeric_struct_list(),
395 "samplelist": create_sample_list(),
396 "mediacontentlist": create_media_content_list(),
397 }
398
399
400def load_bench_pb2(proto_dir: Path):

Callers 1

mainFunction · 0.85

Calls 6

create_numeric_structFunction · 0.70
create_sampleFunction · 0.70
create_media_contentFunction · 0.70
create_sample_listFunction · 0.70

Tested by

no test coverage detected