mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
[PM-22544] Add Performance measurement tools (#15475)
Adds logService.mark and logService.measure which are wrappers around performance.mark and performance.measure with extra debug logging for more visibility outside the performance tool.
This commit is contained in:
@@ -577,6 +577,9 @@ export class LockComponent implements OnInit, OnDestroy {
|
||||
throw new Error("No active user.");
|
||||
}
|
||||
|
||||
// Add a mark to indicate that the user has unlocked their vault. A good starting point for measuring unlock performance.
|
||||
this.logService.mark("Vault unlocked");
|
||||
|
||||
await this.keyService.setUserKey(key, this.activeAccount.id);
|
||||
|
||||
// Now that we have a decrypted user key in memory, we can check if we
|
||||
|
||||
Reference in New Issue
Block a user