<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>Ju Lin's AI Weblog: Performance</title><subtitle>An independent research notebook on AI engineering, agents, models and the systems around them.</subtitle><id>https://julin.ai/atom/tags/performance/index.xml</id><link rel="self" type="application/atom+xml" href="https://julin.ai/atom/tags/performance/index.xml"/><link rel="alternate" type="text/html" href="https://julin.ai/tags/performance/"/><author><name>Ju Lin</name></author><updated>2026-10-31T00:00:00+13:00</updated><entry><title>Small Python v0.4.0: Close to CPython Speed</title><id>https://julin.ai/2026/10/31/small-python-v0-4-0/</id><link rel="alternate" type="text/html" href="https://julin.ai/2026/10/31/small-python-v0-4-0/"/><published>2026-10-31T00:00:00+13:00</published><updated>2026-10-31T00:00:00+13:00</updated><category term="project"/><category term="agents"/><category term="python"/><category term="c11"/><category term="performance"/><content type="html">&lt;p&gt;This is a follow-up to the &lt;a href="https://www.julin.ai/2026/10/28/small-python-project/"&gt;Small Python&lt;/a&gt; idea. I burned one more day of tokens to benchmark it and improve the performance. The setup is the same: one single Claude Code session, with &lt;code&gt;/remote-control&lt;/code&gt; enabled so that I can prompt it while I&amp;rsquo;m out. In the morning I attended a local farm event, and in the afternoon we went trick-or-treating for Halloween.&lt;/p&gt;
&lt;p&gt;The agent is capable of finding opportunities and fixing them correctly. Often it can run a few hours before it prompts me with more potential things to fix. I generally just ask it to continue.&lt;/p&gt;
&lt;p&gt;At one point it stopped and claimed it wouldn&amp;rsquo;t gain much more, while it was still 1.3x–1.5x slower than CPython. I gave it a few ideas, and now it runs at 0.98x–1.1x of CPython.&lt;/p&gt;
&lt;p&gt;In the end, I&amp;rsquo;m more than happy to ship a new version: &lt;a href="https://github.com/soasme/small-python"&gt;Small Python v0.4.0&lt;/a&gt;.&lt;/p&gt;</content></entry></feed>