Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

script-benchmark-tools

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

script-benchmark-tools

Benchmark Python Scripts

  • 0.6.8
  • Source
  • PyPI
  • Socket score

Maintainers
1

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

minavgmaxfuncname
0.0000081060.0000183420.000201225insertion_sortsarcoma
0.0000088210.0000293610.001542091selection_sortsarcoma

N = 50

minavgmaxfuncname
0.0000278950.0000305180.000068188insertion_sortsarcoma
0.0000898840.0002142450.004812956selection_sortsarcoma

N = 100

minavgmaxfuncname
0.0000617500.0000692650.000296116insertion_sortsarcoma
0.0003316400.0003907850.000853777selection_sortsarcoma

N = 500

minavgmaxfuncname
0.0005850790.0007743840.005968094insertion_sortsarcoma
0.0089998250.0154886910.050533056selection_sortsarcoma

N = 1000

minavgmaxfuncname
0.0017879010.0092313120.057305098insertion_sortsarcoma
0.0374159810.0476633880.092668772selection_sortsarcoma

Benchmark Plot

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc