Search the web
Sign In
New User? Sign Up
junitperf
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
percentile time report   Message List  
Reply | Forward Message #71 of 94 |

At the moment the performance test range caters for a maximum
execution time for a test case. How could one go about determining
the average time for the test case being executed n times with m
number of conurrent threads?

Further to that, how could one add in some other performance results
calculation formulas such as 90th percentile?

One approach I have looked into to so write an ElapsedTimeTest which
extends TimedTest. The printElapsedTime(long elapsedTime) method
which writes each test elapsedTime to a file.

Then I have another test case called AverageLoadTest which has
assert methods for minimum duration, maximum duration, median
duration, mean duration. The minimum and maximum can also take a
ratio (0.0 to 1.0) which defines the percentile for reporting.

This means though that if I have test case MyClassTestCase, I then
need to have MyClassPerformanceTest to execute the test case, and
also have MyClassAverageLoadTest to assert the results of the
performance test for MyClass.

Is there anyway I can combine all this together, perhaps as a single
test suite? The average load test must be executed after the elapsed
time tests complete.

Thanks,

Peter






Thu Mar 10, 2005 9:31 am

woppi73
Offline Offline
Send Email Send Email

Forward
Message #71 of 94 |
Expand Messages Author Sort by Date

At the moment the performance test range caters for a maximum execution time for a test case. How could one go about determining the average time for the test...
woppi73
Offline Send Email
Mar 10, 2005
9:32 am

... Could you decorate one with another, similar to the way TimedTest and LoadTest can be combined? Mike...
Mike Clark
clarkware
Offline Send Email
Mar 10, 2005
3:53 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help