Skip to content

pganssle/noop_timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages