(label: string)
| 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) { |
no test coverage detected