MCPcopy Create free account
hub / github.com/FastLED/FastLED / print_usage

Function print_usage

tests/profile/json_performance.cpp:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void print_usage() {
218 printf("JSON Performance Profiler\n");
219 printf("Compares parse() (Legacy) vs parse2() (custom parser)\n\n");
220 printf("Usage:\n");
221 printf(" json_performance # Run small JSON benchmark (default)\n");
222 printf(" json_performance small # Run small JSON benchmark\n");
223 printf(" json_performance large # Run large JSON benchmark\n");
224 printf(" json_performance all # Run all benchmarks\n");
225}
226
227int main(int argc, char* argv[]) {
228 const char* mode = "small"; // Default mode

Callers 1

mainFunction · 0.70

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected