0 branches
Tree Top files
Code
Clone with HTTPS:
56 years ago
..

x.async benchmarks

This folder contains cautious local benchmarks for the public x.async API. They are observation tools, not correctness tests and not portable performance claims.

Available benchmark

Run

From the repository root:

sh vlib/x/async/benchmarks/run_async_benchmark.sh

The script is serialized by design. Do not run multiple V benchmark or test runners against the same checkout/cache without isolating VTMP, VCACHE, and output paths.

Parameters

The defaults are intentionally small. Tune them locally with:

The bounded pool admission case exercises submit_with_timeout() while the pool is full and submit_with_context() after capacity opens. The timeout only bounds admission; the benchmark does not make performance assertions.

Do not commit machine-specific benchmark results as permanent truth. Tests remain the authority for functional and concurrency-safety validation.