[webkit-changes] [WebKit/WebKit] c770d8: JetStream2 driver should be able to specify indivi...

Hysu Xiong noreply at github.com
Wed Nov 2 18:46:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c770d8fffc0827be18ed9a216fec2ba1de920aa0
      https://github.com/WebKit/WebKit/commit/c770d8fffc0827be18ed9a216fec2ba1de920aa0
  Author: Hysu Xiong <hysu at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M PerformanceTests/JetStream2/JetStreamDriver.js
    M PerformanceTests/JetStream3/JetStreamDriver.js

  Log Message:
  -----------
  JetStream2 driver should be able to specify individual subtests/test groups to run
https://bugs.webkit.org/show_bug.cgi?id=247301
rdar://101783726

Reviewed by Alexey Shvayka.

- Refactor existing `report` argument parsing to use URLSearchParams
- Add a new URL parameter, `test`, that runs a given list of tests and/or test groups.

Eventually, we'd like to be able to add profiling/ARTrace support to JetStream2, and being able to measure individual subtests would be useful as measuring the whole test may be too long and costly.

* PerformanceTests/JetStream2/JetStreamDriver.js:
(Driver.prototype.async initialize):
(Driver.prototype.async reportScoreToRunBenchmarkRunner):
(prototype.else):
* PerformanceTests/JetStream3/JetStreamDriver.js:
(Driver.prototype.async initialize):
(Driver.prototype.async reportScoreToRunBenchmarkRunner):
(prototype.else):

Canonical link: https://commits.webkit.org/256264@main




More information about the webkit-changes mailing list