MCPcopy
hub / github.com/remotely-save/remotely-save / insert

Method insert

src/profiler.ts:45–60  ·  view source on GitHub ↗
(label: string)

Source from the content-addressed store, hash-verified

43 }
44
45 insert(label: string) {
46 if (this.breakPoints.length === 0) {
47 this.startTime = Date.now();
48 }
49 const p = {
50 label: label,
51 fakeTimeMilli: performance.now(),
52 indent: this.indent,
53 };
54 this.breakPoints.push(p);
55 if (this.enablePrinting) {
56 console.debug(this.toString(-1));
57 }
58
59 return this;
60 }
61
62 insertSize(label: string, obj: any) {
63 if (!this.recordSize) {

Callers 5

walkMethod · 0.80
ensembleMixedEntiesFunction · 0.80
getSyncPlanInplaceFunction · 0.80
doActualSyncFunction · 0.80
syncerFunction · 0.80

Calls 1

toStringMethod · 0.95

Tested by

no test coverage detected