JavaFX Performance with Debugger attached

Danno Ferrin danno.ferrin at oracle.com
Thu Jan 23 17:59:48 PST 2014


What kind of breakpoints do you have set up?   If you have anything 
other than line and exception breakpoints (such as field or method) then 
I would expect the VM to crawl like you described.

On 1/23/2014 6:43 PM, Scott Palmer wrote:
> When I debug my JavaFX application in NetBeans it runs very slow, orders of
> magnitude slower than normal.  Swing apps on the same configuration do not
> have the same problem.
>
> My guess is that adding and removing Nodes from the Scene is much slower in
> this case, since not all operations are affected.
>
> For example, I have a TreeView that is filtered on-the-fly as I type in a
> search field.  It updates as fast as I can type normally, but under the
> debugger each keypress takes a full second or so to appear.
>
> Has anyone else noticed this phenomenon?
>
>
> Scott



More information about the openjfx-dev mailing list