diff --git a/docs/en/benchmark/README.rst b/docs/en/benchmark/README.rst index 1c584be..0437387 100644 --- a/docs/en/benchmark/README.rst +++ b/docs/en/benchmark/README.rst @@ -45,6 +45,23 @@ Resource Consumption | AFE Layer | 227 KB | | | +-----------------+-----------------+-----------------+-----------------+ + + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | Input Format | Type | Mode | Internal RAM | PSRAM | Feed Task CPU | Fetch Task CPU | + +==============+======+===========+===============+============+================+=================+ + | MR | SR | LOW_COST | 72348 | 732932 | 8.4% | 14.9% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MR | SR | HIGH_PERF | 78016 | 734980 | 9.4% | 14.9% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MR | VC | LOW_COST | 50316 | 821564 | 60.0% | 8.1% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MR | VC | HIGH_PERF | 93668 | 824144 | 64.0% | 8.2% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MMR | SR | LOW_COST | 76684 | 1175148 | 36.6% | 30.2% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MMR | SR | HIGH_PERF | 99064 | 1174960 | 38.8% | 30.0% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + .. only:: esp32p4 +-----------------+-----------------+-----------------+-----------------+ @@ -52,21 +69,33 @@ Resource Consumption | | | loading(compute | | | | | with 2 cores) | | +=================+=================+=================+=================+ - | AEC(LOW_COST) | 152.3 KB | 8% | 32 ms | + | AEC(LOW_COST) | 152.3 KB | 6% | 32 ms | +-----------------+-----------------+-----------------+-----------------+ - | AEC(HIGH_PERF) | 166 KB | 11% | 32 ms | + | BSS(LOW_COST) | 198.7 KB | 3% | 64 ms | +-----------------+-----------------+-----------------+-----------------+ - | BSS(LOW_COST) | 198.7 KB | 6% | 64 ms | - +-----------------+-----------------+-----------------+-----------------+ - | BSS(HIGH_PERF) | 215.5 KB | 7% | 64 ms | - +-----------------+-----------------+-----------------+-----------------+ - | NS | 27 KB | 5% | 10 ms | + | NS | 27 KB | 3% | 10 ms | +-----------------+-----------------+-----------------+-----------------+ | MISO | 56 KB | 8% | 16 ms | +-----------------+-----------------+-----------------+-----------------+ | AFE Layer | 227 KB | | | +-----------------+-----------------+-----------------+-----------------+ + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | Input Format | Type | Mode | Internal RAM | PSRAM | Feed Task CPU | Fetch Task CPU | + +==============+======+===========+===============+============+=================+=================+ + | MR | SR | LOW_COST | 75404 | 751292 | 10.6% | 11.3% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MR | SR | HIGH_PERF | 75128 | 751292 | 10.6% | 11.3% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MR | VC | LOW_COST | 76192 | 841300 | 40.3% | 5.7% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MR | VC | HIGH_PERF | 119536 | 843880 | 42.6% | 5.7% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MMR | SR | LOW_COST | 79940 | 1202692 | 28.4% | 24.9% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MMR | SR | HIGH_PERF | 79940 | 1202692 | 28.4% | 24.9% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + WakeNet ------- diff --git a/docs/zh_CN/benchmark/README.rst b/docs/zh_CN/benchmark/README.rst index 1a94847..5d10073 100644 --- a/docs/zh_CN/benchmark/README.rst +++ b/docs/zh_CN/benchmark/README.rst @@ -49,6 +49,22 @@ AFE | AFE Layer | 227 KB | | | +-----------------+-----------------+-----------------+-----------------+ + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | Input Format | Type | Mode | Internal RAM | PSRAM | Feed Task CPU | Fetch Task CPU | + +==============+======+===========+===============+============+================+=================+ + | MR | SR | LOW_COST | 72348 | 732932 | 8.4% | 14.9% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MR | SR | HIGH_PERF | 78016 | 734980 | 9.4% | 14.9% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MR | VC | LOW_COST | 50316 | 821564 | 60.0% | 8.1% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MR | VC | HIGH_PERF | 93668 | 824144 | 64.0% | 8.2% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MMR | SR | LOW_COST | 76684 | 1175148 | 36.6% | 30.2% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + | MMR | SR | HIGH_PERF | 99064 | 1174960 | 38.8% | 30.0% | + +--------------+------+-----------+---------------+------------+----------------+-----------------+ + .. only:: esp32p4 +-----------------+-----------------+-----------------+-----------------+ @@ -67,6 +83,22 @@ AFE | AFE Layer | 227 KB | | | +-----------------+-----------------+-----------------+-----------------+ + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | Input Format | Type | Mode | Internal RAM | PSRAM | Feed Task CPU | Fetch Task CPU | + +==============+======+===========+===============+============+=================+=================+ + | MR | SR | LOW_COST | 75404 | 751292 | 10.6% | 11.3% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MR | SR | HIGH_PERF | 75128 | 751292 | 10.6% | 11.3% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MR | VC | LOW_COST | 76192 | 841300 | 40.3% | 5.7% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MR | VC | HIGH_PERF | 119536 | 843880 | 42.6% | 5.7% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MMR | SR | LOW_COST | 79940 | 1202692 | 28.4% | 24.9% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + | MMR | SR | HIGH_PERF | 79940 | 1202692 | 28.4% | 24.9% | + +--------------+------+-----------+---------------+------------+-----------------+-----------------+ + WakeNet ------- diff --git a/lib/esp32/libesp_audio_front_end.a b/lib/esp32/libesp_audio_front_end.a index f2da8b1..13e39be 100644 Binary files a/lib/esp32/libesp_audio_front_end.a and b/lib/esp32/libesp_audio_front_end.a differ diff --git a/lib/esp32/libesp_audio_processor.a b/lib/esp32/libesp_audio_processor.a index 93627f9..8f3cbf1 100644 Binary files a/lib/esp32/libesp_audio_processor.a and b/lib/esp32/libesp_audio_processor.a differ diff --git a/lib/esp32/libmultinet.a b/lib/esp32/libmultinet.a index 2c5e964..a246897 100644 Binary files a/lib/esp32/libmultinet.a and b/lib/esp32/libmultinet.a differ diff --git a/lib/esp32/libwakenet.a b/lib/esp32/libwakenet.a index 05ac529..a54c0d0 100644 Binary files a/lib/esp32/libwakenet.a and b/lib/esp32/libwakenet.a differ diff --git a/lib/esp32p4/libesp_audio_front_end.a b/lib/esp32p4/libesp_audio_front_end.a index 719e963..27faac9 100644 Binary files a/lib/esp32p4/libesp_audio_front_end.a and b/lib/esp32p4/libesp_audio_front_end.a differ diff --git a/lib/esp32p4/libesp_audio_processor.a b/lib/esp32p4/libesp_audio_processor.a index 13ce323..2601a45 100644 Binary files a/lib/esp32p4/libesp_audio_processor.a and b/lib/esp32p4/libesp_audio_processor.a differ diff --git a/lib/esp32p4/libmultinet.a b/lib/esp32p4/libmultinet.a index d8e4caa..408291f 100644 Binary files a/lib/esp32p4/libmultinet.a and b/lib/esp32p4/libmultinet.a differ diff --git a/lib/esp32p4/libvadnet.a b/lib/esp32p4/libvadnet.a index 84b4250..70114e5 100644 Binary files a/lib/esp32p4/libvadnet.a and b/lib/esp32p4/libvadnet.a differ diff --git a/lib/esp32p4/libwakenet.a b/lib/esp32p4/libwakenet.a index 96a014d..67fe548 100644 Binary files a/lib/esp32p4/libwakenet.a and b/lib/esp32p4/libwakenet.a differ diff --git a/lib/esp32s3/libesp_audio_front_end.a b/lib/esp32s3/libesp_audio_front_end.a index 66be494..8452944 100644 Binary files a/lib/esp32s3/libesp_audio_front_end.a and b/lib/esp32s3/libesp_audio_front_end.a differ diff --git a/lib/esp32s3/libmultinet.a b/lib/esp32s3/libmultinet.a index daa4c03..c26d920 100644 Binary files a/lib/esp32s3/libmultinet.a and b/lib/esp32s3/libmultinet.a differ diff --git a/lib/esp32s3/libnsnet.a b/lib/esp32s3/libnsnet.a index 5addb6d..5621d1b 100644 Binary files a/lib/esp32s3/libnsnet.a and b/lib/esp32s3/libnsnet.a differ diff --git a/lib/esp32s3/libvadnet.a b/lib/esp32s3/libvadnet.a index 6a7b6a8..685185f 100644 Binary files a/lib/esp32s3/libvadnet.a and b/lib/esp32s3/libvadnet.a differ diff --git a/lib/esp32s3/libwakenet.a b/lib/esp32s3/libwakenet.a index ac41759..88f8846 100644 Binary files a/lib/esp32s3/libwakenet.a and b/lib/esp32s3/libwakenet.a differ diff --git a/test_apps/esp-sr/sdkconfig.ci.mn2_cn b/test_apps/esp-sr/sdkconfig.ci.mn2_cn index 6c74151..17fb0d0 100644 --- a/test_apps/esp-sr/sdkconfig.ci.mn2_cn +++ b/test_apps/esp-sr/sdkconfig.ci.mn2_cn @@ -1,5 +1,5 @@ # This file was generated using idf.py save-defconfig. It can be edited manually. -# Espressif IoT Development Framework (ESP-IDF) 5.3.0 Project Minimal Configuration +# Espressif IoT Development Framework (ESP-IDF) 5.3.1 Project Minimal Configuration # CONFIG_IDF_TARGET="esp32" CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16 @@ -9,7 +9,11 @@ CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_esp32.csv" CONFIG_SR_MN_CN_MULTINET2_SINGLE_RECOGNITION=y +CONFIG_COMPILER_OPTIMIZATION_PERF=y +CONFIG_SPIRAM=y +CONFIG_SPIRAM_SPEED_80M=y +CONFIG_ESP_INT_WDT_TIMEOUT_MS=1000 CONFIG_ESP_WIFI_GMAC_SUPPORT=n CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5744 CONFIG_LWIP_TCP_WND_DEFAULT=5744 -CONFIG_UNITY_CRITICAL_LEAK_LEVEL_GENERAL=1024 \ No newline at end of file +CONFIG_UNITY_CRITICAL_LEAK_LEVEL_GENERAL=1024