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

Function benchmark_name

benchmarks/python/benchmark.py:811–812  ·  view source on GitHub ↗
(serializer: str, datatype: str, operation: str)

Source from the content-addressed store, hash-verified

809
810
811def benchmark_name(serializer: str, datatype: str, operation: str) -> str:
812 return f"BM_{SERIALIZER_LABELS[serializer]}_{DATA_LABELS[datatype]}_{operation.capitalize()}"
813
814
815def build_case(

Callers 1

mainFunction · 0.85

Calls 1

capitalizeMethod · 0.45

Tested by

no test coverage detected