Skip to main content

A package for calculating the time it takes to execute NOP bytecode operations

Project description

NOP Timer

This is a script that calculates how much time it takes to run a function consisting of N NOP bytecode operations (these have no effect and are usually removed as part of the peephole optimization step), as a function of N.

Installation

To use this, run pip install noop_timer. For convenience, it is probably best to use a virtual environment:

python -m virtualenv noop_venv --python=3.7
source noop_venv/bin/activate
pip install noop_timer

Use

To run, execute the module with python -m noop_timer.

Project details


Download files

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

Source Distribution

noop_timer-0.0.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

noop_timer-0.0.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page