Execution time : polyhedron demo vs full cgal build

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Execution time : polyhedron demo vs full cgal build

Maxime Legraive
This post was updated on .
Hello,

I have downloaded the Polyhedron Demo for Windows as well as the demo dlls
and I have tested some functionalities that it provides.
I have tested the same functionalities with my own code or with the
"examples" codes provided in the CGAL folder. I use CGAL as header-only,
build a .exe and run it via the command prompt.
It seems that the running time is significantly faster on the Polyhedron
Demo than with my own .exe. For instance, I have tested "Isotropic
Remeshing" on the same mesh with the same paremeters, it takes more than a
minute with my own .exe and seems to be done in less than a second with the
demo.

What could be the explanation for this difference ?

Thank you in advance !

Maxime



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Runnintime : polyhedron demo vs full cgal build

Sebastien Loriot (GeometryFactory)
Hello Maxime,

Could you share the program you are running?
Did you compile in release mode?
What compiler are you using?

Best regards,

Sebastien.

On 1/10/20 2:24 PM, Maxime Legraive wrote:

> Hello,
>
> I have downloaded the Polyhedron Demo for Windows as well as the demo dlls
> and I have tested some functionalities that it provides.
> I have tested the same functionalities with my own code or with the
> "examples" codes provided in the CGAL folder. I use CGAL as header-only,
> build a .exe and run it via the command prompt.
> It seems that the running time is significantly faster on the Polyhedron
> Demo than with my own .exe. For instance, I have tested "Isotropic
> Remeshing" on the same mesh with the same paremeters, it takes more than a
> minute with my own .exe and seems to be done in less than a second with the
> demo.
>
> What could be the explanation for this difference ?
>
> Thank you in advance !
>
> Maxime
>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Runnintime : polyhedron demo vs full cgal build

Maxime Legraive
Hello Sebastien,

I realize that it was so slow because I was compiling in Debug mode (with
Visual Studio). I have tried in Release mode and it is much faster ! Thank
you.

Maxime



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss