Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
asmbench-0.1.2.tar.gz (30.6 kB) Copy SHA256 hash SHA256 Source None Sep 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page