Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running one instance of UpdateWindow control on double buffered winform on mid-tier laptop (i7 8th gen, 16gb ram). Following code executes barely 10 times a second:

protected override void Update(GameTime gt) { Debug.WriteLine(DateTime.Now); }

Native MonoGame openGL game hits 60 cap without any problems. Is there any way to increase performance? Running project is allocating like 50 Mb of RAM only. Thanks in advance.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

BlizzCraftercommented, Nov 20, 2018

Added Tips & Tricks / Dos & Don’ts section to the file under the Building topic 83f677dcb4e1848d6f888707820d8e34f205c93b

BlizzCraftercommented, Nov 19, 2018

No problem.

There is already a note in the file regarding the DrawIntervall. It sais:

Note: To raise the performance of an OpenGL UpdateWindow, it’s recommended to change the DrawIntervall from 1ms to 50ms or 100ms!

But I will later add a note regarding DoubleBuffering too.

Thanks for reporting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

30 vs 60 FPS Video Recording: What's the Difference?
Generally speaking, 60 FPS video recording has better quality and watching experience than 30 FPS video recording. However, 60fps videos require ...
Read more >
What's the Difference Between 30fps and 60fps
The difference between 30fps and 60fps is obviously the double amount of frames you get in a 60fps video. More frames aren't always...
Read more >
Frame rate
Frame rate is typically the frequency (rate) at which consecutive images (frames) are ... frame rates such as 24, 48 and 60 FPS...
Read more >
60 fps vs 30 fps - What's the Difference?
In short, 30 fps means that 30 still images will be shown every second, while 60 fps means that 60 still images will...
Read more >
What is Frame Rate for video?
60fps is often used to capture hyper-realistic footage or to record computer-generated graphics like video games that match the refresh rates of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found