Quick Tips: Python 3.15 Tachyon - Profile Without Slowing Code Down
Quick Tips: Python 3.15 Tachyon - Profile Without Slowing Code Down
Plus unit tests for your LLM prompts
October 22, 2026 ยท Khuyen Tran
Grab your coffee. Here are this week's highlights.
๐ Today's Picks
Python 3.15 Tachyon - Profile Without Slowing Code Down
Problem
Python's built-in cProfile can make slow code even slower because it times every function call.
Solution
Python 3.15's Tachyon profiler reduces this overhead by checking the running function once every millisecond.
Other Tachyon features include:
- Attaching to a running program without restarting it
- Generating an interactive flame graph that makes slow functions easy to spot
๐ View Full Article
Promptfoo - Test LLM Prompts Like Unit Tests
Problem
Prompt testing often starts as a few examples pasted into a chat window.
But once your prompt changes, those examples are hard to rerun consistently across old cases, new cases, and different model providers.
Solution
Promptfoo turns prompt evaluation into unit tests written in YAML, where each test defines the input, provider, and expected behavior.
You can commit the config, review it in pull requests, and run the same tests across OpenAI, Anthropic, Gemini, or local models.
๐ฌ How was today's issue?
๐ Great ยท ๐ Meh ยท ๐ Bad
Was this email forwarded to you? Sign up now to get it in your inbox.
Want to advertise in this newsletter? Email [email protected]
ยฉ 2026 Khuyen Tran
117 S LEXINGTON ST. STE 100, Harrisonville, Missouri 64701, United States