DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42405>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42405 Summary: LdapExtSampler.sample use StringBuilder instead of String1 + String2 Product: JMeter Version: unspecified Platform: All OS/Version: All Status: NEW Keywords: PatchAvailable Severity: enhancement Priority: P3 Component: Main AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] LdapExtSampler.sample(...) uses a lot of "String1" + "String2" to generate a message for the SamplerResult's responseData. Imho using a StringBuilder is faster and less memory intensive. I wrote a patch to make LdapExtSampler.sample(...) use a StringBuilder. Running JMeter in a profiler shows that the patched LdapExtSampler performs better. The performance increase is not that big, but I think it is worth it. The functionalty of the sampler is not changed, imho. The patch is against revision 537585 of the jmeter svn trunk. If there is a problem with the patch or the patch format feel free to contact me. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
