Skip to content

Conversation

@HalidOdat
Copy link
Member

Adds implementation of the W3C High Resolution Time API's performance.now() method and performance.timeOrigin getter property.

Some benchmarks use this if available, which hopefully will remove the very big fluctuations in performance measurement.

Adds implementation of the W3C High Resolution Time API's performance.now()
method and performance.timeOrigin getter property.

Spec: https://w3c.github.io/hr-time/
@github-actions
Copy link

Test262 conformance changes

Test result main count PR count difference
Total 50,747 50,747 0
Passed 47,877 47,877 0
Ignored 2,060 2,060 0
Failed 810 810 0
Panics 0 0 0
Conformance 94.34% 94.34% 0.00%

@codecov
Copy link

codecov bot commented Nov 30, 2025

Codecov Report

❌ Patch coverage is 68.42105% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.10%. Comparing base (6ddc2b4) to head (9da3354).
⚠️ Report is 605 commits behind head on main.

Files with missing lines Patch % Lines
core/runtime/src/performance/mod.rs 74.28% 9 Missing ⚠️
core/runtime/src/extensions.rs 0.00% 2 Missing ⚠️
cli/src/main.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4551      +/-   ##
==========================================
+ Coverage   47.24%   57.10%   +9.85%     
==========================================
  Files         476      505      +29     
  Lines       46892    57586   +10694     
==========================================
+ Hits        22154    32882   +10728     
+ Misses      24738    24704      -34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant