Bug 53759 - ClientJMeterEngine perfoms unnecessary traverse using SearchByClass(TestListener)
ClientJMeterEngine perfoms unnecessary traverse using SearchByClass(TestListe...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
unspecified
All All
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-08-21 21:27 UTC by Sebb
Modified: 2012-08-21 22:56 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2012-08-21 21:27:14 UTC
ClientJMeterEngine traverses the test tree using SearchByClass(TestListener).

The SearchByClass traverser does not alter the tree in any way; it only populates some internal Collections that can be queried later.

Hower, the code does not access the SearchByClass instance again, so there is no point in using it.

[Note: the other traversers do modify the test tree]
Comment 1 Philippe Mouawad 2012-08-21 22:56:53 UTC
Author: sebb
Date: Tue Aug 21 21:31:16 2012
New Revision: 1375802

URL: http://svn.apache.org/viewvc?rev=1375802&view=rev
Log:
ClientJMeterEngine perfoms unnecessary traverse using SearchByClass(TestListener)
[it appears this has always been the case]
Bugzilla Id: 53759

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/engine/ClientJMeterEngine.java
    jmeter/trunk/xdocs/changes.xml