diff --git a/tns-core-modules/profiling/profiling.d.ts b/tns-core-modules/profiling/profiling.d.ts index f60685151..da84fd59f 100644 --- a/tns-core-modules/profiling/profiling.d.ts +++ b/tns-core-modules/profiling/profiling.d.ts @@ -125,6 +125,6 @@ export declare function startCPUProfile(name: string): void; export declare function stopCPUProfile(name: string): void; /** - * Gets the uptime of the current process in miliseconds. + * Gets the uptime of the current process in milliseconds. */ export function uptime(): number; diff --git a/tns-core-modules/profiling/profiling.ts b/tns-core-modules/profiling/profiling.ts index c1daaa488..865c80688 100644 --- a/tns-core-modules/profiling/profiling.ts +++ b/tns-core-modules/profiling/profiling.ts @@ -104,7 +104,7 @@ function timelineProfileFunctionFactory(fn: F, name: string) return fn.apply(this, arguments); } finally { const end = time(); - console.log(`Timeline: Modules: ${name} (${start}ms. - ${end}ms.)`); + console.log(`Timeline: Modules: ${name} ${this} (${start}ms. - ${end}ms.)`); } } }