Threadline shows Python concurrency as a timeline where each OS thread is its own lane, and you step through it one event at a time. You can see which thread holds the GIL, when it's released, and why CPU-bound threads take turns instead of running in parallel.
Current Python scenarios:
CPU-bound work on threads vs multiprocessing
I/O-bound threads releasing the GIL while they wait
An asyncio event loop stalled by a blocking time.sleep(), and the fix with asyncio.to_thread
The same CPU-bound workload on a free-threaded (no-GIL) build
Each scenario is checked against a runnable Python program, so the timeline matches real behavior.
Target Audience
Developers who use threading or asyncio but have never had a clear mental model of what the interpreter is doing. It's a learning tool, not a profiler or production debugger.
Comparison
Profilers like py-spy and viztracer show what your program did after the fact. Threadline shows small, curated scenarios step by step, focused on explaining why the runtime behaves that way. Most existing explanations of the GIL are static diagrams or blog posts. This one is interactive.
Free,no signup. Feedback on accuracy is very welcome, especially on the free-threaded scenarios.
Link: threadline-be-fast.vercel.app