跳到正文
Simon Willison·· 13 天前AI 评分25

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 应用分析显示,64.8% 的 CPU 栈来自混合行尾保留功能,38.3% 的叶子样本来自 SequenceMatcher.find_longest_match。

来源:Simon Willison · simonwillison.net