minimum optimization for MainThreadScheduler