[Haskell-cafe] Benchmark of DFT libraries in Haskell

Erik de Castro Lopo mle+hs at mega-nerd.com
Tue Aug 7 11:12:15 CEST 2012

Takayuki Muranushi wrote:

> >> * vector-fftw with wisdom was more than 1/2 times faster than fftw in
> >> C with wisdom (and with communication overhead.)
> > I would be suspicious of that result. Calling a C function from a library
> > should be slower from Haskell than from C.
> Sorry for the confusion, What I meant is that vector-fftw version takes
> more time than C version, but less than twice.

That makes much more sense. Whether you're calling fftw from C or from
Haskell, its still the fftw library doing most of the work. As you 
increase the FFT length, the difference between C and Haskell should

Erik de Castro Lopo

More information about the Haskell-Cafe mailing list