Add EventFinderUtils

In loading_metric, we had the class NavigationStartFinder that is used
to find navigation start events. For the new TTI metrics, we will need
to find other similar events, e.g. DomContentLoadedEnd. This CL
introduces the more generic EventFinderUtils class with more generic
methods to find events efficiently.

Bug: catapult:#3635
Change-Id: I9b49a85bb02218d860480b27e8385801feab391e
R=tdresser@chromium.org,benjhayden@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/735831
Commit-Queue: Deepanjan Roy <dproy@chromium.org>
Reviewed-by: Ben Hayden <benjhayden@chromium.org>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
6 files changed
tree: 9f5111e1308dd6d0f35617048c5cfcd9927d159c
  1. .eslintignore
  2. .eslintrc
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTING.md
  6. LICENSE
  7. OWNERS
  8. PRESUBMIT.py
  9. README.md
  10. WATCHLISTS
  11. bin/
  12. catapult_base/
  13. catapult_build/
  14. codereview.settings
  15. common/
  16. dashboard/
  17. dependency_manager/
  18. devil/
  19. docs/
  20. experimental/
  21. firefighter/
  22. hooks/
  23. infra/
  24. navbar.md
  25. netlog_viewer/
  26. pylintrc
  27. systrace/
  28. telemetry/
  29. third_party/
  30. trace_processor/
  31. tracing/
  32. web_page_replay_go/
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

Current build status