Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add memory-usage stats (collected after each pass) to PerformanceTrac…
…ker. Sample output: After pass renameLabels: Used mem(MB): 177 Free mem(MB): 308 Total mem(MB): 485 After pass latePeepholeOptimizations: Used mem(MB): 201 Free mem(MB): 284 Total mem(MB): 485 After pass stripSideEffectProtection: Used mem(MB): 215 Free mem(MB): 270 Total mem(MB): 485 After pass sanityCheckAst: Used mem(MB): 215 Free mem(MB): 270 Total mem(MB): 485 After pass sanityCheckVars: Used mem(MB): 215 Free mem(MB): 270 Total mem(MB): 485 TOTAL: Runtime(ms): 19042 Mem usage after each pass(MB): 179.14 +/- 37.46 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126164670
- Loading branch information
Showing
5 changed files
with
99 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters