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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1fdedfcf16a31f08355e960dc12595c683a35eb8e56d6b27cea616ed5735d89
|
|
| MD5 |
7c782f3a3d162e2eb3eb7aa2869af4d2
|
|
| BLAKE2b-256 |
bb0fa0aeb66ae55f52fe158e880d21e7ae60790500b40b83a094d8d63cc1f98b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38b52721e0abd9d034f6d4a88f658fc91913966d5ff0744d286d84d7b24a9c28
|
|
| MD5 |
c8a3d06b70115d9694b10c716699d40a
|
|
| BLAKE2b-256 |
e89aacaf4dc0458be871661526c53d92d88428f3c6150bfea1fd8de50b567a75
|