This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I am working on fix for issue 126018 and now, when running the test in performance/scalability project, the slowest operation while switching tabs seems to be update of SaveAs action. That is curious, because the action is not even visible. Please fix it by counting listeners attached to your action and disabling all refreshes when no are present.
Created attachment 57828 [details] Snapshot from profiler
If you want to work on the same data as me, you can use bundle with my changes: hg unbundle http://www.netbeans.org/nonav/issues/showattachment.cgi/57829/tabs.Mar3.2008.hg
fixed 3cd8e5e3bf34
+ public void propertyChange(PropertyChangeEvent evt) { + //action needs at least one listener, otherwise it won't refresh its enabled state + } Well, the isEnabled method shall work correctly even if there is no listener. Just no need to refresh, until one really asks for isEnabled. I am not sure if this is your implementation.
you're right beef255756c6