PhaseVocoderJS icon indicating copy to clipboard operation
PhaseVocoderJS copied to clipboard

Create performance tests

Open echo66 opened this issue 10 years ago • 4 comments

I need to compare the performance between the map function, the for loop and the while loop. For each case, I need to compare the performance for Array and Float32Array.

Use jsperf.com to compare them.

echo66 avatar Jan 24 '15 20:01 echo66

Regarding map vs for loop, check this out in both Chrome and Firefox.

echo66 avatar Jan 26 '15 13:01 echo66

Regarding Array vs Float32Array, check this out in both Chrome and Firefox.

echo66 avatar Jan 26 '15 13:01 echo66

Something worth mentioning: using Float32Array instead of Array increases the numerical error.

echo66 avatar Jan 26 '15 14:01 echo66

Performance Tests for some FFT implementations:

http://jsperf.com/benchmark-for-fftw-js http://jsperf.com/comparing-two-fft-functions/3

echo66 avatar Apr 26 '15 19:04 echo66