mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
PWM tests
This commit is contained in:
parent
06b409ad60
commit
585d0e52af
6 changed files with 166 additions and 0 deletions
|
@ -110,4 +110,16 @@ impl PaintTimeMetrics {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_navigation_start(&self) -> Option<f64> {
|
||||
self.navigation_start
|
||||
}
|
||||
|
||||
pub fn get_first_paint(&self) -> Option<f64> {
|
||||
self.first_paint.get()
|
||||
}
|
||||
|
||||
pub fn get_first_contentful_paint(&self) -> Option<f64> {
|
||||
self.first_contentful_paint.get()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue