DescriptionAdd benchmark output to compiler stats.
Add two compiler stats benchmarks to unit tests
Sample output:
xcodebuild/ReleaseIA32/run_vm_tests CorelibCompilerStats
NumberOfTokens: 271148
NumClassesParsed: 730
NumFunctionsCompiled: 8987
NumFunctionsOptimized: 0
NumFunctionsParsed: 9694
NumTokensScanned: 0 tokens
ScannerTime: 0 ms
ScannerSpeed: 0 tokens/ms
NumTokensParsed: 531066 tokens
ParserTime: 262 ms
ParserSpeed: 2026 tokens/ms
NumTokensCompiled: 433816 tokens
CompilerTime: 648 ms
CompilerSpeed: 668 tokens/ms
CodeSize: 4428 KB
CodeDensity: 138 tokens/KB
InstrSize: 3127 KB
CorelibCompilerStats(RunTime): 694788
BUG=
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/bb097ec37f4d034622c8ba20cc97931fe1870d0e
Patch Set 1 #Patch Set 2 : cleanup #
Total comments: 2
Patch Set 3 : review comments #Patch Set 4 : fix merge error #Patch Set 5 : mmmmmmerge #
Messages
Total messages: 7 (2 generated)
|