123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- // Licensed to the .NET Foundation under one or more agreements.
- // The .NET Foundation licenses this file to you under the Apache 2.0 License.
- // See the LICENSE file in the project root for more information.
- using BenchmarkDotNet.Attributes;
- using ReactiveTests.Tests;
- namespace Benchmarks.System.Reactive
- {
- [MemoryDiagnoser]
- public class ZipBenchmark
- {
- private ZipTest _zipTest = new ZipTest();
- [Benchmark]
- public void Zip_NAry_Asymmetric()
- {
- _zipTest.Zip_NAry_Asymmetric();
- }
- [Benchmark]
- public void Zip_NAry_Asymmetric_Selector()
- {
- _zipTest.Zip_NAry_Asymmetric_Selector();
- }
- [Benchmark]
- public void Zip_NAry_Symmetric()
- {
- _zipTest.Zip_NAry_Symmetric();
- }
- [Benchmark]
- public void Zip_NAry_Symmetric_Selector()
- {
- _zipTest.Zip_NAry_Symmetric_Selector();
- }
- [Benchmark]
- public void Zip_NAry_Enumerable_Simple()
- {
- _zipTest.Zip_NAry_Enumerable_Simple();
- }
- [Benchmark]
- public void Zip_AllCompleted2()
- {
- _zipTest.Zip_AllCompleted2();
- }
- [Benchmark]
- public void Zip_AllCompleted3()
- {
- _zipTest.Zip_AllCompleted3();
- }
- [Benchmark]
- public void Zip_AllCompleted4()
- {
- _zipTest.Zip_AllCompleted4();
- }
- [Benchmark]
- public void Zip_AllCompleted5()
- {
- _zipTest.Zip_AllCompleted5();
- }
- [Benchmark]
- public void Zip_AllCompleted6()
- {
- _zipTest.Zip_AllCompleted6();
- }
- [Benchmark]
- public void Zip_AllCompleted7()
- {
- _zipTest.Zip_AllCompleted7();
- }
- [Benchmark]
- public void Zip_AllCompleted8()
- {
- _zipTest.Zip_AllCompleted8();
- }
- [Benchmark]
- public void Zip_AllCompleted9()
- {
- _zipTest.Zip_AllCompleted9();
- }
- [Benchmark]
- public void Zip_AllCompleted10()
- {
- _zipTest.Zip_AllCompleted10();
- }
- [Benchmark]
- public void Zip_AllCompleted11()
- {
- _zipTest.Zip_AllCompleted11();
- }
- [Benchmark]
- public void Zip_AllCompleted12()
- {
- _zipTest.Zip_AllCompleted12();
- }
- [Benchmark]
- public void Zip_AllCompleted13()
- {
- _zipTest.Zip_AllCompleted13();
- }
- [Benchmark]
- public void Zip_AllCompleted14()
- {
- _zipTest.Zip_AllCompleted14();
- }
- [Benchmark]
- public void Zip_AllCompleted15()
- {
- _zipTest.Zip_AllCompleted15();
- }
- [Benchmark]
- public void Zip_AllCompleted16()
- {
- _zipTest.Zip_AllCompleted16();
- }
- }
- }
|