1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 12:13:45 +00:00
Files
browser/console.log.js
Andreas Coroiu 122f29c9fc add measurements
2025-02-05 11:24:27 +01:00

25 lines
1.0 KiB
JavaScript

console.log(
`Popup triggered -> HTML loaded: ${Math.round(
performance.measure("", {}, "html-loaded").duration,
)} ms\n` +
`Popup triggered -> Angular bootstrap start: ${Math.round(
performance.measure("", {}, "angular-bootstrap-start").duration,
)} ms\n` +
`Popup triggered -> InitService start: ${Math.round(
performance.measure("", {}, "init-start").duration,
)} ms\n` +
// `Popup triggered -> cipher decryption start: ${Math.round(
// performance.measure("", {}, "cipher-decryption-start").duration
// )} ms\n` +
// `Popup triggered -> cipher decryption end: ${Math.round(
// performance.measure("", {}, "cipher-decryption-end").duration
// )} ms\n` +
`Popup triggered -> VaultV2Component constructor start: ${Math.round(
performance.measure("", {}, "vault-v2-ctor-start").duration,
)} ms\n` +
`Popup triggered -> VaultPopupItemsService first emission: ${Math.round(
performance.measure("", {}, "vault-v2-ciphers-available").duration,
)} ms\n` +
``,
);