unit_test: Refactor all performance tests that rely on cache compensated timer See merge request espressif/esp-idf!11709