File: run_benchmark_code.py

package info (click to toggle)
lmfit-py 1.3.3-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,332 kB
  • sloc: python: 13,071; makefile: 130; sh: 30
file content (13 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
from benchmarks.benchmarks import MinimizerClassSuite, MinimizeSuite

mtest = MinimizeSuite()
mtest.setup()
out = mtest.time_minimize()
out = mtest.time_minimize_large()
out = mtest.time_minimize_withnan()
out = mtest.time_confinterval()

mtest = MinimizerClassSuite()
mtest.setup()
out = mtest.time_differential_evolution()
out = mtest.time_emcee()