Skip to content

Commit c2e1adb

Browse files
authored
gh-287: Add TaskGroups variants to async_tree benchmarks (#293)
1 parent c024b58 commit c2e1adb

15 files changed

+116
-8
lines changed

pyperformance/data-files/benchmarks/MANIFEST

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ async_tree_eager <local:async_tree>
1111
async_tree_eager_cpu_io_mixed <local:async_tree>
1212
async_tree_eager_io <local:async_tree>
1313
async_tree_eager_memoization <local:async_tree>
14+
async_tree_tg <local:async_tree>
15+
async_tree_cpu_io_mixed_tg <local:async_tree>
16+
async_tree_io_tg <local:async_tree>
17+
async_tree_memoization_tg <local:async_tree>
18+
async_tree_eager_tg <local:async_tree>
19+
async_tree_eager_cpu_io_mixed_tg <local:async_tree>
20+
async_tree_eager_io_tg <local:async_tree>
21+
async_tree_eager_memoization_tg <local:async_tree>
1422
asyncio_tcp <local>
1523
asyncio_tcp_ssl <local:asyncio_tcp>
1624
concurrent_imap <local>
@@ -82,6 +90,7 @@ xml_etree <local>
8290

8391

8492
#[groups]
93+
#asyncio
8594
#startup
8695
#regex
8796
#serialize
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
requires-python = ">=3.11"
3+
dynamic = ["version"]
4+
5+
[tool.pyperformance]
6+
name = "async_tree_cpu_io_mixed_tg"
7+
extra_opts = ["cpu_io_mixed", "--task-groups"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
15
[tool.pyperformance]
26
name = "async_tree_eager"
37
extra_opts = ["eager"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
15
[tool.pyperformance]
26
name = "async_tree_eager_cpu_io_mixed"
37
extra_opts = ["eager_cpu_io_mixed"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
5+
[tool.pyperformance]
6+
name = "async_tree_eager_cpu_io_mixed_tg"
7+
extra_opts = ["eager_cpu_io_mixed", "--task-groups"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
15
[tool.pyperformance]
26
name = "async_tree_eager_io"
37
extra_opts = ["eager_io"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
5+
[tool.pyperformance]
6+
name = "async_tree_eager_io_tg"
7+
extra_opts = ["eager_io", "--task-groups"]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
15
[tool.pyperformance]
26
name = "async_tree_eager_memoization"
37
extra_opts = ["eager_memoization"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
5+
[tool.pyperformance]
6+
name = "async_tree_eager_memoization_tg"
7+
extra_opts = ["eager_memoization", "--task-groups"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
requires-python = ">=3.12"
3+
dynamic = ["version"]
4+
5+
[tool.pyperformance]
6+
name = "async_tree_eager_tg"
7+
extra_opts = ["eager", "--task-groups"]

0 commit comments

Comments
 (0)