# Framerate drop on mouse input

**URL:** <https://discourse.glfw.org/t/framerate-drop-on-mouse-input/1556>\
**Category:** support\
**Created:** [May 9, 2020, 5:17pm UTC](https://discourse.glfw.org/t/framerate-drop-on-mouse-input/1556 "2020-05-09T17:17:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![whitwhoa](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/whitwhoa/32/425_2.png) [@whitwhoa](https://discourse.glfw.org/u/whitwhoa)\
**Post date:** [May 9, 2020, 5:17pm UTC](https://discourse.glfw.org/t/framerate-drop-on-mouse-input/1556/1 "2020-05-09T17:17:58Z")

</div>

Without mouse input my app is getting around 450fps. As soon as I start to move the mouse, that drops to around 300fps. I’m currently calling `glfwPollEvents()` every frame, then directly after that I’m calling `glfwGetCursorPos()`. Is there a more efficient way to retrieve the mouse cursor position?
