Skip to content

Commit

Permalink
Updated benchmark routine names
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalchadha committed Jul 22, 2020
1 parent 88a9af6 commit 5d8ee53
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Benchmarks/ReflectionPerf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,37 @@ public void Setup()
}

[Benchmark]
public object ExecuteComWrappersCreateKeyValuePairsFactoryWithNewObject()
public object ExecuteMarshalingForNewKeyValuePair()
{
return instance.NewTypeErasedKeyValuePairObject;
}

[Benchmark]
public object ExecuteComWrappersCreateArrayFactoryWithNewObject()
public object ExecuteMarshalingForNewArray()
{
return instance.NewTypeErasedArrayObject;
}

[Benchmark]
public object ExecuteComWrappersCreateNullableFactoryWithNewObject()
public object ExecuteMarshalingForNewNullable()
{
return instance.NewTypeErasedNullableObject;
}

[Benchmark]
public object ExecuteComWrappersCreateKeyValuePairsFactoryWithExistingObject()
public object ExecuteMarshalingForExistingKeyvaluePair()
{
return instance.ExistingTypeErasedKeyValuePairObject;
}

[Benchmark]
public object ExecuteComWrappersCreateArrayFactoryWithExistingObject()
public object ExecuteMarshalingForExistingArray()
{
return instance.ExistingTypeErasedArrayObject;
}

[Benchmark]
public object ExecuteComWrappersCreateNullableFactoryWithExistingObject()
public object ExecuteMarshalingForExistingNullable()
{
return instance.ExistingTypeErasedNullableObject;
}
Expand Down

0 comments on commit 5d8ee53

Please sign in to comment.