需求卡片 #101 · 相关性 中 · 新发现

性能测量误差导致的结果不可靠

更新于 2026/9/21 13:22:43

问题概述

用户在使用自研的性能测量工具时,发现测得的吞吐量数据与实际不符,因未考虑内存和网络处理的开销,导致结果失真,影响后续决策。

痛点标签

待验证问题

证据

原话
I have something like this very recently.About a month ago I wrote a perf tool for my application to measure its network message speed. It showed I could send 3,250,000 WebSocket messages per second in my TypeScript application. If I moved each test of an experiment into its own call stack I could send 3,250,000 messages as fast as 0.002 seconds. Claude confirmed the number.It was about two weeks later I learned the number is wrong. The number would be correct if this were just a linear instruction processing problem. Actually the processing time, CPU and network handling, is about 0.08%. The other 99.92% of processing time is in memory. What was happening is the perf tool would push messages into a queue on the socket from a JavaScript loop, but the speed to process these messages and dra
原话
> For a deeper, more technical dive, check out the paper on arxiv and code on github.These links at the top point to the same page, not the paper or the code!

免责声明:本卡片由 AI 从社区讨论中提炼,属于「痛点证据」,是需求分析与验证的起点,不等同于「已验证的市场需求」。AI 存在分析局限,关键决策前请打开上方原始讨论人工复核。