Unverified Commit 2b1d7d39 authored by Jude Gao's avatar Jude Gao Committed by GitHub

fix: remove redundant performance.measure usage (#79475)

`performance.measure` here is causing problems but I also do not see the
point of keeping it, so this PR deletes it.

Closes NDX-1050
Fixes https://github.com/vercel/next.js/issues/79188
parent 7e44fe35
......@@ -9,13 +9,7 @@ if (process.env.NODE_ENV === 'development') {
const startTime = performance.now()
module.exports = require('private-next-instrumentation-client')
const endTime = performance.now()
const duration = endTime - startTime
performance.measure(measureName, {
start: startTime,
end: endTime,
detail: 'Client instrumentation initialization',
})
// Using 16ms threshold as it represents one frame (1000ms/60fps)
// This helps identify if the instrumentation hook initialization
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment