| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <DOM/EventTarget.idl> | 
					
						
							| 
									
										
										
										
											2023-03-06 23:56:20 +00:00
										 |  |  | #import <HighResolutionTime/DOMHighResTimeStamp.idl> | 
					
						
							| 
									
										
										
										
											2024-08-01 19:50:52 -06:00
										 |  |  | #import <NavigationTiming/PerformanceNavigation.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <NavigationTiming/PerformanceTiming.idl> | 
					
						
							| 
									
										
										
										
											2023-03-22 19:12:57 +00:00
										 |  |  | #import <PerformanceTimeline/PerformanceEntry.idl> | 
					
						
							| 
									
										
										
										
											2023-03-23 17:07:52 +00:00
										 |  |  | #import <UserTiming/PerformanceMark.idl> | 
					
						
							| 
									
										
										
										
											2023-05-13 13:34:28 +01:00
										 |  |  | #import <UserTiming/PerformanceMeasure.idl> | 
					
						
							| 
									
										
										
										
											2023-03-22 19:12:57 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // https://www.w3.org/TR/performance-timeline/#dom-performanceentrylist | 
					
						
							|  |  |  | typedef sequence<PerformanceEntry> PerformanceEntryList; | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 16:45:09 -06:00
										 |  |  | // https://w3c.github.io/hr-time/#sec-performance | 
					
						
							| 
									
										
										
										
											2023-09-03 02:00:01 +12:00
										 |  |  | [Exposed=(Window, Worker)] | 
					
						
							| 
									
										
										
										
											2020-09-29 18:19:18 +02:00
										 |  |  | interface Performance : EventTarget { | 
					
						
							| 
									
										
										
										
											2023-03-06 23:56:20 +00:00
										 |  |  |     DOMHighResTimeStamp now(); | 
					
						
							|  |  |  |     readonly attribute DOMHighResTimeStamp timeOrigin; | 
					
						
							| 
									
										
										
										
											2024-07-16 22:49:23 +01:00
										 |  |  |     [Default] object toJSON(); | 
					
						
							| 
									
										
										
										
											2021-01-18 15:06:13 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-23 17:07:52 +00:00
										 |  |  |     // https://w3c.github.io/user-timing/#extensions-performance-interface | 
					
						
							|  |  |  |     // "User Timing" extensions to the Performance interface | 
					
						
							|  |  |  |     PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions = {}); | 
					
						
							|  |  |  |     undefined clearMarks(optional DOMString markName); | 
					
						
							| 
									
										
										
										
											2023-05-13 13:34:28 +01:00
										 |  |  |     PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions = {}, optional DOMString endMark); | 
					
						
							|  |  |  |     undefined clearMeasures(optional DOMString measureName); | 
					
						
							| 
									
										
										
										
											2023-03-23 17:07:52 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-22 19:12:57 +00:00
										 |  |  |     // https://www.w3.org/TR/performance-timeline/#extensions-to-the-performance-interface | 
					
						
							|  |  |  |     // "Performance Timeline" extensions to the Performance interface | 
					
						
							|  |  |  |     PerformanceEntryList getEntries(); | 
					
						
							|  |  |  |     PerformanceEntryList getEntriesByType(DOMString type); | 
					
						
							|  |  |  |     PerformanceEntryList getEntriesByName(DOMString name, optional DOMString type); | 
					
						
							| 
									
										
										
										
											2024-08-01 19:50:52 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // https://w3c.github.io/navigation-timing/#extensions-to-the-performance-interface | 
					
						
							|  |  |  |     // Obsolete "Navigation Timing" extensions to the Performance interface | 
					
						
							|  |  |  |     [SameObject] | 
					
						
							|  |  |  |     readonly attribute PerformanceTiming timing; | 
					
						
							|  |  |  |     [SameObject] | 
					
						
							|  |  |  |     readonly attribute PerformanceNavigation navigation; | 
					
						
							| 
									
										
										
										
											2020-12-09 21:26:42 +00:00
										 |  |  | }; |