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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file noop_timer-0.0.1.tar.gz.

File metadata

  • Download URL: noop_timer-0.0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for noop_timer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f1fdedfcf16a31f08355e960dc12595c683a35eb8e56d6b27cea616ed5735d89
MD5 7c782f3a3d162e2eb3eb7aa2869af4d2
BLAKE2b-256 bb0fa0aeb66ae55f52fe158e880d21e7ae60790500b40b83a094d8d63cc1f98b

See more details on using hashes here.

File details

Details for the file noop_timer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: noop_timer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for noop_timer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38b52721e0abd9d034f6d4a88f658fc91913966d5ff0744d286d84d7b24a9c28
MD5 c8a3d06b70115d9694b10c716699d40a
BLAKE2b-256 e89aacaf4dc0458be871661526c53d92d88428f3c6150bfea1fd8de50b567a75

See more details on using hashes here.

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