Skip to content

Commit beef91c

Browse files
BioPhotonCopilot
andauthored
Update profiler.md
Co-authored-by: Copilot <[email protected]>
1 parent 76f4bca commit beef91c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/utils/docs/profiler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,9 @@ CP_PROFILING=true DEBUG=true CP_PROFILER_MEASURE_NAME=my-measure npm run dev
353353
The NodeJSProfiler inherits all API methods from the base Profiler class and adds additional methods for queue management and WAL lifecycle control.
354354

355355
| Method | Description |
356-
| ------------------------------------ | ---------------------------------------------------------------------------------------- | --------- | ----------- |
356+
| ------------------------------------ | ---------------------------------------------------------------------------------------- |
357357
| `stats` | Returns comprehensive queue statistics and profiling state for monitoring and debugging. |
358-
| `state` | Returns current profiler state (`'idle' | 'running' | 'closed'`). |
358+
| `state` | Returns current profiler state (`'idle' \| 'running' \| 'closed'`). |
359359
| `close()` | Closes profiler and releases resources. Idempotent, safe for exit handlers. |
360360
| `flush()` | Forces immediate writing of all queued performance entries to the WAL. |
361361
| `setEnabled(enabled: boolean): void` | Controls profiling at runtime with automatic WAL/observer lifecycle management. |

0 commit comments

Comments
 (0)