The org.netbeans.lib.profiler.ui.components.HTMLTextArea invokes a lot of code and creates a lot of objects whenever setting its text. It would be nice to optimize it to only update its text when really needed.
The component now only updates the internal document if showing and the new text differs from the current one. Also optimized setForeground() which uses setText().
Fixed in profiler-main:
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)