You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2011/10/06 20:54:44 UTC

svn commit: r1179765 - /jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Author: sebb
Date: Thu Oct  6 18:54:44 2011
New Revision: 1179765

URL: http://svn.apache.org/viewvc?rev=1179765&view=rev
Log:
Possible efficiency fix

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java?rev=1179765&r1=1179764&r2=1179765&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java Thu Oct  6 18:54:44 2011
@@ -403,6 +403,8 @@ public class JMeterThread implements Run
                 delay(pack.getTimers());
                 Sampler sampler = pack.getSampler();
                 sampler.setThreadContext(threadContext);
+                // TODO should this set the thread names for all the subsamples?
+                // might be more efficient than fetching the name elsewehere
                 sampler.setThreadName(threadName);
                 TestBeanHelper.prepare(sampler);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org