Files @ 6f9ec51a8142
Branch filter:

Location: OneEye/src/benchmark.py

Laman
moving responsibilities
GUI got its own ImageAnalyzer instance for doing previews
accordingly changed APIs to keep only useful messages
ImageAnalyzer params wrapped in a separate class
import sys
import cProfile

from tests.testEngine import TestTransitions
from tests.testStatebag import TestStateBag


arg=sys.argv[1]

if arg=="engine":
	t=TestTransitions()
	cProfile.run(r"""t.testReal()""")
elif arg=="statebag":
	t=TestStateBag()
	cProfile.run(r"""t.testNoise()""")