跳到正文
Simon Willison·· 2026-10-13AI 评分43

用 Python 3.15 为 web-edit 做性能分析:火焰图与源码热图

Profiling web-edit with Python 3.15: flame graphs and source heatmaps

AI 导读

Simon Willison 使用 Python 3.15 内置的 `profiling.sampling` 分析未修改的 web-edit 应用,发现混合换行符保留占据了繁忙编辑负载的主要开销。

来源:Simon Willison · simonwillison.net