Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] weird performance issue

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] weird performance issue


Chronological Thread 
  • From: Michael Hemmer <>
  • To:
  • Subject: Re: [cgal-discuss] weird performance issue
  • Date: Thu, 29 Apr 2010 10:23:00 +0200

Sebastien Loriot (GeometryFactory) wrote:
Ariel Keselman wrote:
Dear all,

after every Ubuntu update, I have this problem in which the
both the compilation time AND running time of my program
decrease by a factor of 2.

For compilation I use 'scons', and I link with the following
libraries:

CGAL_Core, CGAL, gmp, gmpxx, mpfr, boost_thread-mt

and with the following flags:

-O3

This issue appears to be solved after several minutes,
but I would be happy to know if there is a reason, and
a way to guarantee consistent behavior.

From what you describe I see no reason why CGAL would be responsible
for that. Maybe a process was running in background and was slowing down
your system (which would explain why things were normal several minutes later).

S.
But in any case it makes sense to also use: -DNDEBUG or at least -DCGAL_DNDEBUG,
since you only mention -O3.

Michael




Archive powered by MHonArc 2.6.16.

Top of Page