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

Commit
123 days 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
Parents
  • packages/devtools_app
    • lib/src/screens/network
      • File
        network_controller.dart
      • File
        network_service.dart
    • release_notes
      • File
        NEXT_RELEASE_NOTES.md