This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-17 15:52 UTC by Björn Piltz
Modified: 2019-12-04 18:41 UTC (History)
4 users (show)



Attachments

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: https://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2019/06/threads.html.

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

I have set up some test scripts here: https://github.com/bjornpiltz/eigen_compilation_time

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 https://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2019/06/msg00010.html
Comment 3 Nobody 2019-12-04 18:41:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com'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: https://gitlab.com/libeigen/eigen/issues/1725.

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