Adds user timing marks and measures for hydration/render (#8069)
* adds user timing marks for hydration step * changes measure names and removes window namespaces by adding performance as a global to standard * separates hydrate and render marks * Add performance mark to router change instead of link click * Changes performance mark name at router change * adds checks for performance * creates constants utils for performance and user timings
Showing
| ... | @@ -53,7 +53,8 @@ | ... | @@ -53,7 +53,8 @@ |
| "examples/with-kea/**", | "examples/with-kea/**", | ||
| "examples/with-mobx/**", | "examples/with-mobx/**", | ||
| "test/integration/client-navigation/pages/throw-undefined.js" | "test/integration/client-navigation/pages/throw-undefined.js" | ||
| ] | ], | ||
| "globals": [ "performance" ] | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@babel/plugin-proposal-object-rest-spread": "7.4.4", | "@babel/plugin-proposal-object-rest-spread": "7.4.4", | ||
| ... | ... |
Please
register
or
sign in
to comment