TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Profiling Python in Production

177 点作者 mau超过 9 年前

5 条评论

mau超过 9 年前
Here is a profiler developed by dropbox using the same technique described in the article:<p>- <a href="https:&#x2F;&#x2F;blogs.dropbox.com&#x2F;tech&#x2F;2012&#x2F;07&#x2F;plop-low-overhead-profiling-for-python&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.dropbox.com&#x2F;tech&#x2F;2012&#x2F;07&#x2F;plop-low-overhead-pro...</a><p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;bdarnell&#x2F;plop" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bdarnell&#x2F;plop</a>
sitkack超过 9 年前
Reducing CPU load also<p>* reduces power usage, wear and tear on hardware<p>* gives more capacity for traffic surges<p>* gives more headroom for new features<p>* enables running on a smaller instance<p>This isn&#x27;t an argument against slow code, more of a suggestion to tune out unnecessary work.
评论 #10811677 未加载
评论 #10811781 未加载
sanxiyn超过 9 年前
Here is another Python profiler intended for live use: <a href="https:&#x2F;&#x2F;github.com&#x2F;what-studio&#x2F;profiling" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;what-studio&#x2F;profiling</a>
iamspoilt超过 9 年前
This question might be bit naive but how is this approach any better or different from monitoring tools like NewRelic which does the profiling for you?
评论 #10813572 未加载
评论 #10811874 未加载
moonchrome超过 9 年前
&gt;It’s a large Python application (~30k LOC) which handles syncing via IMAP, SMTP, ActiveSync, and other protocols.<p>In what context is 30k LOC a large application ? 30k LOC is small enough that one programmer can write and easily have an overview of the entire codebase. Maybe it&#x27;s a typo and it&#x27;s 300k LOC
评论 #10813186 未加载
评论 #10815782 未加载