Skip to content

Commit

Permalink
Add additional large struct test
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub committed Apr 13, 2024
1 parent 4043b21 commit c59f8b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
namespace System.Collections
{
[BenchmarkCategory(Categories.Libraries, Categories.Collections, Categories.GenericCollections)]
[GenericTypeArguments(typeof(int), typeof(int))] // value type
[GenericTypeArguments(typeof(int), typeof(int))] // primitive value type
[GenericTypeArguments(typeof(BigStruct), typeof(BigStruct))] // big value type
[GenericTypeArguments(typeof(SmallClass), typeof(SmallClass))] // reference type
[GenericTypeArguments(typeof(string), typeof(string))] // reference type
public class TryGetValueFalse<TKey, TValue>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
namespace System.Collections
{
[BenchmarkCategory(Categories.Libraries, Categories.Collections, Categories.GenericCollections)]
[GenericTypeArguments(typeof(int), typeof(int))] // value type
[GenericTypeArguments(typeof(int), typeof(int))] // primitive value type
[GenericTypeArguments(typeof(BigStruct), typeof(BigStruct))] // big value type
[GenericTypeArguments(typeof(SmallClass), typeof(SmallClass))] // reference type
[GenericTypeArguments(typeof(string), typeof(string))] // string type
[GenericTypeArguments(typeof(string), typeof(string))] // reference type
public class TryGetValueTrue<TKey, TValue>
{
private TKey[] _found;
Expand Down

0 comments on commit c59f8b0

Please sign in to comment.