MCPcopy Index your code
hub / github.com/git/git / trace_command_performance

Function trace_command_performance

trace.c:419–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419void trace_command_performance(const char **argv)
420{
421 if (!trace_want(&trace_perf_key))
422 return;
423
424 if (!command_line.len)
425 atexit(print_command_performance_atexit);
426
427 strbuf_reset(&command_line);
428 sq_quote_argv_pretty(&command_line, argv);
429 trace_performance_enter();
430}

Callers 1

cmd_mainFunction · 0.85

Calls 3

trace_wantFunction · 0.85
sq_quote_argv_prettyFunction · 0.85
trace_performance_enterFunction · 0.85

Tested by

no test coverage detected