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 bundle size is a mear 66 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

  1. Events aren't being held in memory for a prolonged time
  2. Outgoing network requests aren't interfering with user interactions

Network

Your client will send Highlight telemetry about every 5 seconds. We've taken extra care in making sure we don't overwhelm your end user's machine:

  1. Only 1 request will be in-flight at a given time
  2. Responsive to your end user's network speed