How to get FPS from JavaFX scene?

I am currently writing a small graphical performance test for JavaFX.

So I need to get the current FPS in which the JavaFX scene is being updated.

So far I have not found a solution how to do this.

Does anyone know if there is some kind of event that I could use to get FPS?

+3
source share
1 answer

I do not think that there is a certain event that gives a frame rate. This link / example may help. It shows the frame rate at work - JavaFX FPS Meter . It has a link to the source code .

+3
source

Source: https://habr.com/ru/post/1744797/


All Articles