Important best practice in not to use View Results Tree
Don't use "View Results Tree" or "View Results in Table" listeners during the load test, use them only during scripting phase to debug your scripts.
Or any listeners:
Use as few Listeners as possible; if using the -l flag as above they can all be deleted or disabled.
But View Results Tree
is a great tool for debugging to identify issues in scripts.
Can we somehow ignore it only when running a non GUI mode?
I can ignore Sampler Result by setIgnore method, even ignore Thread Group by setting Number of Threads as 0 in property, can listener be ignored by property?
Currently I manually enable/disable in GUI before/after running in non GUI.
EDIT
But jmx files are saved in version control, so it should remain read only (used both for GUI and non GUI)