[Telemetry] Use psutil for Windows process snapshots.

GetSystemProcessInfo currently invokes WMIC or PowerShell to collect a
process snapshot on Windows. Repeated calls add significant process
startup overhead.

Use the existing psutil dependency to collect the same process
information in-process, preserving the returned data format. Add unit
coverage for the conversion.

Change-Id: I7b85cbf36cf21ba372984042ee292ba182fff206
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/8337427
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
2 files changed
tree: 225e7e3d594ddd7ee8189a5c5a9855e11eefe21c
  1. bin/
  2. catapult_build/
  3. common/
  4. dashboard/
  5. dependency_manager/
  6. devil/
  7. docs/
  8. experimental/
  9. hooks/
  10. infra/
  11. netlog_viewer/
  12. perf_issue_service/
  13. skia_bridge/
  14. systrace/
  15. telemetry/
  16. third_party/
  17. trace_processor/
  18. tracing/
  19. .eslintignore
  20. .eslintrc
  21. .gcloudignore
  22. .gitignore
  23. .gitmodules
  24. .style.yapf
  25. .vpython3
  26. .yapfignore
  27. AUTHORS
  28. BUILD.gn
  29. codereview.settings
  30. CONTRIBUTING.md
  31. DEPS
  32. DIR_METADATA
  33. generate_telemetry_build.py
  34. LICENSE
  35. navbar.md
  36. OWNERS
  37. PRESUBMIT.py
  38. pylintrc
  39. README.md
  40. WATCHLISTS
README.md

Catapult

Catapult is the home for several performance tools that span from gathering, displaying and analyzing performance data. This includes:

These tools were created by Chromium developers for performance analysis, testing, and monitoring of Chrome, but they can also be used for analyzing and monitoring websites, and eventually Android apps.

Contributing

Please see our contributor's guide