Skip to content

Commit de656da

Browse files
authored
Update trace-profile.md
1 parent 4459f4b commit de656da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cpu-prof/docs/trace-profile.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ export interface FlowEndEvent extends TraceEventBase {
623623

624624
If you ever wondered what is the best way to get a CPU profile into DevTools, this is your place. The Profile and ProfileChunk events are here to visualize CPU profile chunks into DevTools process threads.
625625

626-
````
626+
```ts
627627
/** Sample Event (ph='P') – a sampling profiler event (e.g. CPU sample) */
628628
export interface SampleEvent extends TraceEventBase {
629629
ph: 'P';
@@ -647,6 +647,7 @@ export interface ProfileChunkEvent extends SampleEvent {
647647
data: { cpuProfile: any, timeDeltas?: number[], [key: string]: any }
648648
};
649649
}
650+
```
650651

651652
#### ProfileEvent and ProfileChunkEvent
652653

0 commit comments

Comments
 (0)