Skip to content

Conversation

@eerhardt
Copy link
Member

This was showing up as allocating a huge number of delegates for no reason.

I removed the delegate all together and just pass the VBuffer in.

…egate on every invoke.

This was showing up as allocating a huge number of delegates for no reason.
@eerhardt eerhardt requested a review from ganik September 25, 2019 23:37
@eerhardt eerhardt requested a review from a team as a code owner September 25, 2019 23:37
Copy link
Member

@ganik ganik left a comment

Choose a reason for hiding this comment

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

:shipit:

@eerhardt
Copy link
Member Author

Using @ganik's NimbusML PR as a test benchmark, I'm seeing the following results.

Before this change:
image

After:
image

@eerhardt eerhardt merged commit a597796 into dotnet:master Sep 26, 2019
@eerhardt eerhardt deleted the FixNgramPerf branch September 26, 2019 14:28
KsenijaS pushed a commit to KsenijaS/machinelearning that referenced this pull request Sep 27, 2019
…egate on every invoke. (dotnet#4247)

This was showing up as allocating a huge number of delegates for no reason.
@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2022
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.

2 participants