[webkit-changes] [WebKit/WebKit] b42bc9: Support SpiderMonkey shell in JetStream2 CLI

Yusuke Suzuki noreply at github.com
Mon Feb 13 01:05:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b42bc97647b1a174a8e4b1b505484d4096e9065c
      https://github.com/WebKit/WebKit/commit/b42bc97647b1a174a8e4b1b505484d4096e9065c
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M PerformanceTests/JetStream2/JetStreamDriver.js
    M PerformanceTests/JetStream2/cli.js
    M PerformanceTests/JetStream2/index.html

  Log Message:
  -----------
  Support SpiderMonkey shell in JetStream2 CLI
https://bugs.webkit.org/show_bug.cgi?id=252155
rdar://105380561

Reviewed by Tadeu Zagallo.

This is nice if we can quickly run JetStream2 CLI with SpiderMonkey shell too to see the difference with JSC.
This patch extends JetStream2 CLI driver to support SpiderMonkey shell.
CAUTION: This CLI is used just for ease. This CLI is not attempting to make every environment run under the strictly same condition.
Each shell is using its own readFile, runString etc. implementations and only browser run can offer strictly comparable data.
But still CLI is useful for quick investigation.

* PerformanceTests/JetStream2/JetStreamDriver.js:
(Driver.prototype.runCode):
(typeof): Deleted.
(prototype.else): Deleted.
* PerformanceTests/JetStream2/cli.js:

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




More information about the webkit-changes mailing list