Files
Yang Guo 9a5632f156 [test] Extend Memory.json startup snapshot benchmark
Increase the Memory.json run count to 30, add units to deserialization
time traces, and add SharedHeap deserialization timing alongside
per-section serialization timing under --profile-deserialization.

TAG=agy
CONV=accf1fa7-ebf8-4b3c-af8e-b62f22559520

Bug: 573447555
Change-Id: I6980ad1f4340958daf27493eaf5fc60ef3e2713b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8579097
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jakob Linke <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/main@{#110686}
2026-10-14 02:34:14 -07:00

86 lines
2.5 KiB
JSON

{
"owners": ["yangguo@chromium.org", "jgruber@chromium.org"],
"name": "Memory",
"run_count": 30,
"units": "bytes",
"resources": ["run.js"],
"main": "run.js",
"path": ["."],
"flags": ["--allow-natives-syntax", "--profile-deserialization",
"--serialization-statistics"],
"tests": [
{
"name": "ReservedMemoryProcess",
"results_regexp": "(\\d+) bytes per process$"
},
{
"name": "ReservedMemoryIsolate",
"results_regexp": "(\\d+) bytes per isolate$"
},
{
"name": "ReservedMemoryContext",
"results_regexp": "(\\d+) bytes per context #0$"
},
{
"name": "SnapshotSizeStartup",
"results_regexp": "(\\d+) bytes for startup$"
},
{
"name": "SnapshotSizeSharedHeap",
"results_regexp": "(\\d+) bytes for shared heap$"
},
{
"name": "SnapshotSizeReadOnly",
"results_regexp": "(\\d+) bytes for read-only$"
},
{
"name": "SnapshotSizeContext",
"results_regexp": "(\\d+) bytes for context #0$"
},
{
"name": "DeserializationTimeReadOnly",
"units": "ms",
"results_regexp": "\\[Deserializing read-only space \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "DeserializationTimeIsolate",
"units": "ms",
"results_regexp": "\\[Deserializing isolate \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "DeserializationTimeSharedHeap",
"units": "ms",
"results_regexp": "\\[Deserializing shared heap \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "DeserializationTimeContext",
"units": "ms",
"results_regexp": "\\[Deserializing context #0 \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "SerializationTimeReadOnly",
"units": "ms",
"results_regexp": "\\[Serializing read-only space \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "SerializationTimeStartup",
"units": "ms",
"results_regexp": "\\[Serializing isolate \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "SerializationTimeSharedHeap",
"units": "ms",
"results_regexp": "\\[Serializing shared heap \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "SerializationTimeContext",
"units": "ms",
"results_regexp": "\\[Serializing context #0 \\(\\d+ bytes\\) took ([\\d.]+) ms\\]"
},
{
"name": "EmbeddedBuiltinsSize",
"results_regexp": "^Embedded blob is (\\d+) bytes$"
}
]
}