Skip to content

Commit 44b32ee

Browse files
Performance enhancement in cases where there are a lot of presents lost/waiting for events.
Addresses #209
1 parent 4894216 commit 44b32ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PresentData/PresentMonTraceConsumer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#ifdef DEBUG
2525
static constexpr int PRESENTEVENT_CIRCULAR_BUFFER_SIZE = 32768;
2626
#else
27-
static constexpr int PRESENTEVENT_CIRCULAR_BUFFER_SIZE = 8192;
27+
static constexpr int PRESENTEVENT_CIRCULAR_BUFFER_SIZE = 1024;
2828
#endif
2929

3030
// These macros, when enabled, record what PresentMon analysis below was done

0 commit comments

Comments
 (0)