Skip to content

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

Merged
AndyAyersMS merged 1 commit intodotnet:masterfrom
AndyAyersMS:AddOverloadCounts
Aug 6, 2016
Merged

Add approximate overload counts to the "top N" methods lists#22
AndyAyersMS merged 1 commit intodotnet:masterfrom
AndyAyersMS:AddOverloadCounts

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