Web Page Resource Analyzer - Online List Assets & Size
Fetch a page and list all loaded assets (CSS, JS, images) with their sizes. See total page weight. Quick performance check.
UD5 Toolkit
Simulate FIFO, LRU & Optimal page replacement algorithms with step-by-step visualization
A page replacement algorithm is used by an operating system's virtual memory manager to decide which memory page to evict when a new page needs to be loaded and all frames are full. The goal is to minimize page faults — situations where the requested page is not in memory and must be fetched from disk, which is significantly slower.
FIFO replaces the page that has been in memory the longest. It maintains a queue of loaded pages. When a page fault occurs and all frames are full, the page at the front of the queue is evicted. While simple to implement, FIFO suffers from Belady's Anomaly — increasing the number of frames can sometimes increase the number of page faults.
LRU replaces the page that hasn't been accessed for the longest time. It's based on the principle of temporal locality — recently used pages are likely to be used again soon. LRU generally performs better than FIFO but requires tracking access timestamps, making it more complex to implement in hardware. LRU does not suffer from Belady's Anomaly.
The Optimal (OPT or MIN) algorithm replaces the page that will not be used for the longest time in the future. It guarantees the minimum possible number of page faults for a given reference string and frame count. However, it requires future knowledge of the reference string, making it impossible to implement in practice. It serves as a theoretical benchmark to evaluate other algorithms.
Belady's Anomaly is a counterintuitive phenomenon where increasing the number of available frames actually increases the number of page faults for the FIFO algorithm with certain reference strings. This anomaly does not occur with stack-based algorithms like LRU and Optimal. The classic example reference string 1,2,3,4,1,2,5,1,2,3,4,5 with 3 vs 4 frames demonstrates this effect.
Efficient page replacement is critical for system performance because page faults incur significant latency (accessing disk is ~100,000Ă— slower than RAM). Modern operating systems use approximations of LRU (like the Clock algorithm) that balance performance with implementation complexity. Understanding these algorithms is fundamental to OS design, database buffer management, and cache systems.
The table shows the state of memory frames after each page reference. The top row shows the reference string with color coding (red = page fault, green = hit). Each subsequent row represents a frame, showing which page it holds at each step. Cells with orange background indicate a page just loaded due to a page fault. Green cells indicate a hit. The bottom indicator row shows PF for page faults and âś“ for hits.
Fetch a page and list all loaded assets (CSS, JS, images) with their sizes. See total page weight. Quick performance check.
Check how many pages a PDF has without uploading it (uses FileReader). Also shows file size and title if available. Simple and fast client-side tool.
Count total DOM nodes on the current page and show warnings if limits exceed best practices. Keep the DOM lean.
Enter the characters you need and generate a smaller font file from a TTF/OTF. Keep only the glyphs you use. Using harfbuzz WASM.
Create CSS clamp() values for fluid typography. Enter min and max font sizes and viewport widths. Modern responsive design.
Compare different grid track sizing methods: fr, auto, minmax(), and fixed values. See how they respond to content.
Choose where page breaks should occur for printing. Get the break‑before, break‑after, and break‑inside CSS.
Explore the contents of the Cache Storage API for your domain. See cached requests and their sizes. Debug offline apps.
Place two containers side by side to see how inline‑flex differs from flex. Understand block vs inline formatting.
Adjust speed and see how dynamic pressure changes. Visualize how a pitot tube measures airspeed. Aviation & physics demo.
Generate random truth questions and dares for game night. Categories for kids, teens, and adults. No repeats, all client-side fun.
Calculate the probability of exactly k successes in n independent Bernoulli trials. Step-by-step result. Local.
Generate a random developer‑themed motivational (or demotivational) poster image using pure CSS. Fresh inspiration for your coffee break.
Establish a peer‑to‑peer text chat between two browser tabs or devices using WebRTC data channels. All signaling via copy‑paste. No server.
See the current state of a Service Worker for your page: installing, waiting, active. Unregister or skip waiting. Developer utility.
Connect to a WebTransport server and exchange data over QUIC. See latency and throughput. Perfect for exploring low‑latency real‑time APIs.
Plan a party or event budget by category (venue, food, decorations). See total and cost per guest. Export summary.
Enter air and snow temperature plus humidity to get the right glide wax color (Swix/Toko). Perfect kick and glide.
Enter a full URL and get all query parameters in a clean table with decoded values. Quickly see UTM and tracking params.
Get endless 'Never Have I Ever' statements for your group. Clean and spicy modes. No installation, just pick up and play.
Create circular and elliptical clip paths visually. Adjust radius and position. Copy the CSS. For avatars and masks.
Estimate how long it takes to download/upload a file given bandwidth speed. Also convert between bits and bytes.
Compare different insulated containers by their ice retention time based on ambient temperature. Help choose the right bottle for a hot hike.
Log individual leaf cuttings, track callousing and root development days. Identify which leaves are most viable.
A completely black page to save battery on OLED devices. Click to go fullscreen. Simple utility.
Load any variable font from Google Fonts or local file and play with weight, width, slant, and custom axes. Download CSS.
Generate a printable pace band for ultra distances with mile/km splits and cumulative time. Adjust for terrain.
Create a custom cookie consent banner with text, button styles, and colors. Copy the ready‑to‑use HTML/CSS/JS snippet.
Rate symptoms severity daily and add notes. Visual pain map. Export for doctor visit. Private local storage.
Paste a list of foreground/background color pairs and instantly see which pass AA/AAA. Perfect for checking entire style guides.