-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve frame tracking accuracy (#2372)
* update test' * revert example * update test * fix fluttera analyze and update frame tracker doc * update CHANGELOG * update * update test * working integration test * update * fix test * update * improve tests * fix test * Update CHANGELOG.md * Update span_frame_metrics_collector.dart * iterate over relevant frames and not all delayed frames * improve frame valid check * change actualDurationMs to frameDurationMs * improve logger * remove unnecessary log * decouple frame tracker from widgetsbinding * use clock callback
- Loading branch information
Showing
20 changed files
with
3,489 additions
and
789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class SpanDataConvention { | ||
SpanDataConvention._(); | ||
|
||
static const totalFrames = 'frames.total'; | ||
static const slowFrames = 'frames.slow'; | ||
static const frozenFrames = 'frames.frozen'; | ||
static const framesDelay = 'frames.delay'; | ||
|
||
// TODO: eventually add other data keys here as well | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.