Descriptionsandwich: Merge cache-validation.json and urls-for-resources.json tasks
Before in the NoState-Prefetch benchmark tasks graph, Sandwich had
the common/cache-validation.json tasks as a leaf. But it could
lead to issue when selecting final tasks with -e REGEX, and
but forgetting to have the regex matching this important task as
well as the subset of task the user initially wanted to run.
This CL addresses this issue by merging the previous tasks
common/cache-validation.json and common/urls-for-resources.json
into a single common/patched-cache-validation.json tasks, and
have all the benchmark subgraphs depending on them so we are
sure to always run the cache validation at least once before the
benchmark runs.
This CL take this oportunity to output further statistics in the
CSV related to the cache genration such as the number of
sub-resources of an URL, the number of expected cached resources
and the actual number of successfully cached resources, to
identify at scale on many URLs from the CSVs potential issues
the WPR patcher could still have on some webpages.
Moreover, this CL take this change in the extract metrics task
change as an opportunity to parse the fat loading trace JSON
file only once per URL repeat row, in order to make theses tasks
faster.
BUG=582080
Committed: https://crrev.com/b20272f4bed6bf1775113960a2f2fbe70f74562d
Cr-Commit-Position: refs/heads/master@{#398021}
Patch Set 1 #Patch Set 2 : Fixes some doc string #Patch Set 3 : Forgot PrefetchBenchmarkBuilder._PopulateCommonPipelines()'s docstring =D #
Total comments: 14
Patch Set 4 : Addresses Egor's comments #Patch Set 5 : Rebase #
Messages
Total messages: 13 (5 generated)
|