代码拉取完成,页面将自动刷新
The table bellow contains benchmarks of functions provided by ESP-DSP library. The values are CPU cycle counts taken to execute each of the functions. Values in "ESP32" column are for the optimized (assembly) implementation, values in "ANSI C" column are for the non-optimized implementation.
Function name and arguments | CPU cycles | |
---|---|---|
ESP32 | ANSI C | |
Dot Product | ||
dsps_dotprod_f32 for N=256 points | 1057 | 2597 |
dsps_dotprode_f32 for N=256 points, with step 1 | 1318 | 2601 |
dsps_dotprod_s16 for N=256 points | 448 | 5185 |
FIR Filters | ||
dsps_fir_f32 1024 input samples and 256 coefficients | 1338418 | 3583556 |
dsps_fird_f32 1024 samples, 256 coeffs and decimation 4 | 37582 | 82535 |
FFTs | ||
dsps_fft2r_fc32 for 64 complex points | 5451 | 8187 |
dsps_fft2r_fc32 for 128 complex points | 12400 | 18756 |
dsps_fft2r_fc32 for 256 complex points | 27829 | 42381 |
dsps_fft2r_fc32 for 512 complex points | 61755 | 94616 |
dsps_fft2r_fc32 for 1024 complex points | 135745 | 209058 |
IIR Filters | ||
dsps_biquad_f32 - biquad filter for 1024 input samples | 17451 | 31778 |
Matrix Multiplication | ||
dspm_mult_f32 - C[16,16] = A[16,16]*B[16,16]; | 24669 | 59690 |
dspm_mult_s16 - C[16,16] = A[16,16]*B[16,16]; | 24964 | 114150 |
dspm_mult_3x3x1_f32 - C[3,1] = A[3,3]*B[3,1]; | 80 | 242 |
dspm_mult_3x3x3_f32 - C[3,3] = A[3,3]*B[3,3]; | 212 | 541 |
dspm_mult_4x4x1_f32 - C[4,1] = A[4,4]*B[4,1]; | 112 | 362 |
dspm_mult_4x4x4_f32 - C[4,4] = A[4,4]*B[4,4]; | 404 | 1130 |
The benchmark test could be reproduced by executing test cases found in :repo_file:`test/test_dsp.c`.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。