Age | Commit message (Collapse) | Author |
|
Bug: NA
Test: ran `canonical_perf.sh` and verified log dir is created
Change-Id: I188d2d2151a4d631269853becfd04a7966eda32a
|
|
concurrent events aren't properly handled
e.g. if one run had a->b->c->d and the other had
d->c->b->a there was non-determinism in which cycle
is detected first. And that cycle detection also
modified some global state raising exceptions
Bug: NA
Test: ran `b test` which failed for perf_metrics_test without the
changes in perf_metrics.py
Change-Id: I6773b80c2598a278f4016d50c6dd193c0b500307
|
|
Test: `incremental_build.sh -c "no change" -b prod` and see "VERIFIED Symlink Forest ..." in console log
Bug: NA
Change-Id: I9b81bbf710d7d8056989f8f7debe0927402578eb
|
|
Test: `incremental_build.sh -c clean -b prod soong` and verify rows for WARMUP in summary.csv and metrics.csv
Bug: NA
Change-Id: I3df521daa30ce7f91072570f4ffef5f0314a737f
|
|
|
|
In tests we expect either symlinks or directories or BUILD.bazel
files. However, now on the root of the synthetic Bazel workspace
we also write the sylink_version_number file
Test: `incremental_build.sh -b prod -c clean` and no TEST_FAILURE
Bug: N/A
`
Change-Id: I1de75a7813c1cdd6a3842cc527cc1d8043b84376
|
|
Test: $ build/bazel/scripts/incremental_build/incremental_build.sh -b 'mixed_prod' --ignore-repo-diff --cujs 'modify frameworks/.*/View.java' -- framework
Change-Id: I48fa961a9ca63c9d62209cb39681f19fb9cbaf42
|
|
Change-Id: I8f5762616e3ca5e9e731124d927c18877116f57a
|
|
Test: incremental_build.sh -h
Bug: NA
Change-Id: I74e8f2b2ccfc74d2de37d932a39fb84fe1dd2f2a
|
|
Also display bazel subphase of soong_build
Test: incremental_build.sh -c "modify Android.bp"
Bug: NA
Change-Id: If89f16c04a27b89f3c3ba6ef152d512273759073
|
|
instead of the python script directly
Test: canonical_perf.sh
Bug: NA
Change-Id: I50a9a8e332dd221adde70a1577113f422a808a8b
|
|
use bazel run and import protoc-generated python classes
instead of relying on textproto, a Google tool for parsing
protobuf files
Bug: TODO
Test: run ./incremental_build.sh -c 'no change' -b soong
Change-Id: Ie25e94d18f2b25e4cf49ac45cf2546a6b6cca596
|
|
Test: NINJA_ARGS="-d explain" canonical_perf.sh
Bug: NA
Change-Id: I0f1851e99ed676d5b6e5f80caf151ca402bd3d3e
|
|
Test: incremental_build.py -c 'modify Android.bp' 'no change'
Bug: NA
Change-Id: Ia15a8e6f7b44bd569a03e61046c19893d5cbec90
|
|
pretty.py displays select rows (i.e. skip rebuild and
WARMUP)
one can always view the full csv file for more details
Test: canonical_perf.sh
Bug: NA
Change-Id: I9bb4e79bc910d596759f90a321b7b83da7779902
|
|
|
|
|
|
Test: incremental-build.py -c change
Bug: NA
Change-Id: I90974ca46c0242246abd6c7d2a58e67f3792b93b
|
|
Test: canonical_perf.sh
Bug: NA
Change-Id: Ie734642d1ffd4cb58049126885454d5262e1d738
|
|
These CUJs are mostly around correctness checks and will be moved into
such in the future.
Test: `incremental_build.py --bazel-mode libc`
Bug: N/A
Change-Id: I0345138b21dfc172e651e9984005abc0b9a34ab5
|
|
* changes:
add diff of argument paths to difftool notebook
add Python notebook to aid in diffing `b` output
|
|
Added a function to match the paths for inputs to Bazel/Soong actions to
their corresponding file in the other build system.
E.g. if bazel-out/.../libfoo.a corresponds to
out/soong/.intermediates/.../libfoo.a, we can make sure that these files
also have no diffs.
Test: TODO
Bug: 247039768
Change-Id: I9c9bd661e4d01513176f661670c4db8a9b4858c5
|
|
This commit adds some functionality to make it easier to diff the
outputs of Bazel built objects without having to run a mixed build and
collect the corresponding Ninja files.
Test: python scripts/difftool/action_diff_notebook.py
Change-Id: I2895fee67220b5dc499bc3f6c94e11a524c62420
|
|
* changes:
warn against non-default product for perf tests
do a single warm-up run
|
|
|
|
|
|
Test: TARGET_PRODUCT=aosp_x86 && incremental-build.py
Bug: NA
Change-Id: I09850c70ed8b03e37bebeb87e79351d8ada2f02e
|
|
sufficiently removed the variance for the first
CUJ run while taking much shorter time than having
a warm up run for each build type
Test: incremental-build.py -c change
Bug: NA
Change-Id: Id0a0263b158c69e2700fa73f225bfaf38554722c
|
|
Test: incremental-build.py -c change
Bug: NA
Change-Id: Ic95b90e16ab2c684c624a9b082e59b2a47ab5135
|
|
by adding a warm-up build prior to the set of cujs
we can preload io caches and thus the "real" cujs
would have more consistent metrics
Test: run `./incremental_build.py -c change
Bug: NA
Change-Id: I22a82bd8c24f092c5c5e162e4b82912b8c3b2ee1
|
|
default value for log_dir and asking the user
if results should be appended happens in
incremental_build.py instead of canonical_perf.sh
Test: run `./canonical_perf.sh -t nothing -- "no change"` TWICE
Bug: NA
Change-Id: I6da8fd99d816503538ef911ecd7e4b402c695976
|
|
we are not actually summarizing anything
but just collecting metrics from multiple runs
Test: ./incremental_build.py -c change -- nothing
Bug: NA
Change-Id: I428a7d8eb88d446c2b5303884d7926dea3cec405
|
|
rename() fails with overlayfs
Test: ./incremental_build.py -c change -- nothing
Bug: NA
Change-Id: Ie40ffbdf5dd50ed3de209b3417f26bb75a2ca1bc
|
|
Test: ./incremental_build.py -c change -- nothing
Bug: NA
Change-Id: I1011a0c047de1e21a6375d06492e69f22a9cd792
|
|
Test: ./incremental_build.py -c change -b prod -- nothing
Bug: NA
Change-Id: I52e26251fe8ffe068fd2bce9eb4efa646c08a2fe
|
|
This helps append "BEFORE" "AFTER" etc tags to CUJs which comes in
handy when comparing performance before and after a change
e.g. a sample output:
—————————————————————————————————————
cuj targets soong_only
—————————————————————————————————————
no change BEFORE nothing 3:06
no change AFTER nothing 2:53
—————————————————————————————————————
Test: ./incremental_build.py -c 'no change' -d 'BEFORE' nothing
Bug: NA
Change-Id: Ibd22df33f29b0e4af9fd6bc209bd917a35eccd6a
|
|
Test: ./incremental_build.py -c 'no change' -- nothing
Bug: NA
Change-Id: I23d03d1d7938fbbb575945c36712cc9a411d8eb9
|
|
Bug: NA
Test: ran the tests locally
Change-Id: Ic8f80feabecef07c6d696f832cb427e12fa375a1
|
|
Test: ./canonical_perf.sh
Bug: NA
Change-Id: I8d2b1174b889efe59eecc5fbd12214b7b84c14d3
|
|
Bug:NA
Test: ./perf_metrics.py to see write_files columns
Change-Id: Iba136846a15cf2acb828d4dc08b8acbb227b7ac4
|
|
|
|
|
|
Test: ./incremental_build.py -c clean
Bug: NA
Change-Id: If43c2f9f923d0532c29fb3cc654b9b74aa904d31
|
|
Test: run without any arg
Bug: NA
Change-Id: Ia9f9badc0858568ec4943d7fa6cd95683ea50f1d
|
|
Bug: NA
Test: rm -rf out && ./build/bazel/scripts/incremental_build.py/incremental_build.py -c clean
--bazel-mode nothing
Change-Id: I4c4909faf5cf5994dad3a842539a03bd65b35f5d
|
|
Test: run without params and run with params
Bug: NA
Change-Id: I2f39a48bf4183ef244f3b1bb659adafd108bc401
|
|
|
|
|
|
Test: run without params and run with params
Bug: NA
Change-Id: Ic801b9c0a6dbd0e15734739cd3eff3efd0f9f934
|
|
|