Frame drop on 3.4

Hi,

I was testing ImGUI library with glfw backend. It uses the 3.2 version and I’ve 60 fps.
So I get compiled 3.4 version from site and re-compiled again the example: now I’ve 33fps.
Can someone explain to me why ?
I use VC2019 32bit.

Thank you.

Tell us if you figured it out.

The version of GLFW used should not substantially effect an applications performance because GLFW itself does almost no work during the rendering loop. Dear ImGui does detect certain GLFW features based on version and perform slightly different work depending on that, but I doubt this would cause a major performance hit.

To investigate further I would advise first making sure you are compiling an optimized version, that vsync is off ( glfwSwapInterval(0) ), and then profile with CPU and GPU profilers to see where the issue lies (your application could be either CPU or GPU bound). Visual Studio provides basic CPU performance tools, and since GLFW does not emit any GPU work this will help a little in understanding where the bottleneck lies.

Thank you for the hints.
I use build tools from command line so I haven’t a CPU performance tools.
I’ll try to use Tracy, a frame profiler to solve this issue.