mirror of
https://github.com/bitwarden/clients.git
synced 2026-11-16 07:03:29 +00:00
Apply batched suggestions from code review
Co-authored-by: ✨ Audrey ✨ <audrey@audreyality.com>
This commit is contained in:
@@ -66,8 +66,7 @@ and only at the moment they need it.
|
||||
|
||||
## We are guests on the page
|
||||
|
||||
The page's performance is not ours to degrade. Content scripts share the main thread with the page, so
|
||||
any work we do delays the page's rendering, input handling, and layout.
|
||||
Autofill is a utility. Everything we do comes at a cost to the user's primary task. Respect the user's resources, including their attention.
|
||||
|
||||
- **Measure before and after.** Use the [content script instrumentation](./content/performance.md) to
|
||||
quantify hot-path changes rather than reasoning about their cost. Its
|
||||
|
||||
Reference in New Issue
Block a user