asv_bench_tachyon
ASV benchmark type plugin (same contract as asv_bench_memray).
Defines sample_* / Sample* benchmarks. asv run stores a number
(estimated exclusive time per call from Python 3.15 Tachyon samples) in results
for history, compare, and graphs.
There is no separate CLI package. Install this into the benchmark environment
and write sample_* functions.
Install
pip install asv_bench_tachyon
Python >= 3.15 (needs profiling.sampling). Put it on the ASV matrix:
{
"matrix": {
"req": {
"pip+asv_bench_tachyon": [""]
}
}
}
Benchmark
class Suite:
def sample_hot_loop(self):
s = 0
for i in range(200_000):
s += i * i
return s
sample_hot_loop.sample_mode = "cpu" # wall | cpu | gil
sample_hot_loop.sample_duration = 0.25 # seconds of sampling
asv run --bench sample_hot_loop
Discovery contract
- Distribution name starts with
asv_bench asv_bench_tachyon/benchmarks/*.pyexportsexport_as_benchmark = [SampleTimeBenchmark]
Same as memray. No asv profile GUI, no standalone CLI.
License
MIT.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asv_bench_tachyon-0.1.1.tar.gz.
File metadata
- Download URL: asv_bench_tachyon-0.1.1.tar.gz
- Upload date:
- Size: 230.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39f40faf6546f1c398f21fde31e1d1f9f4bd1369cc2d8a7f1a864d5851abc567
|
|
| MD5 |
4ab4283f9d11b876d9e96df4168aa072
|
|
| BLAKE2b-256 |
0486fa4ec65fa62009bc55a8985e65b26d3b13b64758eb78009cf898785d476f
|
File details
Details for the file asv_bench_tachyon-0.1.1-py3-none-any.whl.
File metadata
- Download URL: asv_bench_tachyon-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a979f127e806fdf78c5910871ff4acca8811d4ee32d702f98a0dc2941218758
|
|
| MD5 |
ff57f0fdb655471a8014066f5ce6ac7a
|
|
| BLAKE2b-256 |
21a0c23f388c42b54e40d928306d13fd770070cfaa8fcf7a835b8a97c1f22192
|