-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Closed
Copy link
Labels
A-allocatorsArea: Custom and system allocatorsArea: Custom and system allocatorsE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: Hard difficulty. Experience needed to fix: A lot.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
Ratio-based dirty page purging reduces memory usage, but results in a significant performance hit. It is already possible to disable it by exporting an environment variable, but it should be possible to toggle it or alter the ratio at runtime. It may make sense to have it disabled by default because it's not desirable in short-lived applications or those with consistent memory allocation patterns.
It's primarily desirable in large, long-lived applications with varying memory usage patterns where opting into a feature is not a big deal. The defaults should likely be optimized for programming in the small.
Metadata
Metadata
Assignees
Labels
A-allocatorsArea: Custom and system allocatorsArea: Custom and system allocatorsE-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: Hard difficulty. Experience needed to fix: A lot.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.