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


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.

Files for noop-timer, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size noop_timer-0.0.1-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size noop_timer-0.0.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page