跳到正文
原文
Simon Willison·· 7 天前AI 评分23

用 Python 3.15 内置 `profiling.sampling` 剖析 web-edit:火焰图与源码热力图

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

AI 导读

Simon Willison 用 Python 3.15 内置 `profiling.sampling` 剖析 web-edit,发现 `preserve_endings` 占 15,296 个 CPU 栈的 64.8%,`SequenceMatcher.find_longest_match` 贡献 38.3% 叶子样本。

来源:Simon Willison · simonwillison.net