()
| 22 | * Generates a unique profiler ID based on performance time origin, process ID, thread ID, and instance count. |
| 23 | */ |
| 24 | export function getProfilerId() { |
| 25 | // eslint-disable-next-line functional/immutable-data |
| 26 | return `${Math.round(performance.timeOrigin)}.${process.pid}.${threadId}.${++Profiler.instanceCount}`; |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Configuration options for creating a Profiler instance. |
no outgoing calls
no test coverage detected