跳到正文
Simon Willison·· 1 天前AI 评分28

使用 Python 3.15 分析 web-edit:火焰图与源码热图

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

AI 导读

使用 Python 3.15 内置的 `profiling.sampling` 分析 web-edit 应用,发现混合换行符保留功能在编辑负载中占主导,`preserve_endings` 出现在 64.8% 的 CPU 栈中。

来源:Simon Willison · simonwillison.net