CGAL::Delaunay_triangulation_2<K> efficiency difference in QT6 environment with respect to Visual Studio 2022 environment #8579
Replies: 1 comment
-
Hi @DarkSun812. Your question is not really about CGAL. What is more, the question is a bit incomplete. For a given executable, what do you call:
As far as I know, Qt Creator does not have the possibility to start an executable without debugging. So please tell us more about running something "in Qt6". When one runs an executable in a debugger, the execution is slower, because the debugger is constantly pausing/resuming the execution of the application, in order to monitor its state. That might explain why the execution was slower "in Qt6" (if my guess that it was indeed in the Qt Creator debugger was right). |
Beta Was this translation helpful? Give feedback.
-
I am running an example code I made in both platforms and I am noticing that in QT 6 it is much slower than when I run it in Visual Studio, I am making a delauny mesh with 25 million points, in Visual Studio 2022 environment it takes about 11 seconds and in Qt it takes 38 seconds.
These are the files of the example I built in Qt isolated from my project to confirm that it was not an error in my project as such, apparently, the result of time is the same in this project generated from scratch
My question is, why does it take so long in Qt6 and so little in visual studio 2022, in both cases I am using release and not debug, since I am aware that with debug it takes longer.
I wanted to upload the data file but it won't let me since it weighs about 500MB.
Beta Was this translation helpful? Give feedback.
All reactions