Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: df073f7df0ffd5ca628c52d47943c54cad3d5cd9
      
https://github.com/WebKit/WebKit/commit/df073f7df0ffd5ca628c52d47943c54cad3d5cd9
  Author: Anand Srinivasan <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    A JSTests/microbenchmarks/temporal-zoned-date-time-from-named-time-zone.js
    M Source/JavaScriptCore/runtime/temporal/core/TimeZoneICUBridge.cpp

  Log Message:
  -----------
  Clean up JS Temporal getNamedTimeZoneEpochNanoseconds
https://bugs.webkit.org/show_bug.cgi?id=319296
rdar://182132863

Reviewed by Yijia Huang and Yusuke Suzuki.

getNamedTimeZoneEpochNanoseconds makes a number of ICU calls which could
be reduced by invoking ICU function ucal_getTimeZoneOffsetFromLocal to
deal with time zone offsets. New JSTests/ microbenchmark appears
performance neutral.

                                                     ToT                     
Patched

temporal-zoned-date-time-from-named-time-zone  19.3681+-0.0994           
19.3105+-0.0791
<geometric>                                    19.3681+-0.0994           
19.3105+-0.0791          might be 1.0030x faster

* JSTests/microbenchmarks/temporal-zoned-date-time-from-named-time-zone.js: 
Added.
* Source/JavaScriptCore/runtime/temporal/core/TimeZoneICUBridge.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to