Skip to main content

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.

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.4.tar.gz (30.4 kB view details)

Uploaded Source

File details

Details for the file asmbench-0.1.4.tar.gz.

File metadata

  • Download URL: asmbench-0.1.4.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for asmbench-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e353a13a7d8995f7f95c9a0d55bd9edd287dfcc5ef6a93ce6ffa263a84989e12
MD5 eb96a05f34d3681d335c4edbc23ee19b
BLAKE2b-256 1e8cb0dbfb0084ae9813e8c148520bc7f32ade2aae5995223bcf24c358a04877

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 file

0.1.3

1 file

0.1.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page