Merge branch 'bugfix/event_perf_test_psram' into 'master'
esp_event: lower test performance threshold for PSRAM config Closes #34 See merge request idf/esp-idf!3603
This commit is contained in:
commit
7d465a5487
2 changed files with 8 additions and 3 deletions
|
@ -780,8 +780,12 @@ static void performance_test(bool dedicated_task)
|
|||
// Enabling profiling will slow down event dispatch, so the set threshold
|
||||
// is not valid when it is enabled.
|
||||
#else
|
||||
#ifndef CONFIG_SPIRAM_SUPPORT
|
||||
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) {
|
||||
((esp_event_loop_instance_t*) loop)->task = mtask;
|
||||
|
|
|
@ -29,3 +29,4 @@
|
|||
#define IDF_PERFORMANCE_MIN_UDP_TX_THROUGHPUT 50
|
||||
// events dispatched per second by event loop library
|
||||
#define IDF_PERFORMANCE_MIN_EVENT_DISPATCH 25000
|
||||
#define IDF_PERFORMANCE_MIN_EVENT_DISPATCH_PSRAM 21000
|
||||
|
|
Loading…
Reference in a new issue