Skip to content

Add approximate overload counts to the "top N" methods lists #22

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
merged 1 commit into from
Aug 6, 2016

Conversation

AndyAyersMS
Copy link
Member

Jit diffs are unable to disambiguate some kinds of overloads because types
are mapped into a simplified set (ref, struct, etc). This can make
interpreting the total bytes of diff per method a bit tricky since the
entry may represent the total change from a set of methods. So, report on
how many folded overloads there are in the BASE set.

Example:

Top method improvements by size (bytes):
       -2801 : System.Private.CoreLib.dasm - System.Array:LastIndexOf(ref,struct,int,int):int (9 methods)
       -2328 : System.Private.CoreLib.dasm - System.Array:Sort(ref,int,int,ref) (25 methods)

Jit diffs are unable to disambiguate some kinds of overloads because types
are mapped into a simplified set (ref, struct, etc). This can make
interpreting the total bytes of diff per method a bit tricky since the
entry may represent the total change from a set of methods. So, report on
how many folded overloads there are in the BASE set.

Example:
```
Top method improvements by size (bytes):
       -2801 : System.Private.CoreLib.dasm - System.Array:LastIndexOf(ref,struct,int,int):int (9 methods)
       -2328 : System.Private.CoreLib.dasm - System.Array:Sort(ref,int,int,ref) (25 methods)
```
@AndyAyersMS
Copy link
Member Author

@russellhadley PTAL
cc @dotnet/jit-contrib

@erozenfeld
Copy link
Member

LGTM

@AndyAyersMS AndyAyersMS merged commit bbf3c18 into dotnet:master Aug 6, 2016
@AndyAyersMS AndyAyersMS deleted the AddOverloadCounts branch August 6, 2016 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants