Bug 197339

Summary: run-benchmarks should have an intial prep and restore env call for tasks that are too expensive to do for every iteration
Product: WebKit Reporter: Stephanie Lewis <slewis>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dewei_zhu, ews-watchlist, glenn, lforschler, slewis, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch dewei_zhu: review+

Description Stephanie Lewis 2019-04-26 19:00:02 PDT
Some tasks (like reboots) take a significant amount of time so we should have the ability to run them once and not have to run them in between every iteration.
Comment 1 Stephanie Lewis 2019-04-26 19:13:40 PDT
Created attachment 368380 [details]
patch
Comment 2 EWS Watchlist 2019-04-26 19:15:45 PDT
Attachment 368380 [details] did not pass style-queue:


ERROR: Tools/ChangeLog:8:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 dewei_zhu 2019-04-26 19:24:39 PDT
Comment on attachment 368380 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=368380&action=review

> Tools/ChangeLog:8
> +	Add two new functions prepare_inital_env and restore_env_after_all_testing around the entire

Four more spaces?
Comment 4 Stephanie Lewis 2019-04-30 16:53:12 PDT
Landed https://trac.webkit.org/changeset/244730/webkit
Comment 5 Radar WebKit Bug Importer 2019-04-30 16:54:18 PDT
<rdar://problem/50355843>