Last active
December 2, 2018 07:51
-
-
Save Offirmo/ece809ce5bdc4c81205e0eae848bf4d2 to your computer and use it in GitHub Desktop.
[User timing measurement with marky] #TypeScript #JavaScript #frontend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'marky' | |
const user_timing_measurement = (window as any).user_timing_measurement | |
user_timing_measurement.mark('bootstrap') | |
... | |
user_timing_measurement.stop('bootstrap') | |
// https://www.html5rocks.com/en/tutorials/webperformance/basics/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment