Commit 55ccb09d authored by Houssein Djirdeh's avatar Houssein Djirdeh Committed by Joe Haddad

fixes nav start argument in user timing check (#8348)

parent 8c19d78a
...@@ -255,7 +255,11 @@ function markHydrateComplete () { ...@@ -255,7 +255,11 @@ function markHydrateComplete () {
performance.mark('afterHydrate') // mark end of hydration performance.mark('afterHydrate') // mark end of hydration
performance.measure('Next.js-before-hydration', null, 'beforeRender') performance.measure(
'Next.js-before-hydration',
'navigationStart',
'beforeRender'
)
performance.measure('Next.js-hydration', 'beforeRender', 'afterHydrate') performance.measure('Next.js-hydration', 'beforeRender', 'afterHydrate')
clearMarks() clearMarks()
......
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