CSS‑in‑JS Runtime Cost Simulator - Online Render 1000 Nodes
Render 1000 styled elements using inline styles vs. CSS classes and compare time. Understand CSS‑in‑JS trade‑offs.
UD5 Toolkit
Real-time monitoring of long tasks (>50ms) to identify INP bottlenecks
Total Long Tasks
Total Blocking Time
Average Duration
Longest Task
INP Risk Level
| # | Time (s) | Duration | Blocking | Severity | Source | Attribution | Detected At |
|---|---|---|---|---|---|---|---|
| Start monitoring to detect long tasks | |||||||
PerformanceObserver with entryType: 'longtask') allows developers to detect these problematic tasks programmatically.
duration - 50ms (the amount exceeding the 50ms threshold). TBT is the sum of all these blocking portions. For example, if you have two long tasks of 120ms and 80ms, the TBT is (120-50) + (80-50) = 70 + 30 = 100ms. TBT strongly correlates with INP and is a key metric in Lighthouse performance audits.
setTimeout or scheduler.postTask(): Yield control to the browser by breaking long operations into smaller tasks.defer or dynamic imports.requestAnimationFrame for visual updates and batch DOM changes.PerformanceObserver observing 'longtask') is a specification that is currently only implemented in Chromium-based browsers (Google Chrome, Microsoft Edge, Opera, Brave, etc.). Firefox and Safari have not yet implemented this API. If you're using a non-Chromium browser, consider using Chrome or Edge to run this tool, or use the "Simulate Long Task" feature to test the tool's functionality with artificial long tasks.
requestAnimationFrame callback to determine when the browser paints. While this accurately demonstrates the relationship between long tasks and interaction delays, real-world INP is measured over many interactions and uses a more sophisticated methodology. Use this simulation to understand the concept, but always verify with real user monitoring (RUM) data for production insights.
Render 1000 styled elements using inline styles vs. CSS classes and compare time. Understand CSS‑in‑JS trade‑offs.
Toggle content‑visibility: auto on long blocks and see the rendering time difference. Understand this powerful property.
Set up multiple @layers and use revert‑layer to fall back. See the computed style and cascade resolution live.
See your current push subscription details. Trigger push and notificationclick events manually to debug.
Construct HTTP Link headers for server push replacements, preload, and preconnect. Copy the header value.
Highlight elements with aria‑describedby and see the linked description text. Verify a11y annotations.
Load an image and see the exact events fired (load, error, abort). Monitor progress. Dev helper.
Fill in a form and see the FormData object as JSON. Perfect for debugging multipart form submissions. Client-side.
Calculate large Fibonacci numbers in a Web Worker. See the UI remain responsive. Copy the pattern for your app.
See your current page load broken down into DNS, TLS, request, and DOM phases. Understand where time is spent.
Adjust page characteristics (image size, server delay, layout shift) and see the simulated Core Web Vitals scores. Understand what impacts performance.
Adjust root, margin, and threshold. See a live log of intersection events as you scroll. Debug lazy loading.
Test a regex against long strings and measure execution time. Detect catastrophic backtracking patterns. Visual warning if slow.
Inject dynamic messages into ARIA live regions and monitor how they trigger screen reader announcements. Debug a11y.
Measure your browser's GPU compute power using a simple WebGPU matrix multiplication. See raw FLOPS and compare with peers. Fully client‑side.
Paste a raster image and an SVG, see the file size and rendering time. Understand when to use vector. Local.
Count total DOM nodes on the current page and show warnings if limits exceed best practices. Keep the DOM lean.
Add many complex CSS styles and measure frames per second. Isolate expensive properties. Practical performance lab.
Apply content‑visibility: auto to off‑screen sections and see the rendering cost drop. Demos for infinite scroll optimization.
Toggle contain: strict, content, paint, layout and see how it affects rendering. Understand isolation for faster pages.
Apply will‑change to any element and see its effect on compositing. Learn best practices for smooth animations.
Touch the screen and see the exact coordinates, radius, and force of each touch point. Indispensable for mobile web devs.
See the current state of a Service Worker for your page: installing, waiting, active. Unregister or skip waiting. Developer utility.
Paste a list of JavaScript values and see them pretty‑printed as if in the browser console. Great for debugging.
Enter a JSON pointer expression (/foo/bar) to extract a value from your pasted JSON. Debug nested objects quickly.
Press any key and see the full KeyboardEvent object: key, code, keyCode, modifier status. Dev tool.
Enter a URL and get a one‑page report of titles, description, headings, image alts, and broken links. All from browser.
Paste HTML/CSS snippets or enter properties to test how z‑index and stacking contexts interact. Real‑time example.
Enter a regular expression and see a visual railroad diagram explaining the pattern. Learn and debug regex.
Enter a URL and get a rough client-side performance simulation: request count, DOM size, and potential speed tips. No real Lighthouse.