Jump to content

Compiler speed test results


Josh
 Share

Recommended Posts

Here's some results I found. I might not have found all the MSVC optimization options, but here's what I got to the best of my knowledge. It's surprising MSVC debug mode compiles faster than release? That might indicate additional optimization settings I missed.

 

23,000 lines

 

GCC, no optimization - 0:12

MSVC, no optimization, release - 2:46

MSVC, no optimization, debug - 1:01

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

The faster debug compile makes me tend to think there are some optimizations I did not turn off. Normally I would expect the debug build to be slower. Perhaps the debug build turns off all optimization, because it assumes you are just testing?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Some people use VC++ IDE only as text editor because it has quite nice search features. So you can use VC++ IDE for GCC also. You can then make a compile button which runs g++.exe or a mingw32-make.exe.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Then also CodeLite is a nice IDE for gcc and other compilers:

http://www.codelite.org/

I like the big tooltip popup where you can have multiple lines of documentation and maybe even a short example and also links.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...