-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support the case where some visual metrics properties are missing #3967
Support the case where some visual metrics properties are missing #3967
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3967 +/- ##
=======================================
Coverage 87.26% 87.26%
=======================================
Files 279 279
Lines 23934 23926 -8
Branches 6325 6322 -3
=======================================
- Hits 20885 20879 -6
+ Misses 2809 2807 -2
Partials 240 240
Continue to review full report at Codecov.
|
e619edf
to
9b3b206
Compare
9b3b206
to
227beda
Compare
227beda
to
ab64434
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
It's indeed interesting that the timestamps are null in the profile.
@@ -685,30 +685,30 @@ export type ProgressGraphData = {| | |||
* along with their visual progression. These properties find their way into the gecko profile through running | |||
* browsertime, which is a tool that lets you collect performance metrics of your website. | |||
* Browsertime provides the option of generating a gecko profile, which then embeds these visual metrics | |||
* into the geckoprofile. More information about browsertime can be found through https://github.com/mozilla/browsertime. | |||
* into the geckoprofile. More information about browsertime can be found through https://github.com/sitespeedio/browsertime. | |||
* These values are generated only when browsertime is run with --visualMetrics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for additional information!
Fixes #3966
production
deploy preview
The data itself in this profile seems to have an error (all "timestamp" properties are undefined) and that's why the resulting graph looks wrong.
I didn't add new tests, because I thought that the type changes are good enough in this case. Tell me what you think :-)