commit | 5376b50a13e8f5ffdb03494ca5ee7e3d33e824e0 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Thu Jul 09 23:04:34 2020 +0900 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Thu Jul 09 19:10:48 2020 +0000 |
tree | 1530e8db6ff726a24a9234dfc601fb567b2b75bf | |
parent | cef2266197ea23a48c2931b2b082bfaa2b3d284f [diff] |
Optimize checkDuplicatedVersions Previously, the checkDuplicatedVersions mutator visited a node multiple times. When the mutator is running for a module, the mutator visited all of the transitive depmendencies of the module. As a result, modules that are at the bottom of the dependency tree were visited a lot of times. This change optimizes the behavior; now, each module visited only once. When the mutator is running for a module, it gathers AIDL interface modules that the module directly depends on. If there is any, the info is recorded and is used in the later runs of the mutator. Bug: 160855603 Test: measure the time spent for running the mutator by inserting some time check routines around the runMutator function in blueprint. 1680ms -> 330ms in AOSP/aosp_arm64 target Change-Id: Ib9b583a0ce01cd858652d0de650ca76c18c5b9cf
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview