highPerformance static method
Configuration optimized for maximum performance.
Features:
- Minimal logging and overhead
- Large batch sizes for efficiency
- Extended cache durations
- Auto-sync with longer intervals
Implementation
static DatumConfig highPerformance() {
return const DatumConfig(
autoSyncInterval: Duration(hours: 1),
autoStartSync: true,
syncTimeout: Duration(minutes: 10),
enableLogging: false,
logLevel: LogLevel.error,
enablePerformanceLogging: false,
changeCacheDuration: Duration(minutes: 5),
maxChangeCacheSize: 5000,
changeCacheCleanupInterval: Duration(minutes: 15),
remoteSyncBatchSize: 500,
remoteStreamBatchSize: 250,
progressEventFrequency: 250,
remoteEventDebounceTime: Duration(milliseconds: 200),
);
}