[webkit-changes] [WebKit/WebKit] 4421c8: [JSC] Use putOwnDataPropertyBatching in globalFunc...

Yusuke Suzuki noreply at github.com
Fri Sep 8 20:03:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4421c883befb3d049665bb1b8615edaad2f14245
      https://github.com/WebKit/WebKit/commit/4421c883befb3d049665bb1b8615edaad2f14245
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp

  Log Message:
  -----------
  [JSC] Use putOwnDataPropertyBatching in globalFuncCopyDataProperties
https://bugs.webkit.org/show_bug.cgi?id=261357
rdar://115193506

Reviewed by Alexey Shvayka.

Use putOwnDataPropertyBatching when it is OK in object rest operations.
This makes batching syle putDirect operations fast.

                                               ToT                     Patched

object-rest-computed-destructuring       14.1042+-0.0228     ^     10.3930+-0.0734        ^ definitely 1.3571x faster
object-rest-destructuring                10.9588+-0.0173     ^      7.2509+-0.0071        ^ definitely 1.5114x faster

* Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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




More information about the webkit-changes mailing list