Performance Impact
Overview
When building Highlight, we've made technical decisions that prioritize putting your site's performance first. Highlight's performance impact on your site, therefore, is negligible, both from the perspective of your user's real-time experience as well as from a page-load perspective.
Bundle Size
Highlight's gzipped bundle size is a mere 11 kb. From a page load perspective, your team should have no qualms regarding Highlight's impact on page load metrics.
DOM Interaction Performance
Highlight uses the well-maintained MutationObserver
browser API in order to record DOM mutations. When sending these changes to our platform, we buffer events periodically to ensure that
-
Events aren't being held in memory for a prolonged time
-
Outgoing network requests aren't interfering with user interactions
Network
Your client will send Highlight telemetry about every 3 seconds. We've taken extra care in making sure we don't overwhelm your end user's machine:
-
Only 1 request will be in-flight at a given time
-
Responsive to your end user's network speed