Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#2308 closed Bugs (fixed)

matching_test takes "forever" to build

Reported by: Dave Abrahams Owned by: Jeremiah Willcock
Milestone: Boost 1.37.0 Component: graph
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

Compilation of matching_test in debug mode seriously drags down my testing machine with gcc-4.1.0. Even in release mode linking takes "forever," but at least compilation is reasonably fast. I suspect compilation speed could be improved dramatically by breaking the tests across translation units, which should be an easy transformation to make. Not sure what to do about link speed.

Change History (4)

comment:1 by Dave Abrahams, 14 years ago

Component: Nonegraph
Owner: set to Douglas Gregor

comment:2 by Jeremiah Willcock, 13 years ago

Owner: changed from Douglas Gregor to Jeremiah Willcock
Status: newassigned

comment:3 by Jeremiah Willcock, 13 years ago

Resolution: fixed
Status: assignedclosed

The issue is not linking; the messages are printed out after each stage is done, so the actual time is because the test takes a long time to run. It appears to purposely test worst-case behavior of the algorithms. I don't see a problem with compile times, but just the run issue. I turned down the graph sizes used to make the test run faster.

comment:4 by Jeremiah Willcock, 13 years ago

(In [53210]) Reduced graph sizes to decrease test run time; fixes #2308

Note: See TracTickets for help on using tickets.