<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Дмитрий Федотов</title>
    <description>The latest articles on DEV Community by Дмитрий Федотов (@wildh1gh).</description>
    <link>https://dev.to/wildh1gh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4273396%2F9c055fc8-de39-4de7-8ae2-085c63c8425d.jpg</url>
      <title>DEV Community: Дмитрий Федотов</title>
      <link>https://dev.to/wildh1gh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wildh1gh"/>
    <language>en</language>
    <item>
      <title>Vibe Coding’s Performance Tax — And How to Catch It Early</title>
      <dc:creator>Дмитрий Федотов</dc:creator>
      <pubDate>Mon, 30 Nov 2026 08:03:16 +0000</pubDate>
      <link>https://dev.to/wildh1gh/vibe-codings-performance-tax-and-how-to-catch-it-early-4i7o</link>
      <guid>https://dev.to/wildh1gh/vibe-codings-performance-tax-and-how-to-catch-it-early-4i7o</guid>
      <description>&lt;p&gt;&lt;em&gt;Six degradation patterns, three real cases with numbers, and a four-step CI pipeline that catches performance regressions on every commit.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;AI agents ship features faster than anyone can read the diff. The tests they write pass with one user, an empty database, and an instant network. Production has dozens of concurrent requests, expiring caches, and slow clients. So the performance bugs show up after the release, not before.&lt;/p&gt;

&lt;p&gt;Even when nothing crashes, you pay a &lt;strong&gt;vibe-code tax&lt;/strong&gt;: extra cores, memory, and bandwidth on every bill.&lt;/p&gt;

&lt;p&gt;This post gives you a concrete way to stop paying it: six patterns to look for, a CI pipeline that load-tests every push, and an 11-point checklist. Every number from my projects is a real measurement, and the repos are public.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why AI-generated code is often slow
&lt;/h2&gt;

&lt;p&gt;It's usually correct. It's often slow. Researchers have measured it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report" rel="noopener noreferrer"&gt;CodeRabbit&lt;/a&gt; (470 open-source PRs):&lt;/strong&gt; AI-assisted PRs had 1.7× more issues and about 8× more excessive I/O.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://arxiv.org/abs/2402.02037" rel="noopener noreferrer"&gt;EffiBench&lt;/a&gt; (1,000 tasks, 42 models):&lt;/strong&gt; GPT-4 code was 3.12× slower on average than the best human solution; worst case 13.9× slower and 43.9× more memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://arxiv.org/html/2505.13004v1" rel="noopener noreferrer"&gt;EffiBench-X&lt;/a&gt; (six languages, including Go):&lt;/strong&gt; the best model reaches about 62% of human code efficiency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://arxiv.org/abs/2510.15494" rel="noopener noreferrer"&gt;"Do AI Models Dream of Faster Code?"&lt;/a&gt; (Kafka, Netty, Presto):&lt;/strong&gt; developer patches were faster in 3 of 4 projects; some AI "optimizations" made code 3× slower.
The last study calls models "high-variance search engines rather than reliable engineers." Same task, random efficiency. Only a before/after load test tells you which version you got.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Six degradation patterns
&lt;/h2&gt;

&lt;p&gt;From postmortems of vibe-coded apps (&lt;a href="https://dev.to/mateo_ruiz_6992b1fce47843/500-users-broke-my-app-heres-the-exact-reason-nobody-warned-me-about-1eme"&gt;dev.to&lt;/a&gt;, &lt;a href="https://blog.appsignal.com/2026/04/01/what-metrics-to-monitor-in-your-vibe-coded-app.html" rel="noopener noreferrer"&gt;AppSignal&lt;/a&gt;, &lt;a href="https://dev.co/ai-generated-apps-scaling-failures" rel="noopener noreferrer"&gt;dev.co&lt;/a&gt;) and my own measurements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;N+1 and excess I/O.&lt;/strong&gt; Hundreds of tiny DB queries per request, or the same data rebuilt for every client. Each layer the agent writes hits storage on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Concurrency-blind caching.&lt;/strong&gt; Agents design caches for one request, not eight. You get cache stampedes and "for speed" maps that grow without bound.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Broadcasting everything to everyone.&lt;/strong&gt; One client's event rebuilds the full state for every subscriber. Invisible with one, tens of Mbit/s with hundreds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Middlemen on heavy traffic.&lt;/strong&gt; Streaming data goes through a service the whole site depends on. One overloaded feature takes everything down.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Default limits, no timeouts.&lt;/strong&gt; Pool sizes, port ranges, and memory caps picked to "just work," or HTTP servers with no timeouts at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No metrics, or the wrong ones.&lt;/strong&gt; Nothing is counted, so after a spike you can't tell what happened. Or only server-side metrics: "nothing crashed" instead of "the user hears audio."
## Three real cases&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All three passed unit tests, linting, and code review. Only load testing caught them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Case 1. SAR Review: a cache that made the tail worse
&lt;/h3&gt;

&lt;p&gt;A platform for reviewing drone footage together, used in a search-and-rescue operation: 29 users, up to 9 at once.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Problem.&lt;/strong&gt; &lt;code&gt;/api/tree&lt;/code&gt; walked the disk and ran about 300 DB queries. Every open tab polled it every 5 s.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Load test.&lt;/strong&gt; At 8 concurrent users the file list took 1.5 s. Platform throughput fell from 105 to 59 req/s.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The first fix backfired.&lt;/strong&gt; A 3 s cache cut the median from 753 to 23 ms and overall p95 from 783 to 406 ms. But the list's own p95 &lt;em&gt;rose&lt;/em&gt; from 1,517 to 2,079 ms: a cache stampede. Cold starts took 12, 10.4, 8.6, and 4.1 s.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Final result.&lt;/strong&gt; One request recomputes, the rest reuse its answer. Cold start 12 s → 1.5 s; warm list 16–58 ms.
The agent optimized the median. Only per-endpoint percentiles exposed the tail.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Case 2. Open Radio: control traffic bigger than the audio
&lt;/h3&gt;

&lt;p&gt;A browser-based radio on a 2 vCPU VPS.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Problem.&lt;/strong&gt; The station list carried listener counts. Every dial turn rebuilt it and re-sent it to every receiver.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Load test.&lt;/strong&gt; At 500 receivers: 23 Mbit/s of control traffic vs 19.9 Mbit/s of audio. One change cost 21 ms of CPU, 5.3 MB, and 6,500 allocations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix.&lt;/strong&gt; Listener counts go only to the broadcaster, at most once every 2 s. The list goes out only when a station goes on or off air. A track change is a 60–150 byte message.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Result.&lt;/strong&gt; 0.045 ms, 12 KB, and 14 allocations per change. Control traffic 23.04 → 0.12 Mbit/s.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd9mqjc88p0q5u9m8kvw4.png" alt="Radio control traffic before and after the station list fix" width="800" height="336"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Replayed on a 2 vCPU rig with the same generator: 23.0 Mbit/s before, about 0.07 Mbit/s after.&lt;/p&gt;

&lt;p&gt;The bigger finding: at 2,000 receivers the old version lost 2.4% of the audio while the server-side &lt;code&gt;frames_dropped&lt;/code&gt; counter read zero.&lt;/p&gt;

&lt;p&gt;Frames weren't dropped, they arrived late. Measure quality on the client side.&lt;/p&gt;

&lt;h3&gt;
  
  
  Case 3. Kontakt: ceilings found before launch
&lt;/h3&gt;

&lt;p&gt;A SIP voice roulette sharing a 2 vCPU / 4 GB server with the radio, tested on a rig with the same configuration.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Problem.&lt;/strong&gt; Radio audio went Caddy → web → radio, one WebSocket message per frame. The web service was capped at &lt;code&gt;MemoryMax=200M&lt;/code&gt;. Calls had 200 RTP ports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Load test.&lt;/strong&gt; At 2,000 receivers the web service hit its memory limit (about 90 KB per proxied connection) and was killed, taking calls and the whole site with it. More than half the CPU went to forwarding. Calls (via xk6-sip) ran out of ports at 50 concurrent calls with CPU to spare.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix.&lt;/strong&gt; Radio sockets bypass the web service (capped at 1,000 receivers). Audio goes out in batches of 5 frames (100 ms). The RTP range grew to 1,000 ports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Result.&lt;/strong&gt; At 950 receivers CPU fell from 1.31 to 0.79 cores, with no audio loss up to 2,000 receivers. Calls pass thresholds up to 400 subscribers, p95 setup 164 ms. Batching alone saves 33–40% CPU at every load level: 0.83 vs 0.54 cores at 2,000 receivers.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F77xw2uz9zey08s8uk8re.png" alt="Radio CPU on the load plateau from 500 to 2,000 receivers" width="800" height="320"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One more: port 8443 cut CPU to 0.37 cores in the data center, then caused dropouts on mobile networks within 3 hours. Back to 443; new network paths now get tested from mobile first.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed in my load-testing approach
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Load tests on every push.&lt;/strong&gt; A 2-minute run with strict thresholds in CI catches a regression in the commit that caused it. One big pre-release test can't sift through hundreds of agent commits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent optimizations need numbers.&lt;/strong&gt; Two "optimizations" in cases 1 and 3 made things worse. Accept a performance change only after a before/after run with the same methodology.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write the load-test spec yourself.&lt;/strong&gt; Agents default to hammering one cheap endpoint and reporting an average. Require a real user path, per-endpoint percentiles and error codes, raw JSON results, and a guard against hitting remote hosts by accident.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Track cost per user, not just "will it hold."&lt;/strong&gt; Inefficient code often doesn't crash; it buys hardware. In Kontakt one call channel costs 0.15% of a core, about 90 KB of RAM, and about 100 kbit/s each way.
## The performance pipeline&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The building blocks are open source: &lt;a href="https://github.com/Dmitry-Fedotov-Dev/ci" rel="noopener noreferrer"&gt;ci&lt;/a&gt; and &lt;a href="https://github.com/Dmitry-Fedotov-Dev/cd" rel="noopener noreferrer"&gt;cd&lt;/a&gt;, plus &lt;a href="https://github.com/Dmitry-Fedotov-Dev/xk6-sip" rel="noopener noreferrer"&gt;xk6-sip&lt;/a&gt; if you test telephony.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1. Telemetry before the first test
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/metrics&lt;/code&gt; with a request counter and latency histogram per route pattern, not per raw URL (&lt;code&gt;/report/&amp;lt;id&amp;gt;/&lt;/code&gt; would create tens of thousands of series).&lt;/li&gt;
&lt;li&gt;CPU and RSS per process, read from &lt;code&gt;/proc&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A Grafana dashboard and alert rules, both validated in CI.
Check agent-written metrics too.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In SAR Review, a request-tracking hook placed before &lt;code&gt;require_login&lt;/code&gt; opened the platform without a password. Existing tests caught it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2. A load profile from business logic
&lt;/h3&gt;

&lt;p&gt;A test that hits the home page only finds the home page's ceiling. Model what users actually do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/Dmitry-Fedotov-Dev/joblox" rel="noopener noreferrer"&gt;joblox&lt;/a&gt; (free-sellers.com), store.&lt;/strong&gt; Opens the storefront; 10% place an order, the rest view existing orders. &lt;em&gt;Success:&lt;/em&gt; p95 per route, under 1% errors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/Dmitry-Fedotov-Dev/sar-review" rel="noopener noreferrer"&gt;SAR Review&lt;/a&gt;, drone footage.&lt;/strong&gt; File list, preview, scene report, player, bounding-box polling. &lt;em&gt;Success:&lt;/em&gt; p95 per endpoint and throughput.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/Dmitry-Fedotov-Dev/kontakt" rel="noopener noreferrer"&gt;Kontakt&lt;/a&gt;, calls.&lt;/strong&gt; Picks up, waits for a match, talks 8 s, hangs up, calls again. &lt;em&gt;Success:&lt;/em&gt; call answered, other party audible, audio score above 0.7.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kontakt, radio.&lt;/strong&gt; 50 stations; dial turned every 10 s on average, half the time between stations. &lt;em&gt;Success:&lt;/em&gt; listener-side audio loss, including the page buffer.
Use an open model (&lt;code&gt;ramping-arrival-rate&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A closed model with fixed VUs backs off when the server slows down, which hides the degradation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3. k6 in CI as a regression gate
&lt;/h3&gt;

&lt;p&gt;Every push runs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Tests with &lt;code&gt;-race -count=2&lt;/code&gt;, golangci-lint, govulncheck, gosec.&lt;/li&gt;
&lt;li&gt;Build plus monitoring config checks (&lt;code&gt;promtool&lt;/code&gt;, dashboards).&lt;/li&gt;
&lt;li&gt;Functional k6 scenarios against a live server, each step a JUnit check.&lt;/li&gt;
&lt;li&gt;A short load run with Prometheus and Grafana. k6 thresholds decide pass/fail; the dashboard is saved as a PNG.&lt;/li&gt;
&lt;li&gt;Green → cd deploys. Limits are set by the server, not the repo, so the agent can't bump a limit to "fix" a leak.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fic6d9313oen2edb7obya.png" alt="Only a build that passes the k6 thresholds reaches production" width="800" height="372"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Thresholds go per route, because an overall p95 hides one slow page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;options&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;scenarios&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;visitors&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="n"&gt;executor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ramping-arrival-rate"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// open model&lt;/span&gt;
      &lt;span class="n"&gt;timeUnit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1s"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="c1"&gt;// stages: ramp up to RATE, hold, ramp down&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;thresholds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;http_req_failed&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rate&amp;lt;0.01"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"http_req_duration{name:GET /}"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"p(95)&amp;lt;300"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"http_req_duration{name:POST /order}"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"p(95)&amp;lt;800"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"http_req_duration{name:GET /o/{token}}"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"p(95)&amp;lt;300"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;checks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rate&amp;gt;0.99"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The full script is in the &lt;a href="https://github.com/Dmitry-Fedotov-Dev/joblox" rel="noopener noreferrer"&gt;joblox repository&lt;/a&gt; (&lt;code&gt;k6/load.js&lt;/code&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4. Load → profile → fix → retest
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Find the slow endpoint or process in the metrics.&lt;/li&gt;
&lt;li&gt;Profile or benchmark it (&lt;code&gt;go test -bench -benchmem&lt;/code&gt;, pprof).&lt;/li&gt;
&lt;li&gt;Give the agent the raw output and a numeric goal. "Make it faster" gets you a guess.&lt;/li&gt;
&lt;li&gt;Re-measure both versions the same way.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Record the result in the repo and the lesson in the agent's instruction file. Agents don't remember last session's incident (example: &lt;a href="https://github.com/Dmitry-Fedotov-Dev/kontakt/blob/main/LOAD_REPORT.md" rel="noopener noreferrer"&gt;LOAD_REPORT.md&lt;/a&gt;).&lt;/p&gt;
&lt;h2&gt;
  
  
  Checklist
&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Metrics per route and per process from day one.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A 1–2 minute k6 load test on every push; thresholds decide.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;p95/p99 thresholds per route, not service averages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Real user paths with an open model (&lt;code&gt;arrival-rate&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Client-side quality metrics for streams, voice, and video.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Many clients at once: forgotten tabs, cold starts, cache expiry.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Before/after numbers for every optimization; commit messages don't count.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Profiler numbers for the agent, not "make it faster."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;New ports, protocols, and proxies tested from a mobile network.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Server-owned limits, timeouts everywhere, heavy traffic off critical services.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Every incident and ceiling written into the agent's instruction file, so the next session doesn't repeat it.&lt;/p&gt;
&lt;h2&gt;
  
  
  Takeaway
&lt;/h2&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Anyone can generate code now, so speed is no longer the edge. The edge is proving with numbers that your service survives day one. Let agents write the scripts and even the load generators; you decide what to measure, which metrics to trust, and which thresholds block a release, then enforce it on every commit. Start with checklist items 1 and 2.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report" rel="noopener noreferrer"&gt;CodeRabbit: State of AI vs Human Code Generation Report&lt;/a&gt;, December 2025&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://arxiv.org/abs/2402.02037" rel="noopener noreferrer"&gt;EffiBench: Benchmarking the Efficiency of Automatically Generated Code&lt;/a&gt;, NeurIPS 2024&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/html/2505.13004v1" rel="noopener noreferrer"&gt;EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2510.15494" rel="noopener noreferrer"&gt;Do AI Models Dream of Faster Code?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2503.06327" rel="noopener noreferrer"&gt;A Taxonomy of Inefficiencies in LLM-Generated Python Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/mateo_ruiz_6992b1fce47843/500-users-broke-my-app-heres-the-exact-reason-nobody-warned-me-about-1eme"&gt;500 Users Broke My App&lt;/a&gt;, dev.to&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://blog.appsignal.com/2026/04/01/what-metrics-to-monitor-in-your-vibe-coded-app.html" rel="noopener noreferrer"&gt;What metrics to monitor in your vibe-coded app&lt;/a&gt;, AppSignal&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.co/ai-generated-apps-scaling-failures" rel="noopener noreferrer"&gt;AI-generated apps: scaling failures&lt;/a&gt;, dev.co&lt;/li&gt;
&lt;li&gt;Repositories: &lt;a href="https://github.com/Dmitry-Fedotov-Dev/ci" rel="noopener noreferrer"&gt;ci&lt;/a&gt;, &lt;a href="https://github.com/Dmitry-Fedotov-Dev/cd" rel="noopener noreferrer"&gt;cd&lt;/a&gt;, &lt;a href="https://github.com/Dmitry-Fedotov-Dev/xk6-sip" rel="noopener noreferrer"&gt;xk6-sip&lt;/a&gt;, &lt;a href="https://github.com/Dmitry-Fedotov-Dev/kontakt" rel="noopener noreferrer"&gt;kontakt&lt;/a&gt;, &lt;a href="https://github.com/Dmitry-Fedotov-Dev/sar-review" rel="noopener noreferrer"&gt;sar-review&lt;/a&gt;, &lt;a href="https://github.com/Dmitry-Fedotov-Dev/joblox" rel="noopener noreferrer"&gt;joblox&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ci</category>
      <category>devops</category>
      <category>performance</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
