[webkit-changes] [WebKit/WebKit] 1238f6: Migrate benchmark_json_merge in webkitpy/benchmark...

James Carter Bohan noreply at github.com
Wed Aug 23 19:32:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1238f66382701acf7c499a4a56a314e6a1c7954e
      https://github.com/WebKit/WebKit/commit/1238f66382701acf7c499a4a56a314e6a1c7954e
  Author: James Bohan <james at jcbohan.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/benchmark_runner/benchmark_json_merge.py

  Log Message:
  -----------
  Migrate benchmark_json_merge in webkitpy/benchmark_runner to Python 3
https://bugs.webkit.org/show_bug.cgi?id=260307

Reviewed by Dewei Zhu.

Imports reduce from functools since it is no longer a built-in function in Python 3.
Uses Python 3 list comprehension syntax to add the object keys.

* Tools/Scripts/webkitpy/benchmark_runner/benchmark_json_merge.py:
(deepAppend):

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




More information about the webkit-changes mailing list