MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / dumpProfiles

Function dumpProfiles

packages/core/profiling/index.ts:286–295  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

284}
285
286export function dumpProfiles(): void {
287 profileNames.forEach(function (name) {
288 const info = timers[name];
289 if (info) {
290 console.log('---- [' + name + '] STOP total: ' + info.totalTime + ' count:' + info.count);
291 } else {
292 console.log('---- [' + name + '] Never called');
293 }
294 });
295}
296
297export function resetProfiles(): void {
298 profileNames.forEach(function (name) {

Callers

nothing calls this directly

Calls 2

forEachMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected