Class peagen.plugins.evaluators.pytest_profiling.PytestProfilingEvaluator
peagen.plugins.evaluators.pytest_profiling.PytestProfilingEvaluator
PytestProfilingEvaluator(**_)
Bases: Evaluator
Fitness based on CPU time recorded by pytest-profiling.
Source code in peagen/plugins/evaluators/base.py
14 15 |
|
last_result
instance-attribute
last_result = None
run
run(workspace, bench_cmd, runs=1, **kw)
Source code in peagen/plugins/evaluators/pytest_profiling.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|