aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-18 01:57:02 +0900
committernsfisis <nsfisis@gmail.com>2026-08-18 01:57:02 +0900
commitaf277e21733948df122ffc210343c9b54cade7a9 (patch)
treea005a10977302daa69f35f9788b6db797dedc106 /Cargo.toml
parent403671544a046f17439e1be8a56931c1904f86cd (diff)
downloadphp-shirabe-af277e21733948df122ffc210343c9b54cade7a9.tar.gz
php-shirabe-af277e21733948df122ffc210343c9b54cade7a9.tar.zst
php-shirabe-af277e21733948df122ffc210343c9b54cade7a9.zip
test(process-executor): benchmark execute_async with criterion
The `single` group compares the argv form against the string form, which goes through an extra `/bin/sh -c`; the `concurrent` group varies the job count around `max_jobs` so the semaphore throttle is visible as a throughput knee. `execute_async`'s futures are `!Send`, so they run on a current-thread runtime and overlap only through `join_all` within a single task. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 574e800a..657f7da6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,6 +30,7 @@ async-trait = "0.1.89"
base64 = "0.22.1"
bzip2 = "0.6.1"
chrono = { version = "0.4.44", features = ["serde"] }
+criterion = { version = "0.8.2", features = ["async_tokio", "html_reports"] }
fastrand = "2.4.1"
flate2 = "1.1.9"
futures = "0.3.32"