devtools
9529dfb3 - Use previous HTTP profile timestamps instead of DateTime.now() when requesting HTTP profiles (#8860)

Commit
1 year ago
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
Author
Committer
Parents
Loading