Introduction
ScaleDynamics Impulse is a lightweight, hardware-aware web runtime that profiles client silicon in real time. It gives web applications deterministic visibility into the user's underlying execution environment—allowing your code to dynamically adapt UI weight, Web Worker concurrency, and client-vs-cloud compute routing.
Why Impulse?
Modern web applications ship heavy payloads—complex JavaScript bundles, WebAssembly (Wasm) modules, 3D assets, and third-party scripts—to a fragmented landscape of devices. Relying on static User-Agent strings or native browser APIs fails in production:
- Browser Throttling: Privacy-focused browsers like Safari and Brave artificially cap
navigator.hardwareConcurrency, hiding available CPU cores and throttling multi-threaded Wasm performance. - Hardware Blindness: A User-Agent string cannot tell you whether a device is thermally throttled, running in low-power mode, or lacks the single-thread headroom to render heavy assets smoothly.
- Static Trade-offs: Shipping one heavy experience causes poor Google INP scores and Out-of-Memory (OOM) crashes on constrained devices, while shipping a stripped-down experience underutilizes flagship hardware.
Impulse solves this at runtime by benchmarking actual execution capacity directly inside the browser.
How It Works
Impulse is based on the database of our community benchmark Speedpower.run (opens in a new tab), which contains millions of samples from multiple devices (mobile, desktop, laptop, TV...). On the device, Impulse runs a profiling, collect some browser data and request our ScaleDynamics servers to get the metrics. Our servers are using Speedpower.run benchmark database to compute the metrics for the device.
Unlike static device databases or one-off startup benchmarks, Impulse runs as a continuous, lightweight background loop throughout the user's session:
- Non-Blocking Initialization: Impulse loads asynchronously without blocking the browser's Main Thread or delaying First Contentful Paint (FCP).
- Periodic Silicon Profiling: Hardware availability is not static—a device's real-time headroom fluctuates depending on whether the user has 1 or 50 browser tabs open, heavy desktop applications running in the background (such as VS Code or video conferencing), or active thermal throttling. Impulse periodically re-evaluates execution capacity in the background with near-zero overhead.
- Peak vs. Current Tracking: With every measurement cycle, Impulse maintains the * Current Score: Reflects live execution headroom under the device's immediate workload.
- Deterministic Adaptation: Your application queries
window.sd.<metric>.get()at load time—or right before triggering a heavy workflow—to adapt dynamically to real-world conditions.
All profiling is 100% privacy-safe, utilizing zero cookies, zero fingerprinting, and collecting zero Personally Identifiable Information (PII). Have a look to Security & Compliance for details.
Impulse provide some apis to configure/get metrics, have a look to the API for more info.
Core Metrics
| Metric | Type | Scale | Primary Use Case | Doc |
|---|---|---|---|---|
threadPerf | number | 1 – 4 (higher is better) | Protect Main Thread responsiveness & Google INP scores. | View |
devicePerf | number | 1 – 4 (higher is better) | Route heavy compute between local browser execution and Cloud APIs. | View |
numThreads | number | 1 – N (physical cores) | Size Web Worker pools and Wasm threads without browser throttling. | View |
Ready to integrate?
- Jump to the Quickstart guide.
Need deployment specifics?
- Deploy via Google Tag Manager (GTM) (Recommended for AdOps & Marketing Teams)
- Deploy via Direct HTML Snippet (Recommended for standard web platforms and CMS)
- Deploy via JavaScript & Frameworks (Recommended for React, Vue, Angular, and custom SPAs)