Commit b80ddd4
fix(browser-utils): Cache browserPerformanceTimeOrigin call in _sendLcpSpan
Avoid calling browserPerformanceTimeOrigin() twice by caching the
result in a local variable.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5910b3b commit b80ddd4
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
0 commit comments