Bug 53759 - ClientJMeterEngine perfoms unnecessary traverse using SearchByClass(TestListener)
Summary: ClientJMeterEngine perfoms unnecessary traverse using SearchByClass(TestListe...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:51 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2897