import pstats
import cProfile

from Class_RobotTest import StressTest

Test = StressTest()
cProfile.run("Test.MoveJ(50)", "my_func_stats")  # Chance arg to "Test.MoveL(50)" to test linear movement with low latency

p = pstats.Stats("my_func_stats")
p.sort_stats("cumulative").print_stats()