Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4421c883befb3d049665bb1b8615edaad2f14245
      
https://github.com/WebKit/WebKit/commit/4421c883befb3d049665bb1b8615edaad2f14245
  Author: Yusuke Suzuki <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to