Skip to content

[api-xml-adjuster] reduce extraneous override marking. #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

atsushieno
Copy link
Contributor

It was running override marking step on the same object as many times as
it is inherited (say, java.lang.Object was inspected for N times by N types
in a library...).

There isn't a huge amount of perf. improvements, but as far as I tried
with api-[10..24].xml.in generation locally, the results were like:

old:

real 0m55.898s
user 0m55.508s
sys 0m0.336s

new:

real 0m53.326s
user 0m52.552s
sys 0m0.692s

(Oh, and removed some extraneous code I had there...)

It was running override marking step on the same object as many times as
it is inherited (say, java.lang.Object was inspected for N times by N types
in a library...).

There isn't a huge amount of perf. improvements, but as far as I tried
with api-[10..24].xml.in generation locally, the results were like:

old:

real	0m55.898s
user	0m55.508s
sys	0m0.336s

new:

real	0m53.326s
user	0m52.552s
sys	0m0.692s
@jonpryor jonpryor merged commit aa21ec9 into dotnet:master Sep 21, 2016
jonpryor added a commit to jonpryor/java.interop that referenced this pull request Jun 4, 2020
Changes: dotnet/android-tools@f5fcb9f...3974fc3

  * dotnet/android-tools@3974fc3: [Xamarin.Android.Tools.AndroidSdk] JdkInfo + JDK11 + Windows (dotnet#88)
  * dotnet/android-tools@5552b07: [Xamarin.Android.Tools.AndroidSdk] Improve utility of JDK warnings (dotnet#87)
  * dotnet/android-tools@13cc497: [Xamarin.Android.Tools.AndroidSdk] Prefer JAVA_HOME (dotnet#86)
  * dotnet/android-tools@967c278: Delete NuGet.Config
  * dotnet/android-tools@2d3690e: [Xamarin.Android.Tools.AndroidSdk] Nullable Reference Type support (dotnet#84)
  * dotnet/android-tools@2020b20: [Xamarin.Android.Tools.AndroidSdk] Preview Build-Tools are Last (dotnet#85)
jonpryor added a commit that referenced this pull request Jun 4, 2020
Changes: dotnet/android-tools@f5fcb9f...3974fc3

  * dotnet/android-tools@3974fc3: [Xamarin.Android.Tools.AndroidSdk] JdkInfo + JDK11 + Windows (#88)
  * dotnet/android-tools@5552b07: [Xamarin.Android.Tools.AndroidSdk] Improve utility of JDK warnings (#87)
  * dotnet/android-tools@13cc497: [Xamarin.Android.Tools.AndroidSdk] Prefer JAVA_HOME (#86)
  * dotnet/android-tools@967c278: Delete NuGet.Config
  * dotnet/android-tools@2d3690e: [Xamarin.Android.Tools.AndroidSdk] Nullable Reference Type support (#84)
  * dotnet/android-tools@2020b20: [Xamarin.Android.Tools.AndroidSdk] Preview Build-Tools are Last (#85)
jonpryor added a commit that referenced this pull request Jun 11, 2020
Changes: dotnet/android-tools@23c4fe0...017078f

  * dotnet/android-tools@017078f: [Xamarin.Android.Tools.AndroidSdk] JdkInfo + JDK11 + Windows (#88)
  * dotnet/android-tools@852e4a3: [Xamarin.Android.Tools.AndroidSdk] Improve utility of JDK warnings (#87)
  * dotnet/android-tools@b055edf: [Xamarin.Android.Tools.AndroidSdk] Prefer JI_JAVA_HOME (#86)
  * dotnet/android-tools@ef31658: [Xamarin.Android.Tools.AndroidSdk] Nullable Reference Type support (#84)
  * dotnet/android-tools@b8efdae: [Xamarin.Android.Tools.AndroidSdk] Preview Build-Tools are Last (#85)
@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 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