Tag: performance
🤖 AI Guestbook — #performance educational data only
|
|
Last 30 days
Agents 24
Amazonbot 2ChatGPT 1
ChatGPT 6Perplexity 5Google 4Amazonbot 2
Amazonbot 1.9kPerplexity 1.4kGoogle 597Ahrefs 454ChatGPT 412Unknown AI 412Claude 229SEMrush 215Majestic 71Meta AI 53Bing 47Qwen 12DuckDuckGo 2
Most referenced — #performance
Flame Graphs for PHP Profiling 2Keyset Pagination 1Web Font Loading Strategy 1__slots__ & Memory Optimisation 1API Pagination Patterns 1OPcache 1Batch Processing 1LRU Cache 1
How they use it
crawler 5.4k
crawler_json 300
pre-tracking 76
Tag total5.8k pings
Terms pinged221 / 221
Distinct agents12
PHP Execution Model — Shared-Nothing Architecture PHP 5.0+
Each PHP request runs in a completely isolated process or thread — no memory, globals, or state is shared between requests. Every request bootstraps the entire application from scratch and discards everything when it ends.
2mo ago
php intermediate
PHP Garbage Collection Internals (Cycle Collector) PHP 5.3+
PHP uses reference counting as its primary memory management strategy — when a value's reference count drops to zero it is freed immediately. A secondary cycle collector handles circular references that reference counting alone cannot free.
2mo ago
php advanced
PHP Memory Model — Zval & Copy-on-Write PHP 7.0+
PHP stores every value in a zval (Zend value) container that holds the type, value, and a reference count. Arrays and strings are copied lazily — the copy only happens when one copy is modified (copy-on-write), making passing large values cheap until mutation.
2mo ago
php advanced
Query Optimisation
The process of rewriting SQL queries and database structures to reduce execution time — using EXPLAIN to identify full table scans, adding targeted indexes, rewriting JOINs, and eliminating N+1 patterns.
2mo ago
database intermediate
Redis PHP 7.0+
An in-memory key-value data store used in PHP applications for caching, session storage, queues, rate limiting, and pub/sub — providing sub-millisecond data access compared to database queries.
2mo ago
performance beginner
requestAnimationFrame — Smooth Animations HTML5
requestAnimationFrame(callback) schedules a function to run before the browser's next repaint — the correct way to animate in JavaScript, producing smooth 60fps motion and automatically pausing when the tab is hidden.
2mo ago
javascript intermediate
ResizeObserver API HTML5
ResizeObserver watches element size changes without polling — more efficient than resize event listeners and works for any element, not just the window.
2mo ago
javascript intermediate
Scheduler API (scheduler.postTask) ES2021
The Scheduler API (scheduler.postTask) lets you prioritise async tasks — user-blocking, user-visible, or background — giving the browser hints to schedule work optimally.
2mo ago
javascript advanced
Streams API — ReadableStream & WritableStream HTML5
The Streams API provides composable, backpressure-aware data pipelines in the browser — processing large responses, files, or media chunk by chunk without buffering everything in memory.
2mo ago
javascript advanced
Thundering Herd Problem
Thundering herd: many processes simultaneously wake up to handle one event — all compete, one wins, the rest wasted work. Common after cache expiry or server restart.
2mo ago
concurrency intermediate
Typeahead & Autocomplete PHP 7.0+
Search suggestions shown as the user types — requiring prefix matching, typo tolerance, and sub-100ms response times to feel native, implemented via dedicated index structures or edge completion APIs.
2mo ago
search intermediate
Zend Engine Versions — 1 Through 4
The Zend Engine is the virtual machine that compiles and executes PHP code. Version 1 (PHP 3) introduced the modern parser; v2 (PHP 5) added OOP; v3 (PHP 7) doubled performance; v4 (PHP 8) added JIT compilation.
2mo ago
php intermediate
Circular References & Memory Implications PHP 5.3+
Circular references between objects prevent PHP's reference counting GC from freeing memory — PHP's cycle collector handles them but with overhead.
2mo ago
php intermediate
Event Loop Blocking — Long Tasks ES5
JavaScript is single-threaded — synchronous code that runs >50ms blocks the event loop, freezing UI and delaying I/O callbacks. Break long tasks into chunks.
2mo ago
javascript intermediate
max_execution_time & set_time_limit() PHP 4.0+
max_execution_time limits script CPU time (not wall-clock time) — use set_time_limit(0) sparingly for long-running CLI tasks, never for web requests.
2mo ago
php beginner
Memory Leaks — Closures, Detached DOM ES2015
JavaScript memory leaks occur when references are accidentally retained — common causes: closures holding large objects, detached DOM nodes, forgotten event listeners, and growing Maps/Sets.
2mo ago
javascript advanced
Out of Memory Errors (memory_limit) PHP 5.0+
PHP enforces memory_limit in php.ini — exceeding it triggers a fatal E_ERROR that cannot be caught with set_error_handler().
2mo ago
php intermediate
PHP 7 Performance — 2x Faster Than PHP 5.6 PHP 7.0+
PHP 7.0 (2015) delivered roughly double the throughput of PHP 5.6 through a complete rewrite of Zend Engine internals — without requiring any code changes for most applications.
2mo ago
php intermediate
Stack Overflow from Deep Recursion PHP 5.0+
PHP has no configurable stack size limit — deep recursion causes a fatal segfault or memory exhaustion, not a catchable exception.
2mo ago
php intermediate
__slots__ & Memory Optimisation Python 3.0+
Declaring __slots__ on a class prevents the dynamic __dict__ per instance — reducing memory usage by 40-60% for classes with many instances.
2mo ago
python intermediate