MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / recordCommandTiming

Function recordCommandTiming

scripts/integration/cli.mjs:1830–1838  ·  view source on GitHub ↗
(command, args, elapsedMs)

Source from the content-addressed store, hash-verified

1828}
1829
1830function recordCommandTiming(command, args, elapsedMs) {
1831 if (!activeTiming) {
1832 return;
1833 }
1834 activeTiming.commandMs += elapsedMs;
1835 if (command === simdeck && args.includes("describe")) {
1836 activeTiming.describeUiMs += elapsedMs;
1837 }
1838}
1839
1840async function httpJson(method, requestPath, body, options = {}) {
1841 const buffer = await httpBuffer(method, requestPath, body, options);

Callers 2

runTextFunction · 0.85
runBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected