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.3.tar.gz
(31.3 kB
view details)
File details
Details for the file asmbench-0.1.3.tar.gz
.
File metadata
- Download URL: asmbench-0.1.3.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 621ee8d80c476cf54d48e8ebf6d38d599b951651be3d0f709fa991937be7d858 |
|
MD5 | d22f41d95ebd17a39d41cfe36d66312b |
|
BLAKE2b-256 | 722fe2ac7d24b8effb8e4d61979854b6235b5f70743eeeab23afbcffa9ac6023 |