All Downloads are FREE. Search and download functionalities are using the official Maven repository.

robotframework-2.7.7.proto.profiling.profile.py Maven / Gradle / Ivy

The newest version!
from robot import run as run_robot
import cProfile
import pstats


filename = 'robot.profile'
cProfile.run('run_robot("/home/husa/workspace/robotframework/atest/testdata/misc/")', filename)
p = pstats.Stats(filename)
p.strip_dirs().sort_stats(-1).print_stats()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy