Various performance modes for tuning the Dart VM's GC performance.
For the editor of this enum, please keep the order in sync with
- balanced → const DartPerformanceMode
This is the default mode that the Dart VM is in.
- latency → const DartPerformanceMode
Optimize for low latency, at the expense of throughput and memory overhead by performing work in smaller batches (requiring more overhead) or by delaying work (requiring more memory). An embedder should not remain in this mode indefinitely.
- throughput → const DartPerformanceMode
Optimize for high throughput, at the expense of latency and memory overhead by performing work in larger batches with more intervening growth.
- memory → const DartPerformanceMode
Optimize for low memory, at the expensive of throughput and latency by more frequently performing work.