A Benchmark Toolkit for Assembly Instructions Using the LLVM JIT
Project description
asmbench
A benchmark toolkit for assembly instructions using the LLVM JIT.
Usage
To benchmark latency and throughput of a 64bit integer add use the following command:
python -m asmbench 'add {src:i64:r}, {srcdst:i64:r}'
To benchmark two instructions interleaved use this:
python -m asmbench 'add {src:i64:r}, {srcdst:i64:r}' 'sub {src:i64:r}, {srcdst:i64:r}'
To find out more add -h for help and -v for verbose mode.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asmbench-0.1.2.tar.gz
(30.6 kB
view details)
File details
Details for the file asmbench-0.1.2.tar.gz
.
File metadata
- Download URL: asmbench-0.1.2.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66c0fe0b993d99092819f193ed07f4e8032a0a32a9f8cdb268cabcfed7fe454 |
|
MD5 | f86d13106179b2a34ecc7ea04576f7c9 |
|
BLAKE2b-256 | f2f86c084d6e1f8172aaff9b61349e44b9fb5b3577c1c778802e3d5406a7513c |