Skip to content

[tests] improve performance test for JLO change - #4010

Merged
jonathanpeppers merged 1 commit into
dotnet:masterfrom
jonathanpeppers:perf-test-jlo-change
Dec 11, 2019
Merged

jonathanpeppers merged 1 commit into
dotnet:masterfrom
jonathanpeppers:perf-test-jlo-change

Conversation

@jonathanpeppers

@jonathanpeppers jonathanpeppers commented Dec 9, 2019 •

Copy link
Copy Markdown
Member

Context: #4003 (comment)

Since 2c6f5cd, I believe we are hitting a performance regression in
the Build_JLO_Change test:

Building target "_ManifestMerger" completely.
Input file "obj/Debug/AndroidManifest.xml" is newer than output file "obj/Debug/android/AndroidManifest.xml".

Fortunately, I think we just need to change the test. The test itself
alters AndroidManifest.xml when the activity's name is changed:

-<activity android:name=".MainActivity">
+<activity android:name=".MainActivity2">

I added a new test that specifically times a AndroidManifest.xml
change vs a Java.Lang.Object subclass change.

Context: dotnet#4003 (comment)

Since 2c6f5cd, I believe we are hitting a performance regression in
the `Build_JLO_Change` test:

    Building target "_ManifestMerger" completely.
    Input file "obj/Debug/AndroidManifest.xml" is newer than output file "obj/Debug/android/AndroidManifest.xml".

Fortunately, I think we just need to change the test. The test itself
alters `AndroidManifest.xml`.

I added a new test that specifically times a `AndroidManifest.xml`
change vs a `Java.Lang.Object` subclass change.
@dotnet dotnet deleted a comment from azure-pipelines Bot Dec 10, 2019
@jonathanpeppers
jonathanpeppers marked this pull request as ready for review December 10, 2019 14:48
@jonathanpeppers
jonathanpeppers merged commit 4c80055 into dotnet:master Dec 11, 2019
@jonathanpeppers
jonathanpeppers deleted the perf-test-jlo-change branch December 11, 2019 20:22
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Dec 17, 2019
Context: dotnet#4003 (comment)

Since 2c6f5cd, I believe we are hitting a performance regression in
the `Build_JLO_Change` test:

    Building target "_ManifestMerger" completely.
    Input file "obj/Debug/AndroidManifest.xml" is newer than output file "obj/Debug/android/AndroidManifest.xml".

Fortunately, I think we just need to change the test. The test itself
alters `AndroidManifest.xml` when the activity's name is changed:

    -<activity android:name=".MainActivity">
    +<activity android:name=".MainActivity2">

I added a new test that specifically times a `AndroidManifest.xml`
change vs a `Java.Lang.Object` subclass change.
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Dec 17, 2019
Context: dotnet#4003 (comment)

Since 2c6f5cd, I believe we are hitting a performance regression in
the `Build_JLO_Change` test:

    Building target "_ManifestMerger" completely.
    Input file "obj/Debug/AndroidManifest.xml" is newer than output file "obj/Debug/android/AndroidManifest.xml".

Fortunately, I think we just need to change the test. The test itself
alters `AndroidManifest.xml` when the activity's name is changed:

    -<activity android:name=".MainActivity">
    +<activity android:name=".MainActivity2">

I added a new test that specifically times a `AndroidManifest.xml`
change vs a `Java.Lang.Object` subclass change.
jonpryor pushed a commit that referenced this pull request Dec 18, 2019
Context: #4003 (comment)

Since 2c6f5cd, I believe we are hitting a performance regression in
the `Build_JLO_Change` test:

    Building target "_ManifestMerger" completely.
    Input file "obj/Debug/AndroidManifest.xml" is newer than output file "obj/Debug/android/AndroidManifest.xml".

Fortunately, I think we just need to change the test. The test itself
alters `AndroidManifest.xml` when the activity's name is changed:

    -<activity android:name=".MainActivity">
    +<activity android:name=".MainActivity2">

I added a new test that specifically times a `AndroidManifest.xml`
change vs a `Java.Lang.Object` subclass change.
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 28, 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