Fix reporting when performance.measure doesn't exist (Edge) (#64669)
This commit is contained in:
parent
e49daec80a
commit
52214359c7
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class NextTracerImpl implements NextTracer {
|
||||||
options,
|
options,
|
||||||
(span: Span) => {
|
(span: Span) => {
|
||||||
const startTime =
|
const startTime =
|
||||||
'performance' in globalThis
|
'performance' in globalThis && 'measure' in performance
|
||||||
? globalThis.performance.now()
|
? globalThis.performance.now()
|
||||||
: undefined
|
: undefined
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue