TPS (understanding)

Darren Ball <[email protected]> Thu, 5 Nov 2015 16:04:00 -0500
Newsgroups gmane.comp.java.grinder.user
Message-ID <CA+YPNhdmCfyPXegPwG4pZF9u03mWVD-0HRvbHTawDKJbV4WcAw@mail.gmail.com>
--===============7120342791425143916==
Content-Type: multipart/alternative; boundary=047d7bdc1bd06fe8610523d1780a

--047d7bdc1bd06fe8610523d1780a
Content-Type: text/plain; charset=UTF-8

Hi All,
I know this has been discussed many times, but I am sort of unclear of how
these are calculated.

I tested with a single test running for 30 seconds.

My single agent outputs the following statistics table in the in the log
(only 1 test):

2015-11-05 20:16:35,624 INFO  i-4d37c394-4 thread-0 [ run-129 ]: shut down

2015-11-05 20:16:35,624 INFO  i-4d37c394-4 thread-0: finished 129 runs

2015-11-05 20:16:35,626 INFO  i-4d37c394-4 : STARTTIME: 2015-11-05
20:16:05.486000 UTC

2015-11-05 20:16:35,626 INFO  i-4d37c394-4 : ENDTIME: 2015-11-05
20:16:35.625000 UTC

2015-11-05 20:16:35,628 INFO  i-4d37c394-4 : elapsed time is 30061 ms

2015-11-05 20:16:35,628 INFO  i-4d37c394-4 : Final statistics for this
process:

2015-11-05 20:16:35,636 INFO  i-4d37c394-4 :

             Tests        Errors       Mean Test    Test Time    TPS


                                       Time (ms)    Standard


                                                    Deviation


                                                    (ms)



Test 3       129          0            214.25       115.06       4.29
    "test1"

Totals       129          0            214.25       115.06       4.29



I would assume there should be some sort of correlation between this TPS
with the individual test statistics gathered immediately after test
completion on the console:

{"status":{"sample-count":48,"state":"Recording","description":"Collecting
samples: 48"},"columns":["Tests","Errors","Mean Test Time (ms)","Test Time
Standard Deviation (ms)","TPS","Peak
TPS"],"tests":[{"test":3,"description":"test1","statistics":[129,0,214.24806201550388,115.06486414783834,2.743688453112704,8.0]}],"totals":[129,0,214.24806201550388,115.06486414783834,2.743688453112704,8.0]}

As you can see both test and totals are the same (1 test).  The Tests,
Errors, Mean, Stddev are all inline with what is reported on the agent for
this run.  TPS and Peak TPS are somewhat confusing at the moment, and a
little clarity on how these were calculated would be great.

The agent is reporting 4.29 TPS for the total run.   The console is showing
2.74...


Any insight as to why these differ would be great.


Thanks,

Darren

--047d7bdc1bd06fe8610523d1780a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi All,<div>I know this has been discussed many times, but=
 I am sort of unclear of how these are calculated.</div><div><br></div><div=
>I tested with a single test running for 30 seconds.</div><div><br></div><d=
iv>My single agent outputs the following statistics table in the in the log=
 (only 1 test):</div><div><br></div><div>







<p class=3D""><span class=3D"">2015-11-05 20:16:35,624 INFO=C2=A0 i-4d37c39=
4-4 thread-0 [ run-129 ]: shut down</span></p>
<p class=3D""><span class=3D"">2015-11-05 20:16:35,624 INFO=C2=A0 i-4d37c39=
4-4 thread-0: finished 129 runs</span></p>
<p class=3D""><span class=3D"">2015-11-05 20:16:35,626 INFO=C2=A0 i-4d37c39=
4-4 : STARTTIME: 2015-11-05 20:16:05.486000 UTC</span></p>
<p class=3D""><span class=3D"">2015-11-05 20:16:35,626 INFO=C2=A0 i-4d37c39=
4-4 : ENDTIME: 2015-11-05 20:16:35.625000 UTC</span></p>
<p class=3D""><span class=3D"">2015-11-05 20:16:35,628 INFO=C2=A0 i-4d37c39=
4-4 : elapsed time is 30061 ms</span></p>
<p class=3D""><span class=3D"">2015-11-05 20:16:35,628 INFO=C2=A0 i-4d37c39=
4-4 : Final statistics for this process:</span></p>
<p class=3D""><span class=3D"">2015-11-05 20:16:35,636 INFO=C2=A0 i-4d37c39=
4-4 :=C2=A0</span></p>
<p class=3D""><span class=3D"">=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 Tests=C2=A0 =C2=A0 =C2=A0 =C2=A0 Errors =C2=A0 =C2=A0 =C2=A0 Mean Test=
=C2=A0 =C2=A0 Test Time=C2=A0 =C2=A0 TPS =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
</span></p>
<p class=3D""><span class=3D"">=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Time (ms)=C2=A0 =C2=A0 Standard =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</span></p>
<p class=3D""><span class=3D"">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Deviatio=
n=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</span></p>
<p class=3D""><span class=3D"">=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (ms) =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</=
span></p>
<p class=3D""><span class=3D""></span><br></p>
<p class=3D""><span class=3D"">Test 3 =C2=A0 =C2=A0 =C2=A0 129=C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 214.25 =C2=
=A0 =C2=A0 =C2=A0 115.06 =C2=A0 =C2=A0 =C2=A0 4.29=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 &quot;test1&quot;</span></p>
<p class=3D""><span class=3D"">Totals =C2=A0 =C2=A0 =C2=A0 129=C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 214.25 =C2=
=A0 =C2=A0 =C2=A0 115.06 =C2=A0 =C2=A0 =C2=A0 4.29=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0</span></p><p class=3D""><span class=3D""><br></span></p><p class=
=3D""><span class=3D"">I would assume there should be some sort of correlat=
ion between this TPS with the individual test statistics gathered immediate=
ly after test completion on the console:</span></p><p class=3D""><span clas=
s=3D"">







</span></p><p class=3D""><span class=3D"">{&quot;status&quot;:{&quot;sample=
-count&quot;:48,&quot;state&quot;:&quot;Recording&quot;,&quot;description&q=
uot;:&quot;Collecting samples: 48&quot;},&quot;columns&quot;:[&quot;Tests&q=
uot;,&quot;Errors&quot;,&quot;Mean Test Time (ms)&quot;,&quot;Test Time Sta=
ndard Deviation (ms)&quot;,&quot;TPS&quot;,&quot;Peak TPS&quot;],&quot;test=
s&quot;:[{&quot;test&quot;:3,&quot;description&quot;:&quot;test1&quot;,&quo=
t;statistics&quot;:[129,0,214.24806201550388,115.06486414783834,2.743688453=
112704,8.0]}],&quot;totals&quot;:[129,0,214.24806201550388,115.064864147838=
34,2.743688453112704,8.0]}</span></p><p class=3D"">As you can see both test=
 and totals are the same (1 test).=C2=A0 The Tests, Errors, Mean, Stddev ar=
e all inline with what is reported on the agent for this run.=C2=A0 TPS and=
 Peak TPS are somewhat confusing at the moment, and a little clarity on how=
 these were calculated would be great.</p><p class=3D"">The agent is report=
ing 4.29 TPS for the total run. =C2=A0 The console is showing 2.74...</p><p=
 class=3D""><span class=3D""><br></span></p><p class=3D""><span class=3D"">=
Any insight as to why these differ would be great.</span></p><p class=3D"">=
<span class=3D""><br></span></p><p class=3D""><span class=3D"">Thanks,</spa=
n></p><p class=3D""><span class=3D"">Darren</span></p></div></div>

--047d7bdc1bd06fe8610523d1780a--


--===============7120342791425143916==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============7120342791425143916==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use

--===============7120342791425143916==--