A
adamomitcheney
Hi All,
I have a few questions about the benchmark module and performance
testing in general - my apologies in advance because the questions may
be outside the scope of this group. What I'm actually trying to do is
to come up with an objective measure of the performance of an
application (ClearCase) so that we can play with a variety of
parameters and get an idea of the relative value of different changes.
My script is very simple, really - it sets up the test environment
(creates a couple of views) then runs a subroutine that executes a few
ClearCase commands (mostly getting information) using backticks. I'm
simply using timethis() to measure a hundred million runs of this
subroutine. Finally it cleans up after itself.
I've just run it a few times. First time I got (what looked like) a
meaningful time, next two I got negative times and a warning that I
wasn't using enough iterations - these were identical runs, performed
within moments of each other.
My questions:
Is this giving me what I hope - that is, an indication of the time that
it takes to execute the *ClearCase* commands?
If not, is there another method I could use?
Thanks - Adam...
I have a few questions about the benchmark module and performance
testing in general - my apologies in advance because the questions may
be outside the scope of this group. What I'm actually trying to do is
to come up with an objective measure of the performance of an
application (ClearCase) so that we can play with a variety of
parameters and get an idea of the relative value of different changes.
My script is very simple, really - it sets up the test environment
(creates a couple of views) then runs a subroutine that executes a few
ClearCase commands (mostly getting information) using backticks. I'm
simply using timethis() to measure a hundred million runs of this
subroutine. Finally it cleans up after itself.
I've just run it a few times. First time I got (what looked like) a
meaningful time, next two I got negative times and a warning that I
wasn't using enough iterations - these were identical runs, performed
within moments of each other.
My questions:
Is this giving me what I hope - that is, an indication of the time that
it takes to execute the *ClearCase* commands?
If not, is there another method I could use?
Thanks - Adam...