responsive constant

DiagnosticProcessingPolicy const responsive

Yields more frequently to favor UI responsiveness.

Implementation

static const responsive = DiagnosticProcessingPolicy(
  exportChunkSize: 25,
  importChunkSize: 10,
  yieldEveryExportChunks: 2,
  yieldEveryImportChunks: 1,
  backgroundProcessingThresholdBytes: 64 * 1024,
  backgroundExportEntryThreshold: 25,
  searchDebounce: Duration(milliseconds: 200),
  searchYieldInterval: Duration(milliseconds: 40),
  shortSearchYieldInterval: Duration(milliseconds: 75),
  searchProgressThreshold: 8,
  shortSearchProgressThreshold: 10,
  searchBatchSize: 100,
  largeSearchBatchSize: 60,
  veryLargeSearchBatchSize: 40,
  shortSearchBatchSize: 150,
  viewerBuildYieldThreshold: 500,
  viewerBuildYieldDelay: Duration(milliseconds: 1),
);