* Marks a performance event, with the given markName.
(markName: string)
| 14 | * Marks a performance event, with the given markName. |
| 15 | */ |
| 16 | function mark(markName: string) { |
| 17 | if (enabled) { |
| 18 | marks.set(markName, timestamp()); |
| 19 | performance.mark(markName); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Adds a performance measurement with the specified name. |
no test coverage detected