What I want to do is run the profiler for a series of repeated tests.
Between each iteration of the test the profiler should stop, set a unique file name and generate the output file using .shutdown().
for ( …..){
Profile.clear();
Profile.start();
testBody();
Profile.stop();
Profile.setFileName("logs/testIteration-"+i+".xml");
Profile.shutdown();
}
Is this possible ?
Jeremy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What I want to do is run the profiler for a series of repeated tests.
Between each iteration of the test the profiler should stop, set a unique file name and generate the output file using .shutdown().
for ( …..){
Profile.clear();
Profile.start();
testBody();
Profile.stop();
Profile.setFileName("logs/testIteration-"+i+".xml");
Profile.shutdown();
}
Is this possible ?
Jeremy