<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Profiling on Chen Kai Blog</title><link>https://www.chenk.top/zh/tags/profiling/</link><description>Recent content in Profiling on Chen Kai Blog</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 27 Apr 2022 09:00:00 +0000</lastBuildDate><atom:link href="https://www.chenk.top/zh/tags/profiling/index.xml" rel="self" type="application/rss+xml"/><item><title>Python 工程实践（八）：性能优化 —— 性能分析、缓存与适时收手</title><link>https://www.chenk.top/zh/python-engineering/08-performance-and-profiling/</link><pubDate>Wed, 27 Apr 2022 09:00:00 +0000</pubDate><guid>https://www.chenk.top/zh/python-engineering/08-performance-and-profiling/</guid><description>&lt;p>Donald Knuth 那句广为流传的名言常被断章取义。完整原文是：“我们应当忽略微小的效率提升，比如 97% 的情况：过早优化是一切罪恶之源。然而，我们也不应放过那至关重要的 3% 中的良机。”后半句恰恰是重点所在——性能优化并非追求“一切皆快”，而是精准识别真正影响全局的那 3%，并集中资源将其优化。&lt;/p></description></item></channel></rss>