Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Compiler performance differences  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Llc

  • Newbie
  • *
  • Posts: 1
    • View Profile
Compiler performance differences
« on: June 21, 2012, 03:54:18 pm »
I made a simple SMFL game in windows which I compiled in MINGW and Visual Studio 2008 express (with the default dlls etc). There seems to be huge difference in performance, I got around 6000 fps in MINGW and 1200 FPS  in Visual studio. 

Does anyone know is this issue is in compiler or its default settings in these IDEs, or what could cause this?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Compiler performance differences
« Reply #1 on: June 21, 2012, 03:59:28 pm »
Huge framerates are not significant. Here we are talking about sub-millisecond differences. It could be caused by anything.

Enable vertical-sync to cap your framerate at the monitor's frequency (and free the CPU), and don't bother with high framerates anymore.
« Last Edit: June 21, 2012, 04:01:52 pm by Laurent »
Laurent Gomila - SFML developer

 

anything