Metadata-Version: 2.1
Name: script-benchmark-tools
Version: 0.5.4
Summary: Benchmark Python Scripts
Home-page: https://github.com/sarcoma/python-script-benchmark-tools
Author-email: sean@orderandchaoscreative.com
License: UNKNOWN
Project-URL: Order & Chaos Creative, https://orderandchaoscreative.com
Project-URL: Bug Reports, https://github.com/sarcoma/python-script-benchmark-tools/issues
Project-URL: Source, https://github.com/sarcoma/python-script-benchmark-tools
Description: # Python Script Benchmark Tools
        
        Benchmark script run times, print tables of results and display plots.
        
        ## Install
        
        `pip install script_benchmark_tools`
        
        ##
        
        See examples folder for usage.
        
        ## Sample Output
        
        
        Proofs
        ------
        insertion_sort [1, 2, 3, 4, 5, 6]
        selection_sort [1, 2, 3, 4, 5, 6]
        
        Benchmarks
        ----------
        N = 10
        ------
        |  min          |  avg          |  max          |  func            |  name     |
        |---------------|---------------|---------------|------------------|-----------|
        |  0.000008106  |  0.000018342  |  0.000201225  |  insertion_sort  |  sarcoma  |
        |  0.000008821  |  0.000029361  |  0.001542091  |  selection_sort  |  sarcoma  |
        
        N = 50
        ------
        |  min          |  avg          |  max          |  func            |  name     |
        |---------------|---------------|---------------|------------------|-----------|
        |  0.000027895  |  0.000030518  |  0.000068188  |  insertion_sort  |  sarcoma  |
        |  0.000089884  |  0.000214245  |  0.004812956  |  selection_sort  |  sarcoma  |
        
        N = 100
        ------
        |  min          |  avg          |  max          |  func            |  name     |
        |---------------|---------------|---------------|------------------|-----------|
        |  0.000061750  |  0.000069265  |  0.000296116  |  insertion_sort  |  sarcoma  |
        |  0.000331640  |  0.000390785  |  0.000853777  |  selection_sort  |  sarcoma  |
        
        N = 500
        ------
        |  min          |  avg          |  max          |  func            |  name     |
        |---------------|---------------|---------------|------------------|-----------|
        |  0.000585079  |  0.000774384  |  0.005968094  |  insertion_sort  |  sarcoma  |
        |  0.008999825  |  0.015488691  |  0.050533056  |  selection_sort  |  sarcoma  |
        
        N = 1000
        ------
        |  min          |  avg          |  max          |  func            |  name     |
        |---------------|---------------|---------------|------------------|-----------|
        |  0.001787901  |  0.009231312  |  0.057305098  |  insertion_sort  |  sarcoma  |
        |  0.037415981  |  0.047663388  |  0.092668772  |  selection_sort  |  sarcoma  |
        
        ![Benchmark Plot](https://github.com/sarcoma/python-script-benchmark-tools/blob/master/examples/benchmark.png)
        
Keywords: table print development display terminal command-line-tools
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.5, <4
Description-Content-Type: text/markdown
Provides-Extra: test
Provides-Extra: dev
