mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_event: lower test performance threshold for PSRAM config
This commit is contained in:
parent
a4357aed91
commit
d28c99d36c
@ -780,8 +780,12 @@ static void performance_test(bool dedicated_task)
|
|||||||
// Enabling profiling will slow down event dispatch, so the set threshold
|
// Enabling profiling will slow down event dispatch, so the set threshold
|
||||||
// is not valid when it is enabled.
|
// is not valid when it is enabled.
|
||||||
#else
|
#else
|
||||||
|
#ifndef CONFIG_SPIRAM_SUPPORT
|
||||||
TEST_PERFORMANCE_GREATER_THAN(EVENT_DISPATCH, "%d", average);
|
TEST_PERFORMANCE_GREATER_THAN(EVENT_DISPATCH, "%d", average);
|
||||||
#endif
|
#else
|
||||||
|
TEST_PERFORMANCE_GREATER_THAN(EVENT_DISPATCH_PSRAM, "%d", average);
|
||||||
|
#endif // CONFIG_SPIRAM_SUPPORT
|
||||||
|
#endif // CONFIG_EVENT_LOOP_PROFILING
|
||||||
|
|
||||||
if (!dedicated_task) {
|
if (!dedicated_task) {
|
||||||
((esp_event_loop_instance_t*) loop)->task = mtask;
|
((esp_event_loop_instance_t*) loop)->task = mtask;
|
||||||
@ -1074,4 +1078,4 @@ TEST_CASE("can dump event loop profile", "[event]")
|
|||||||
|
|
||||||
TEST_TEARDOWN();
|
TEST_TEARDOWN();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -28,4 +28,5 @@
|
|||||||
#define IDF_PERFORMANCE_MIN_UDP_RX_THROUGHPUT 80
|
#define IDF_PERFORMANCE_MIN_UDP_RX_THROUGHPUT 80
|
||||||
#define IDF_PERFORMANCE_MIN_UDP_TX_THROUGHPUT 50
|
#define IDF_PERFORMANCE_MIN_UDP_TX_THROUGHPUT 50
|
||||||
// events dispatched per second by event loop library
|
// events dispatched per second by event loop library
|
||||||
#define IDF_PERFORMANCE_MIN_EVENT_DISPATCH 25000
|
#define IDF_PERFORMANCE_MIN_EVENT_DISPATCH 25000
|
||||||
|
#define IDF_PERFORMANCE_MIN_EVENT_DISPATCH_PSRAM 21000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user