diff --git a/pkgs/collection/benchmark/deep_collection_equality.dart b/pkgs/collection/benchmark/deep_collection_equality.dart index 8582e834..182cf86d 100644 --- a/pkgs/collection/benchmark/deep_collection_equality.dart +++ b/pkgs/collection/benchmark/deep_collection_equality.dart @@ -22,8 +22,8 @@ class DeepCollectionEqualityBase extends BenchmarkBase { super('DeepCollectionQuality${unordered ? 'Unordered' : ''}.$function'); } -class DeepCollectionEqualityEqualsBenchmark extends DeepCollectionEqualityBase { - DeepCollectionEqualityEqualsBenchmark(bool unordered) +class DeepCollectionEqualityHashBenchmark extends DeepCollectionEqualityBase { + DeepCollectionEqualityHashBenchmark(bool unordered) : super(unordered, 'hash'); @override @@ -34,8 +34,8 @@ class DeepCollectionEqualityEqualsBenchmark extends DeepCollectionEqualityBase { static int hash = 0; } -class DeepCollectionEqualityHashBenchmark extends DeepCollectionEqualityBase { - DeepCollectionEqualityHashBenchmark(bool unordered) +class DeepCollectionEqualityEqualsBenchmark extends DeepCollectionEqualityBase { + DeepCollectionEqualityEqualsBenchmark(bool unordered) : super(unordered, 'equals'); @override