mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
Since we only need it as a backup if accountVaultTimeoutAction is null/undefined, there should be no need to call this function every time. While the overhead may seem trivial at first glance, it can add up to a massive increase in runtime when the function is called repeatedly in quick succession (e.g. when running `bw list items` where it is executed once for every item). In my concrete case this change leads to a 20x speedup. |
||
|---|---|---|
| .. | ||
| spec | ||
| src | ||
| custom-matchers.d.ts | ||
| jest.config.js | ||
| package.json | ||
| test.setup.ts | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||