diff --git a/CompilerImprovements.md b/CompilerImprovements.md index d40e582..9d5b12e 100644 --- a/CompilerImprovements.md +++ b/CompilerImprovements.md @@ -68,7 +68,7 @@ performance over each release. - since each stage is separate but dependent, separate threads could work on a given thread -# Tunables to reduce memory +# Ways to reduce memory usage during a compile * -O expr-simplify (may slow small policy compiles, will speed up large compiles) * -O diff-encode (will slow down small compiles slightly, will speed up large compiles) @@ -77,6 +77,8 @@ performance over each release. ** N=1 (one worker) ** N=xC where C is less than the default of 8 * --max-jobs=N (cap workers used by -j irrespective of number of cpus +* ship pre-compiled policy +* tweak policy expressions * ensure parser is stripped # Tunables to reduce policy size @@ -85,9 +87,9 @@ performance over each release. * -O compress-small (will slow down compiles) * -O diff-encode (may slow small policy compiles, will speed-up large compiles) -# Tunables to trade compiler memory for speed +# Tunables to increase compile speed -??? +???TODO # Improvements per Release