Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6cdcaddbd392769c51b020480df778107d248bda
      
https://github.com/WebKit/WebKit/commit/6cdcaddbd392769c51b020480df778107d248bda
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M Source/WebCore/page/Performance.cpp
    M Source/WebCore/page/Performance.h

  Log Message:
  -----------
  Use ContinuousTime origin for performance.measure signpost
https://bugs.webkit.org/show_bug.cgi?id=293280
rdar://151676122

Reviewed by Yijia Huang.

Avoid approx `- MonotonicTime::now() + ContinuousTime::now()`
computation. Let's have one ContinuousTime origin, and use that with
performance.measure's startTime / duration to reduce a bit of wrong
values.

We also adjust startTime and endTime for signpost to make interval
better shown in profiler.

* Source/WebCore/page/Performance.cpp:
(WebCore::Performance::Performance):
(WebCore::Performance::measure):
* Source/WebCore/page/Performance.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to