DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11369>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11369

Poor performance under JDK 1.4.1_01





------- Additional Comments From [EMAIL PROTECTED]  2002-08-01 16:58 -------
On the JMeterThread.delay() issue:

I've observed a Thread.sleep(0) will be called even if there are no timers. To
my undestanding, this should be equivalent to Thread.yield(), and would possibly
delay that particular thread but should not affect overall throughput
significantly in a test with many threads like mine (I run 10).

I've tried adding an if (run>0) just before the Thread.sleep() call. Performance
has not improved at all (actually, it has reduced by about 3% in my
measurements, but that's probably measurement noise).

So I guess the 11% of time reported by OptimizeIt is a measurement error
(probably the time spent between this thread relinquishing its timeslice and
another thread getting ready to run).

Conclusion: the only candidates for significant improvement are now
URLEncoder.encode() and StringCoding.encode().

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

Reply via email to