Discount Calculator - Online Sale Price & Savings Tool
Quickly find the final price after a percentage discount. Also works in reverse to find the original price. Handy for budget shoppers.
UD5 Toolkit
performance.memory API is only available in Chromium-based browsers (Chrome, Edge, Opera, Brave). Please switch to a supported browser for full functionality.
Real-time monitoring of performance.memory in your browser
Allocate temporary memory blocks to observe how the heap responds. Use with caution — large allocations may slow down your browser.
new, declare variables, or define functions, memory is allocated on the heap.performance.memory is a non-standard Chrome-specific API that provides real-time information about the JavaScript heap. It exposes three properties: usedJSHeapSize (currently used memory), totalJSHeapSize (total allocated heap, including free space within the heap), and jsHeapSizeLimit (maximum heap size the browser allows). This API is available in Chromium-based browsers like Chrome, Edge, and Opera.usedJSHeapSize reflects the memory actively occupied by live objects and data. totalJSHeapSize is larger because it includes free space that the heap has reserved from the operating system but hasn't yet filled. The gap between them represents memory that the heap can use without requesting more from the OS. If usedJSHeapSize approaches totalJSHeapSize, the browser will expand the heap (up to jsHeapSizeLimit).setInterval without clearInterval); 2) Detached DOM elements still referenced in JavaScript variables; 3) Global variables that accumulate data over time; 4) Closures that retain references to large outer-scope objects; 5) Event listeners not removed when elements are destroyed; 6) Large caches or collections that grow without bound; 7) WebSocket or subscription callbacks not unsubscribed. Use this tool to monitor if heap usage continuously climbs without dropping — that's a strong leak indicator.window.gc() only if Chrome was launched with the flag --js-flags="--expose-gc". For regular browsing, the best approach is to open Chrome DevTools (F12), go to the Performance or Memory tab, and click the trash icon 🗑️ to force a garbage collection cycle. Alternatively, reducing references to large objects naturally allows the GC to reclaim memory on its next automatic cycle.usedJSHeapSize to jsHeapSizeLimit is typically below 50-60%. If usage consistently exceeds 75%, consider optimizing your code. However, the absolute numbers matter more than ratios — a small app using 20 MB is fine, while a complex web app might use 200+ MB normally. Watch for trends: if memory climbs steadily without ever dropping, you likely have a leak.WeakMap and WeakSet for caches that should not prevent GC; 5) Break large closures into smaller scopes; 6) Clean up event listeners and observers; 7) Use typed arrays (ArrayBuffer) efficiently and release them with .transfer() or by nullifying.performance.memory: Google Chrome, Microsoft Edge, Opera, Brave, Vivaldi, and Arc. Firefox and Safari do not expose this API. For cross-browser memory profiling, use the browser's built-in DevTools (Memory tab in Chrome/Edge, Performance tab in Firefox, or the Web Inspector in Safari).Quickly find the final price after a percentage discount. Also works in reverse to find the original price. Handy for budget shoppers.
Enter bolt diameter and applied torque to estimate clamping force. Use standard friction factors.
Enter two date‑time values and get the exact years, months, days, hours, minutes difference. Word output also.
Type JavaScript expressions and see output like a real browser console. Supports console.log, error, warn. Use for quick testing without DevTools.
Press any key combination and record the sequence. Export as JSON or human‑readable text. Perfect for documenting shortcuts.
Roll any number of dice thousands of times and see a live bar chart of the sum distribution. Great for game designers.
Compare insulation materials and thicknesses to achieve a target R-value. Understand U-factor. Educational home improvement tool. Local.
Visualize the probability distribution of dice rolls as a color‑coded heatmap. For any NdM combination. RPG strategist's dream.
Calculate probability of getting a specific sum when rolling multiple dice. Visual bar chart. Useful for tabletop RPG players. Instant local computation.
Enter HSL values and get the exact RGB representation. Also shows hex. For fine‑tuning design tokens. Client‑side.
Drag a positioned box and see the top/right/bottom/left values change. Understand containing blocks. Visual.
Type sender and recipient addresses and format them for printing on a standard envelope. No special software.
Generate a sample sleep schedule for babies 0-24 months based on age-appropriate wake windows. Nap count and bedtime suggestions. Educational reference.
Flip a coin and track your full history. See percentage of heads/tails and longest streak. Pure RNG, no bias.
Rate symptoms severity daily and add notes. Visual pain map. Export for doctor visit. Private local storage.
Play the Pig dice game: roll to accumulate points, but a 1 ends your turn. First to 100 wins. Simple hot‑seat local game.
Randomly given base form, type past simple and past participle. Score tracking.
Enter your elevation and find the exact boiling point of water. Useful for high‑altitude cooking and tea brewing. Local math.
Connect to a WebSocket endpoint, send messages, and view the stream of received data. Perfect for debugging real‑time apps.
Test the powerful :has() pseudo‑class. Write selectors like .card:has(img) and see the live result. Revolutionary for CSS architecture.
Get a piece of either wise or hilariously useless advice. Instant life tips. Pure fun.
Simulate memory page reference strings with FIFO, LRU, and Optimal algorithms. See page fault count. OS concept demo.
Watch a simulation of how the JavaScript event loop handles synchronous code, microtasks, and macrotasks. Learn async.
Create promises that resolve or reject after a delay. See state changes and chain .then/.catch. Debug async code.
Write a generator function and step through it with next(). See values and done state. Understand iterators.
Apply a Proxy to an object and see the get/set traps log fired in real time. Understand metaprogramming. Local.
Calculate large Fibonacci numbers in a Web Worker. See the UI remain responsive. Copy the pattern for your app.
Adjust page characteristics (image size, server delay, layout shift) and see the simulated Core Web Vitals scores. Understand what impacts performance.
Test a regex against long strings and measure execution time. Detect catastrophic backtracking patterns. Visual warning if slow.
Compress text with Brotli at different quality levels. See size reduction and time. Find the sweet spot for your static assets.