This bug was originally marked as duplicate of bug 233889, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Mac OS X
franciscocpg: auto complete
Maximum slowness yet reported was 22419 ms, average is 22419
Created attachment 157673 [details]
As can be seen from the profiler snapshot AWT-EventQueue is blocked by an extremely slow call to org.openide.util.Utilities.getUsableScreenBounds().