Skip to content

Commit

Permalink
Shrink size on test on Windows due to taking too long.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 committed Aug 15, 2019
1 parent 9eaadcd commit da91c03
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/perf/external_pointer/externalpointer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ namespace test
#ifdef NDEBUG
static constexpr size_t iterations = 10000000;
#else
# ifdef _MSC_VER
// Windows Debug build is very slow on this test.
// Reduce complexity to balance CI times.
static constexpr size_t iterations = 50000;
# else
static constexpr size_t iterations = 100000;
# endif
#endif
setup(r, alloc);

Expand Down

0 comments on commit da91c03

Please sign in to comment.