a7dce4fbed
This adds the option to output statistics about the embedded blob. On x64 release, the output is currently: Total size: 724064 Metadata size: 6832 Instruction size: 703427 Padding: 13805 Embedded builtin count: 852 Instruction size (50th percentile): 222 Instruction size (75th percentile): 749 Instruction size (90th percentile): 1871 Instruction size (99th percentile): 9171 Total size is added to our Memory benchmark. Drive-by: Fix startup / context regexps for Memory benchmark. Bug: v8:6666, v8:7898 Change-Id: I90d4458877939d3b48593bd9dd3a33971fe78c44 Reviewed-on: https://chromium-review.googlesource.com/1126104 Commit-Queue: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#54256}
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"owners": ["yangguo@chromium.org", "jgruber@chromium.org"],
|
|
"name": "Memory",
|
|
"run_count": 5,
|
|
"units": "bytes",
|
|
"path" : ["."],
|
|
"binary": "cctest",
|
|
"main": "test-serialize/SerializationStats",
|
|
"tests": [
|
|
{
|
|
"name": "ReservedMemoryIsolate",
|
|
"results_regexp": "(\\d+) bytes per isolate$"
|
|
},
|
|
{
|
|
"name": "ReservedMemoryContext",
|
|
"results_regexp": "(\\d+) bytes per context #0$"
|
|
},
|
|
{
|
|
"name": "SnapshotSizeStartup",
|
|
"results_regexp": "(\\d+) bytes in \\d+ chunks for startup$"
|
|
},
|
|
{
|
|
"name": "SnapshotSizeBuiltins",
|
|
"results_regexp": "(\\d+) bytes for builtins$"
|
|
},
|
|
{
|
|
"name": "SnapshotSizeContext",
|
|
"results_regexp": "(\\d+) bytes in \\d+ chunks for context #0$"
|
|
},
|
|
{
|
|
"name": "DeserializationTimeIsolate",
|
|
"results_regexp": "\\[Deserializing isolate \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
|
|
},
|
|
{
|
|
"name": "DeserializationTimeContext",
|
|
"results_regexp": "\\[Deserializing context #0 \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
|
|
},
|
|
{
|
|
"name": "EmbeddedBuiltinsSize",
|
|
"results_regexp": "^Embedded blob is (\\d+) bytes$"
|
|
}
|
|
]
|
|
}
|