From kde-commits Thu Oct 18 14:02:09 2012 From: =?utf-8?q?Peter=20K=C3=BCmmel?= Date: Thu, 18 Oct 2012 14:02:09 +0000 To: kde-commits Subject: branches/work/kst/portto4/kst/src/libkstmath Message-Id: <20121018140209.267D2AC85B () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=135056894710105 SVN commit 1321284 by kuemmel: add comment about slower fft when build with mingw M +4 -0 psdcalculator.cpp --- branches/work/kst/portto4/kst/src/libkstmath/psdcalculator.cpp #1321283:1321284 @@ -29,6 +29,7 @@ #include #include +#include "measuretime.h" extern "C" void rdft(int n, int isgn, double *a); @@ -190,6 +191,9 @@ memset(output, 0, sizeof(double)*outputLen); // initialize output. + // Mingw build could be 10 times slower (Gaussian apod, mostly 0 then?) + //MeasureTime time_in_rfdt("rdft()"); + bool done = false; for (i_subset = 0; !done; i_subset++) { ioffset = i_subset*outputLen; //overlapping average => i_subset*outputLen