Skip to content

Conversation

@radekdoulik
Copy link
Member

Implements: #3593

Added new ProcessApkSizes task based on ProcessPlotInput, which
takes additional argument with apk sizes reference file. The file is
used to check the current apk sizes and fails when the size difference
is over a given threshold, we use 100KiB now. There's one additional
threshold to warn about smalled differences, with current threshold
50KiB.

The reference files can be updated with

> make update-apk-sizes-reference CONFIGURATION=<Debug or Release>

which copies the current apk sizes files to
tests/apk-sizes-reference directory, these are then used by
ProcessApkSizes task.

The apk sizes files were split by configuration and contain
$(Configuration) in the name. The reason for that is an easier
update of the references after failed PR build. (after the size
difference is checked to be valid and desired) This way it is possible
to just download the results artifacts file and copy the sizes
recorded by CI build into the reference directory.

Implements: dotnet#3593

Added new `ProcessApkSizes` task based on `ProcessPlotInput`, which
takes additional argument with apk sizes reference file. The file is
used to check the current apk sizes and fails when the size difference
is over a given threshold, we use 100KiB now. There's one additional
threshold to warn about smalled differences, with current threshold
50KiB.

The reference files can be update with

    > make update-apk-sizes-reference CONFIGURATION=<Debug or Release>

which copies the current apk sizes files to
`tests/apk-sizes-reference` directory, these are then used by
`ProcessApkSizes` task.

The apk sizes files were split by configuration and contain
`$(Configuration)` in the name. The reason for that is an easier
update of the references after failed PR build. (after the size
difference is checked to be valid and desired) This way it is possible
to just download the results artifacts file and copy the sizes
recorded by CI build into the reference directory.
@jonpryor
Copy link
Contributor

jonpryor commented Sep 6, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radekdoulik
Copy link
Member Author

build

@jonpryor jonpryor merged commit e8b9ee2 into dotnet:master Sep 6, 2019
radekdoulik added a commit to radekdoulik/xamarin-android that referenced this pull request Jan 9, 2020
The dotnet#3594 started using
different filenames, so we need to update Jenkins configuration.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants