Merge branch 'ci/ccomp_performance_tests' into 'master'

unit_test: Refactor all performance tests that rely on cache compensated timer

See merge request espressif/esp-idf!11709
This commit is contained in:
Angus Gratton
2020-12-24 13:44:52 +08:00
15 changed files with 49 additions and 25 deletions

View File

@@ -63,8 +63,8 @@ TEST_CASE("Test esp_sha()", "[hw_crypto]")
free(buffer);
TEST_PERFORMANCE_LESS_THAN(TIME_SHA1_32KB, "%dus", us_sha1);
TEST_PERFORMANCE_LESS_THAN(TIME_SHA512_32KB, "%dus", us_sha512);
TEST_PERFORMANCE_CCOMP_LESS_THAN(TIME_SHA1_32KB, "%dus", us_sha1);
TEST_PERFORMANCE_CCOMP_LESS_THAN(TIME_SHA512_32KB, "%dus", us_sha512);
}
TEST_CASE("Test esp_sha() function with long input", "[hw_crypto]")