# Tachyon gecko output: 1 row per thread, process or asyncio task

**URL:** <https://discuss.python.org/t/tachyon-gecko-output-1-row-per-thread-process-or-asyncio-task/108173>\
**Category:** Ideas\
**Created:** [July 16, 2026, 10:05am UTC](https://discuss.python.org/t/tachyon-gecko-output-1-row-per-thread-process-or-asyncio-task/108173 "2026-07-16T10:05:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfroger](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dfroger/32/36556_2.png) [@dfroger](https://discuss.python.org/u/dfroger)\
**Post date:** [July 16, 2026, 10:05am UTC](https://discuss.python.org/t/tachyon-gecko-output-1-row-per-thread-process-or-asyncio-task/108173/1 "2026-07-16T10:05:29Z")

</div>

Hi,

I’m exploring the Tachyon features, and I’m especially interested by the [Gecko format](https://docs.python.org/3.15/library/profiling.sampling.html#gecko-format) to render **timeline** profile in the Firefox Profiler, to profile services performing concurrent tasks using **threads** , **processes** or **asyncio** tasks.

The idea would be to have each concurrent task on a separate **row** in the **timeline** , whether it’s a **thread** , a **subprocess** or an **asyncio task**.

Would is be possible feature?

Testing with **3.15.0b3:**

- 3 **threads** are already properly rendered
- but 3 **processes** are rendered on 1 line
- and **asyncio tasks** fails with _‘\_remote\_debugging.AwaitedInfo’ object has no attribute ‘threads’_

See the examples here: [GitHub - dfroger/tachyon-lab: Exploring the features of the Python 3.15 sampling profiler · GitHub](https://github.com/dfroger/tachyon-lab)

 ![tdemo](https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/4/6/46eec1c026290997b08198cea9ced66a025091b3.png)

Thanks for reading!

---

<div class="post-metadata">

**Author:** ![dfroger](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dfroger/32/36556_2.png) [@dfroger](https://discuss.python.org/u/dfroger)\
**Post date:** [July 16, 2026, 11:54am UTC](https://discuss.python.org/t/tachyon-gecko-output-1-row-per-thread-process-or-asyncio-task/108173/2 "2026-07-16T11:54:52Z")

</div>

So the _–gecko --async-aware_ crash is actually already fixed: [gh-152434: Fix async-aware Gecko collection by lkollar · Pull Request #152442 · python/cpython · GitHub](https://github.com/python/cpython/pull/152442) . I’ll try the latest commit of the _3.15_ branch.

---

<div class="post-metadata">

**Author:** ![dfroger](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dfroger/32/36556_2.png) [@dfroger](https://discuss.python.org/u/dfroger)\
**Post date:** [August 10, 2026, 1:50pm UTC](https://discuss.python.org/t/tachyon-gecko-output-1-row-per-thread-process-or-asyncio-task/108173/3 "2026-08-10T13:50:17Z")

</div>

So testing with the lastest commits of `3.15`, the firefox profiler renders 1 row for all asyncio tasks.

For example, with this script:

```python
import asyncio

async def foo_1():
    await asyncio.sleep(1)

async def foo_2():
    await asyncio.sleep(2)

async def foo_3():
    await asyncio.sleep(3)

async def foo():
    await asyncio.gather(
        asyncio.create_task(foo_1()),
        asyncio.create_task(foo_2()),
        asyncio.create_task(foo_3()),
    )

async def bar_1():
    await asyncio.sleep(1)

async def bar_2():
    await asyncio.sleep(2)

async def bar():
    await asyncio.create_task(bar_1())
    await asyncio.create_task(bar_2())

async def baz_1():
    await asyncio.sleep(1)

async def baz_2():
    await asyncio.sleep(2)

async def baz():
    await asyncio.gather(
        asyncio.create_task(baz_1()),
        asyncio.create_task(baz_2()),
    )

async def request():
    await asyncio.create_task(foo())
    await asyncio.create_task(bar())
    await asyncio.create_task(baz())

asyncio.run(request())

```

```bash
python -m profiling.sampling run --async-aware --async-mode=all --gecko -o trace.json demo.py

```

We get:

 ![firefox-a1ab3b0024d](https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/c/3/c3a102d038cd0735f7ba6ccc059416b05d5a7cb3.png)

The idea would be to produce instead (by enabling the feature only when we know there not much tasks, to not end with thousand of rows):

 ![firefox-0c02beb239a](https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/a/3/a365fae8a5892513ce3e1788ac37dbd1adb77feb.png)

This image is produced by a POC of vibe-coded commits here: [GitHub - dfroger/cpython at gecko-timeline-asyncio · GitHub](https://github.com/dfroger/cpython/tree/gecko-timeline-asyncio)
