Repository navigation
[tests] improve performance test for JLO change - #4010
Merged
jonathanpeppers merged 1 commit intoDec 11, 2019
Merged
Conversation
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.
jonathanpeppers
force-pushed
the
perf-test-jlo-change
branch
from
December 10, 2019 14:48
6d16322 to
f61bf9a
Compare
jonathanpeppers
marked this pull request as ready for review
December 10, 2019 14:48
pjcollins
approved these changes
Dec 11, 2019
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context: #4003 (comment)
Since 2c6f5cd, I believe we are hitting a performance regression in
the
Build_JLO_Changetest:Fortunately, I think we just need to change the test. The test itself
alters
AndroidManifest.xmlwhen the activity's name is changed:I added a new test that specifically times a
AndroidManifest.xmlchange vs a
Java.Lang.Objectsubclass change.