1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:47:35 +00:00

LibWeb: Implement performance.{measure,clearMeasures}

This commit is contained in:
Luke Wilde 2023-05-13 13:34:28 +01:00 committed by Andreas Kling
parent d088619560
commit 036e1e1bcf
10 changed files with 371 additions and 4 deletions

View file

@ -0,0 +1,13 @@
#import <PerformanceTimeline/PerformanceEntry.idl>
[Exposed=(Window,Worker), UseNewAKString]
interface PerformanceMeasure : PerformanceEntry {
readonly attribute any detail;
};
dictionary PerformanceMeasureOptions {
any detail;
(DOMString or DOMHighResTimeStamp) start;
DOMHighResTimeStamp duration;
(DOMString or DOMHighResTimeStamp) end;
};