vlsi opened a new pull request #694:
URL: https://github.com/apache/jmeter/pull/694


   GUI gets unresponsive when the response contains long lines (e.g lines 
exceeding 100K chars).
   The workaround is to add artificial line breaks.
   
   https://bz.apache.org/bugzilla/show_bug.cgi?id=63620
   
   We try to break on word boundaries first, and if not possible,
   we break on char boundaries (e.g. large chunks of base64 data).
   
   ```
   view.results.tree.max_line_size=110000 (defaults to 110K)
   view.results.tree.soft_wrap_line_size=100000 (defaults to max_line_size/1.1)
   ```
   
   CPU spin trace looks as follows:
   
   ```
   "AWT-EventQue...
   ...
           at sun.font.GlyphLayout.layout(Unknown Source)
   ...
           at java.awt.font.TextLine.<init>(Unknown Source)
           at java.awt.font.TextMeasurer.makeTextLineOnRange(Unknown Source)
           at java.awt.font.TextMeasurer.getLayout(Unknown Source)
   ...
           at javax.swing.text.JTextComponent.setDocument(Unknown Source)
           at 
org.apache.jmeter.visualizers.SamplerResultTab.setTextOptimized(SamplerResultTab.java:695)
   ...
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to