From e6cb7a1c9b31de3c6eca367d9164a1896bbb60ae Mon Sep 17 00:00:00 2001 From: Yinan Zhang Date: Tue, 7 Jul 2020 13:33:30 -0700 Subject: [PATCH] Shorten wait time for peak events --- src/peak_event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/peak_event.c b/src/peak_event.c index ffb061bf..79d91e02 100644 --- a/src/peak_event.c +++ b/src/peak_event.c @@ -5,12 +5,12 @@ #include "jemalloc/internal/peak_event.h" /* - * Update every 100k by default. We're not exposing this as a configuration + * Update every 64K by default. We're not exposing this as a configuration * option for now; we don't want to bind ourselves too tightly to any particular * performance requirements for small values, or guarantee that we'll even be * able to provide fine-grained accuracy. */ -#define PEAK_EVENT_WAIT (100 * 1024) +#define PEAK_EVENT_WAIT (64 * 1024) /* Update the peak with current tsd state. */ void