| commit | 3f12fbda56274622d9a756dac158a8bd54b7bd5f | [log] [tgz] | 
|---|---|---|
| author | Kaixiang Huang <huangkaixiang.1124@bytedance.com> | Sun Nov 02 06:19:54 2025 | 
| committer | Catapult LUCI CQ <catapult-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 04 11:31:41 2025 | 
| tree | 9cd12cce4b4892c18483d69e0e61699a33343846 | |
| parent | cd6bedc76713f8b98451b5d275af8a16fd4b0acd [diff] | 
Replace imp module with importlib for Python 3.12+ The imp module has been deprecated in Python 3.10+ and removed in Python 3.12, so replace its usage with importlib to maintain compatibility with newer Python versions. This change updates module loading logic to use importlib.util functions (spec_from_file_location, module_from_spec, etc.) which are the recommended replacements for imp's functionality. Bug: 455210782,336329417 Change-Id: Id69d06b0d663e319cdd097c5715a2b80e2837406 Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/7082166 Reviewed-by: Peng Zhou <zhoupeng.1996@bytedance.com> Reviewed-by: John Chen <johnchen@chromium.org> Reviewed-by: Ho Cheung <hocheung@chromium.org> Reviewed-by: Mikhail Khokhlov <khokhlov@google.com> Commit-Queue: Peng Zhou <zhoupeng.1996@bytedance.com>
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.
Please see our contributor's guide