Please add the option -Dsun.java2d.noddraw=true to both jmeter.bat and jmeterw.bat. I've seen dramatic performance improvements in gui mode after adding this flag, especially for high screen resolutions (> 1024x768).
Thanks! Do you happen to know if this flag would help on other OSes? i.e. should it also be added to the Un*x shell script(s)?
I don't think that sun.java2d.noddraw makes sense on non-windows platforms but I'm not absolutly sure. The setting is DirectDraw related, so it should usually have no effect on other platforms.
Thanks! BTW, as a work-round until the batch file is updated, one can define additional JVM arguments as follows: set JVM_ARGS=-Dsun.java2d.noddraw=true This will be picked up by the jmeter[w] .bat files
Google finds a few pages that suggest this as a work-round for problems with remote access applications such as pcAnywhere. However, these also say that setting the property may slow down the application when used locally. I've tried the setting on WinNT and WinXP, and it does not seem to make a noticeable difference.
Eventually, this depends on the resolution of your graphics card or the model. I'm see significant differences at 1280x1024 and 1600x1200 with a Matrax P650.
Found http://java.sun.com/products/java-media/2D/perf_graphics.html which explains this and other settings. Since they may not improve matters on all systems, I'm going to add them but commented out.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1476