private void assertDbCounts(final int refStreamDefCount,
                                final int totalKeyValueEntryCount,
                                final int totalRangeValueEntryCount) {

        assertThat(refDataStore.getProcessingInfoEntryCount())
                .isEqualTo(refStreamDefCount);
        assertThat(refDataStore.getKeyValueEntryCount())
                .isEqualTo(totalKeyValueEntryCount);
        assertThat(refDataStore.getRangeValueEntryCount())
                .isEqualTo(totalRangeValueEntryCount);
    }
Make entryCount very big for manual performance testing or profiling
stroom-pipeline/src/test/java/stroom/pipeline/refdata/store/onheapstore/TestRefDataOnHeapStore.java