Created
March 6, 2017 16:03
-
-
Save corbanbrook/469c325734e458ba1415509f52d9c096 to your computer and use it in GitHub Desktop.
dsp.js FFT without generateSpectrum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== transform size=2048 ===== | |
fft.js x 18,146 ops/sec ±0.91% (88 runs sampled) | |
jensnockert x 3,728 ops/sec ±1.48% (87 runs sampled) | |
dsp.js x 27,406 ops/sec ±0.91% (89 runs sampled) | |
drom x 11,199 ops/sec ±0.88% (89 runs sampled) | |
Fastest is dsp.js | |
===== transform size=4096 ===== | |
fft.js x 9,057 ops/sec ±0.97% (85 runs sampled) | |
jensnockert x 2,937 ops/sec ±1.03% (89 runs sampled) | |
dsp.js x 12,709 ops/sec ±0.89% (89 runs sampled) | |
drom x 5,202 ops/sec ±0.92% (87 runs sampled) | |
Fastest is dsp.js | |
===== transform size=8192 ===== | |
fft.js x 3,808 ops/sec ±1.01% (86 runs sampled) | |
jensnockert x 878 ops/sec ±1.19% (87 runs sampled) | |
dsp.js x 5,016 ops/sec ±0.86% (89 runs sampled) | |
drom x 2,372 ops/sec ±0.96% (88 runs sampled) | |
Fastest is dsp.js | |
===== transform size=16384 ===== | |
fft.js x 1,822 ops/sec ±1.24% (86 runs sampled) | |
jensnockert x 638 ops/sec ±1.20% (86 runs sampled) | |
dsp.js x 2,106 ops/sec ±0.89% (88 runs sampled) | |
drom x 1,111 ops/sec ±0.92% (87 runs sampled) | |
Fastest is dsp.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the additional work that DSP js forward transform does each iteration. Many sqrt calls.