This bugzilla service is closed. All entries have been migrated to
Bug 1725 - Slow MSVC compile times
Summary: Slow MSVC compile times
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: General (show other bugs)
Version: 3.3 (current stable)
Hardware: All Windows
: Normal Unknown
Assignee: Nobody
Depends on:
Reported: 2019-06-17 15:52 UTC by Björn Piltz
Modified: 2019-12-04 18:41 UTC (History)
4 users (show)


Description Björn Piltz 2019-06-17 15:52:55 UTC
It seems MSVC has a problem with Eigen's massive use of inlining. Some tests which take minutes to compile with GCC/clang take up to an hour to compile with MSVC 2017 as reported here:

The timings for MSVC 2019 are better, but not great.

I have set up some test scripts here:

To recreate the tables, compile Eigen3.sln in release mode from within Visual Studio and process the build log with eigen_compilation_time_msvc.Rmd.

I would suggest creating a minimal example, which can be reported to Microsoft as this is obviously an issue on their side.
Comment 1 Björn Piltz 2019-06-17 15:55:04 UTC
The link to the mailing list should be
Comment 3 Nobody 2019-12-04 18:41:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:

Note You need to log in before you can comment on or make changes to this bug.