()
| 114 | |
| 115 | /** Call when the chat input becomes interactive. */ |
| 116 | export function markTimeToInteractive(): void { |
| 117 | if (typeof performance === "undefined") return; |
| 118 | const value = performance.now(); |
| 119 | report({ name: "time_to_interactive", value }); |
| 120 | } |
| 121 | |
| 122 | /** Call when the first message bubble finishes rendering. */ |
| 123 | export function markFirstMessageRender(): void { |