離散フーリエ変換(Discrete Fourier Transform)を使った、簡単な音声処理のデモンストレーションです。
各環境でのDFTの処理時間を計測しています。
- M1 Macbook Pro, Deno in JavaScript: 33.18秒
- M1 Macbook Pro, C言語: 11.786060秒
- M1 Macbook Pro, C言語 (6スレッド): 2.250893秒
- Core i7-6700 Windows 10, Deno in JavaScript: 84.94秒
- Core i7-6700 Windows 10, C言語 (gcc): 132.6863497秒
- Core i7-6700 Windows 10, C言語 (nvcc): 34.3973202秒
- Core i7-6700 Windows 10 NVIDIA RTX 3060Ti: 0.074750秒
- Core i7-6700 Windows 10 NVIDIA RTX 3060Ti (fast-math): 0.007705秒
- M1 Macbook Pro, C言語 (6スレッド): 22.464575秒
- Core i7-6700 Windows 10 NVIDIA RTX 3060Ti: 0.690248秒
- Core i7-6700 Windows 10 NVIDIA RTX 3060Ti (fast-math): 0.044306秒
- M1 Macbook Pro, C言語 (6スレッド): 266.189622秒
- Core i7-6700 Windows 10 NVIDIA RTX 3060Ti: 9.357527秒
- Core i7-6700 Windows 10 NVIDIA RTX 3060Ti (fast-math): 0.387023秒
- Core i7-6700 Windows 10 NVIDIA RTX 3060Ti (fast-math): 63.493813秒
MIT License — see LICENSE.