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

Function printUsage

benchmarks/javascript/benchmark.js:97–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97function printUsage() {
98 console.log(`Usage: node benchmark.js [OPTIONS]
99
100Options:
101 --data <struct|sample|mediacontent|structlist|samplelist|mediacontentlist>
102 Filter benchmark by data type
103 --serializer <fory|protobuf|json>
104 Filter benchmark by serializer
105 --duration <seconds> Minimum time to run each benchmark
106 --output <file> Output JSON file
107`);
108}
109
110function int32Field(id) {
111 return Type.int32().setId(id);

Callers 1

parseArgsFunction · 0.85

Calls 1

logMethod · 0.80

Tested by

no test coverage detected