On 06/09/2008, Ian Blavins <[EMAIL PROTECTED]> wrote:
> G'day
>
>
>
>  I've been trying to identify the cause of a major loss of throughput in
>  my JMeter scripts (note, in the throughput of the scripts through the
>  JMeter engine, not loss of throughput on the target server).
>
>
>
>  It appears the If controller is very expensive in JMeter throughput
>  terms.
>

Could well be so - it has to create a Javascript interpreter.

>
>  If I wrap the sampler call of an existing test plan with an If
>  controller that has an expression of "true" == "true" then the
>  throughput of my scripts drops from around 36,000 scripts per second to
>  around 2,200 scripts per second.
>

How many threads?

>
>  This is jmeter 2.3.1 with the client on Windows XP and remote jmeter
>  hosts on an IBM p570 running AIX.
>

Current version is 2.3.2

>
>
>  Is there a known slowness in the If controller ?
>

What happens if you replace the If Controller with a simple controller
or a loop controller with count=1?

That would be a fairer comparison.

>
>
>
>  (These are test scripts designed to determine how to get high JMeter
>  throughput so they don't do very much. In my real scripts half the
>  expression is of course a variable computed in earlier test plan steps.)
>
>
>
>  I can easily get around this since my sampler is a custom written Java
>  sampler. I just have to pass the test variable into the sampler and let
>  it decide whether to execute.
>
>
>
>
>
>
>
>  Ian Blavins
>  Software performance specialist
>
>  .
>
>  TEMENOS
>  The Banking Software Company
>
>  .
>
>  PeopleBuilding 2, Maylands Av
>
>  Hemel Hempstead   UK   HP2 4NW
>
>  .
>
>  T:  +44 (0) 1442 431 106
>  E:  [EMAIL PROTECTED]
>
>  .
>
>  www.temenos.com <http://www.temenos.com>
>
>  .
>
>  P Consider the environment. Please don't print this e-mail unless you
>  really need to.
>
>
>
>
>  Disclaimer:
>  If you have received this e-mail in error please notify the sender.
>  Please note that any views or opinions presented in this e-mail are solely
>  those of the author and do not necessarily represent those of TEMENOS.
>  We recommend that you check this e-mail and any attachments against viruses.
>  TEMENOS accepts no liability for any damage caused by any malicious code
>  or virus transmitted by this e-mail.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to