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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

An interactive Python profiler

108 点作者 Spiritus将近 10 年前

6 条评论

jdimov9将近 10 年前
Looks awesome, I&#x27;ve been wanting something like this.<p>Trying to install it from Git, however (as the README suggests) fails, because Pip can&#x27;t find click&gt;=4.1 and urwid&gt;=1.2.1.<p>EDIT: To resolve this, before installing do this:<p><pre><code> $ pip install git+https:&#x2F;&#x2F;github.com&#x2F;mitsuhiko&#x2F;click.git $ pip install git+https:&#x2F;&#x2F;github.com&#x2F;wardi&#x2F;urwid.git </code></pre> EDIT2: Never mind, was using outdated mirror. Works just fine.
评论 #10046962 未加载
willvarfar将近 10 年前
Excellent! If they want to add flamechart-like visualization that would be excellent. Here&#x27;s one I made myself back when I was needing to profile some python: <a href="http:&#x2F;&#x2F;williamedwardscoder.tumblr.com&#x2F;post&#x2F;35134924139&#x2F;a-novel-profiler-for-python" rel="nofollow">http:&#x2F;&#x2F;williamedwardscoder.tumblr.com&#x2F;post&#x2F;35134924139&#x2F;a-nov...</a>
crdoconnor将近 10 年前
Does this work with the multiprocessing library?
JosephRedfern将近 10 年前
Looks great! Is there any impact of both the profiler and the target (or profilee?) being run under the same interpreter? I&#x27;m thinking impacts of the GIL, specifically...
varlock将近 10 年前
Would be awesome if it could be used with nosetests. I&#x27;ve just given it a spin but nosetests seems `overpowering` the profiler.
wyldfire将近 10 年前
Great contribution!