# Frame drop on 3.4

**URL:** <https://discourse.glfw.org/t/frame-drop-on-3-4/2760>\
**Category:** support\
**Created:** [October 8, 2024, 10:59am UTC](https://discourse.glfw.org/t/frame-drop-on-3-4/2760 "2024-10-08T10:59:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peloquin](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@Peloquin](https://discourse.glfw.org/u/Peloquin)\
**Post date:** [October 8, 2024, 10:59am UTC](https://discourse.glfw.org/t/frame-drop-on-3-4/2760/1 "2024-10-08T10:59:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![qy9](https://avatars.discourse-cdn.com/v4/letter/q/e9c0ed/32.png) [@qy9](https://discourse.glfw.org/u/qy9)\
**Post date:** [October 21, 2024, 12:49am UTC](https://discourse.glfw.org/t/frame-drop-on-3-4/2760/2 "2024-10-21T00:49:49Z")

</div>

Tell us if you figured it out.

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [October 21, 2024, 9:07am UTC](https://discourse.glfw.org/t/frame-drop-on-3-4/2760/3 "2024-10-21T09:07:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Peloquin](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@Peloquin](https://discourse.glfw.org/u/Peloquin)\
**Post date:** [October 24, 2024, 6:29am UTC](https://discourse.glfw.org/t/frame-drop-on-3-4/2760/4 "2024-10-24T06:29:06Z")

</div>

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](https://github.com/wolfpld/tracy), a frame profiler to solve this issue.
