From 54fb9477a4d69efa15c65f62dfbd4a13feec3af9 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Thu, 1 Jun 2023 20:02:06 +0200 Subject: [PATCH] LibC+Tests: Reduce fuzz iteration in TestMemalign to speed up CI In AArch CI, this test alone takes up 110.6 seconds. In x86_64 CI, it takes up 68.4 seconds. There is no reason to spend this much time and this many trials on this. Let's reduce the number of iterations to 500. This should still surface any misalignment with high probability, and should speed up the CI time from minutes to seconds. --- Tests/LibC/TestMemalign.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/LibC/TestMemalign.cpp b/Tests/LibC/TestMemalign.cpp index 51840fec5a..fd2bda43e3 100644 --- a/Tests/LibC/TestMemalign.cpp +++ b/Tests/LibC/TestMemalign.cpp @@ -9,7 +9,7 @@ #include #include -static constexpr size_t runs = 5000; +static constexpr size_t runs = 500; static constexpr size_t ptrs_per_run = 20; static size_t random_alignment()