Why does my Application run slowly under Linux?

By: Mat Duafala

Abstract: Why does an application that runs fine under windows, seem to run slower after I have ported it to Linux?

Question

Why does my Linux application run so much slower than my windows application?

Answer

Linux performs fixups of external functions at runtime instead of at load time. This creates noticeable performance loss. To work around this, use static linking of your exe's.

You might also notice a significant performance improvement if you run your application without debugging turned on, or outside the IDE.

Server Response from: ETNASC02