<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CProfile on Daniel's Tech Blog</title><link>https://tech.daniellbastos.com.br/tags/cprofile/</link><description>Recent content in CProfile on Daniel's Tech Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 05 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tech.daniellbastos.com.br/tags/cprofile/index.xml" rel="self" type="application/rss+xml"/><item><title>tottime = 0 doesn’t mean fast</title><link>https://tech.daniellbastos.com.br/posts/tottime-zero-doesnt-mean-fast/</link><pubDate>Sun, 05 Apr 2026 00:00:00 +0000</pubDate><guid>https://tech.daniellbastos.com.br/posts/tottime-zero-doesnt-mean-fast/</guid><description>&lt;p&gt;Adam Johnson released a new library recently called &lt;a href="https://adamj.eu/tech/2026/04/03/python-introducing-profiling-explorer/"&gt;profiling-explorer&lt;/a&gt;. A browser-based interface for &lt;code&gt;.pstats&lt;/code&gt; files, the binary output that &lt;code&gt;cProfile&lt;/code&gt; writes to disk when you profile Python code. Fancy and friendly UI, kind of tool that makes a familiar workflow suddenly feel less like archaeology.&lt;/p&gt;
&lt;p&gt;Looking at it triggered a question that had nothing to do with the tool itself. What&amp;rsquo;s actually in there the &lt;code&gt;.pstats&lt;/code&gt; files? How it gets produced. What it means when &lt;code&gt;cumtime&lt;/code&gt; on a function is 20 times larger than &lt;code&gt;tottime&lt;/code&gt;.
The tool was the rock. The investigation was the wave.&lt;/p&gt;</description></item></channel></rss>