semvec/pypi-packages huggingface dataset:
optmization-lib 0.0.5
Measures program speed
Requires Python: >=3.6

# Optimization Library 

The optimization library measures the general speed of a program.


## Example Usage:
First, import the library:

    import OptimizationLibrary 

Next, the library needs to be initialized:

    opt = OptimizationLibrary()

Finally, we can start and stop the timer:
    
    opt.start_timer()
    opt.end_timer()

## Example File

    import optimization
    def test():
        opt = optimization.OptimizationLibrary() 
        opt.start_timer()
        your_function()
        opt.end_timer()
    if __name__ == '__main__':
        test()

### Additional Notes: 

This is a developer tool. \
The library has a small performance window (to account for natural program variance). \
The library can also be initialized with an optional parameter to show performance increases/decreases visually:        

    opt = optimization.OptimizationLibrary(color=True)