commit | c4d8c6372378431cf7801baa880ea8440dfeb622 | [log] [tgz] |
---|---|---|
author | Ben Konyi <bkonyi@google.com> | Mon Feb 10 11:54:45 2025 -0600 |
committer | GitHub <noreply@github.com> | Mon Feb 10 17:54:45 2025 +0000 |
tree | b7b246ea12a06eea27338f612e1b550f0af0996d | |
parent | b5c7b2d09c4dbaab3997ea22e9fd796f9da7b9ae [diff] |
Use previous HTTP profile timestamps instead of DateTime.now() when requesting HTTP profiles (#8860) The time between the target process creating the HTTP profile and DevTools invoking DateTime.now() to set the last HTTP data refresh time could result in some HTTP events being missed. This change updates the network service to use the timestamp sent with the last HTTP profile when requesting the next HTTP profile so network latency won't introduce time gaps in the profile. This change also updates the logic to keep track of last HTTP profile request times by isolate as each profile has its own timestamp that needs to be used when requesting the next profile. Fixes https://github.com/flutter/devtools/issues/8380 Fixes https://github.com/flutter/devtools/issues/8305
Dart & Flutter DevTools is a suite of performance tools for Dart and Flutter.
For documentation on installing and trying out DevTools, please see our docs.
Contributions welcome! See our contributing page for an overview of how to build and contribute to the project.
By using Dart DevTools, you agree to the Google Terms of Service. To understand how we use data collected from this service, see the Google Privacy Policy.