feat: optionally save complete performance log in chrome benchpress tests (#27551)
If RAW_PERFLOG_PATH is passed in as an option, benchpress saves chrome's performance log to a json file. This allows developers to download the json file and upload it to their browser to get a breakdown of chrome-side resource usage during a test. PR Close #27551
This commit is contained in:

committed by
Matias Niemelä

parent
2ea4f690e4
commit
d42f32cc61
@ -47,7 +47,8 @@ import {TraceEventFactory} from '../trace_event_factory';
|
||||
provide: WebDriverAdapter,
|
||||
useValue: new MockDriverAdapter(log, perfRecords, messageMethod)
|
||||
},
|
||||
{provide: Options.USER_AGENT, useValue: userAgent}
|
||||
{provide: Options.USER_AGENT, useValue: userAgent},
|
||||
{provide: Options.RAW_PERFLOG_PATH, useValue: null}
|
||||
])
|
||||
.get(ChromeDriverExtension);
|
||||
return extension;
|
||||
|
Reference in New Issue
Block a user