Skip to content

Parse method call chain model file and resolve methods#47302

Merged
nattress merged 2 commits intodotnet:masterfrom
nattress:MarkovPrototype
Jan 22, 2021
Merged

Parse method call chain model file and resolve methods#47302
nattress merged 2 commits intodotnet:masterfrom
nattress:MarkovPrototype

Conversation

@nattress
Copy link
Contributor

  • Resolve methods from Azure profile trace building a list of caller->callees with counts to use in compilation heuristics
  • Resolves the two main forms of methods we see in the traces:
System.Core.ni.dll!System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.__Canon,System.__Canon].MoveNext
Microsoft.Azure.Monitoring.WarmPath.FrontEnd.Middleware.SecurityMiddlewareBase`1+<Invoke>d__6[System.__Canon]!MoveNext

* Resolve methods from Azure profile trace building a list of
  caller->callees with counts to use in compilation heuristics
* Resolves the two main forms of methods we see in the traces:

```
 // System.Core.ni.dll!System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.__Canon,System.__Canon].MoveNext
Microsoft.Azure.Monitoring.WarmPath.FrontEnd.Middleware.SecurityMiddlewareBase`1+<Invoke>d__6[System.__Canon]!MoveNext
```
@nattress nattress requested a review from trylek January 21, 2021 22:48
Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great modulo two comments one of which is important as it will likely crash your current build. Thank you!

* Feedback from Tomas
* Put memory-intensive debug aids under `#if DEBUG` and don't emit to console by default
Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks spotless now, thank you!

@nattress nattress merged commit 311de30 into dotnet:master Jan 22, 2021
@nattress nattress deleted the MarkovPrototype branch January 22, 2021 04:57
@ghost ghost locked as resolved and limited conversation to collaborators Feb 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants