``` ini BenchmarkDotNet=v0.12.0, OS=Windows 10.0.18363 Intel Core i7-4930K CPU 3.40GHz (Haswell), 1 CPU, 12 logical and 6 physical cores .NET Core SDK=5.0.100-alpha1-015536 [Host] : .NET Core 3.1.0 (CoreCLR 4.700.19.53102, CoreFX 4.700.19.55104), X64 RyuJIT Job-TVGIPK : .NET Core 3.1.0 (CoreCLR 4.700.19.53102, CoreFX 4.700.19.55104), X64 RyuJIT Job-QUIBMV : .NET Core 5.0.0 (CoreCLR 5.0.19.46201, CoreFX 5.0.19.47003), X64 RyuJIT Job-JOFENC : .NET Framework 4.8 (4.8.4150.0), X64 RyuJIT ``` | Method | Toolchain | N | Mean | Error | StdDev | Ratio | RatioSD | Rank | Gen 0 | Gen 1 | Gen 2 | Allocated | |-------------------------------- |-------------- |------- |----------------:|--------------:|--------------:|------:|--------:|-----:|---------:|------:|------:|----------:| | **untyped_GetEnumerator_var** | **.NET Core 3.1** | **10** | **622.00 ns** | **4.259 ns** | **3.983 ns** | **1.00** | **0.00** | **2** | **0.0429** | **-** | **-** | **272 B** | | untyped_GetEnumerator_explicit | .NET Core 3.1 | 10 | 627.46 ns | 5.096 ns | 4.255 ns | 1.01 | 0.01 | 2 | 0.0429 | - | - | 272 B | | typed_GetEnumerator_var | .NET Core 3.1 | 10 | 62.74 ns | 0.529 ns | 0.469 ns | 0.10 | 0.00 | 1 | 0.0050 | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | .NET Core 3.1 | 10 | 62.65 ns | 0.495 ns | 0.463 ns | 0.10 | 0.00 | 1 | 0.0050 | - | - | 32 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | .NET Core 5.0 | 10 | 638.19 ns | 3.148 ns | 2.945 ns | 1.00 | 0.00 | 3 | 0.0429 | - | - | 272 B | | untyped_GetEnumerator_explicit | .NET Core 5.0 | 10 | 649.95 ns | 3.419 ns | 3.031 ns | 1.02 | 0.01 | 4 | 0.0429 | - | - | 272 B | | typed_GetEnumerator_var | .NET Core 5.0 | 10 | 65.46 ns | 1.315 ns | 1.292 ns | 0.10 | 0.00 | 2 | 0.0050 | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | .NET Core 5.0 | 10 | 62.27 ns | 0.618 ns | 0.578 ns | 0.10 | 0.00 | 1 | 0.0050 | - | - | 32 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | net472 | 10 | 768.96 ns | 17.080 ns | 16.775 ns | 1.00 | 0.00 | 3 | 0.0429 | - | - | 273 B | | untyped_GetEnumerator_explicit | net472 | 10 | 753.14 ns | 5.302 ns | 4.700 ns | 0.98 | 0.02 | 3 | 0.0429 | - | - | 273 B | | typed_GetEnumerator_var | net472 | 10 | 76.75 ns | 0.326 ns | 0.305 ns | 0.10 | 0.00 | 2 | 0.0050 | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | net472 | 10 | 74.90 ns | 1.253 ns | 1.172 ns | 0.10 | 0.00 | 1 | 0.0050 | - | - | 32 B | | | | | | | | | | | | | | | | **untyped_GetEnumerator_var** | **.NET Core 3.1** | **100** | **5,962.18 ns** | **25.594 ns** | **22.689 ns** | **1.00** | **0.00** | **2** | **0.3815** | **-** | **-** | **2432 B** | | untyped_GetEnumerator_explicit | .NET Core 3.1 | 100 | 6,335.70 ns | 81.597 ns | 72.334 ns | 1.06 | 0.01 | 3 | 0.3815 | - | - | 2432 B | | typed_GetEnumerator_var | .NET Core 3.1 | 100 | 532.20 ns | 10.319 ns | 9.652 ns | 0.09 | 0.00 | 1 | 0.0048 | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | .NET Core 3.1 | 100 | 528.51 ns | 7.519 ns | 7.033 ns | 0.09 | 0.00 | 1 | 0.0048 | - | - | 32 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | .NET Core 5.0 | 100 | 6,179.92 ns | 61.956 ns | 54.922 ns | 1.00 | 0.00 | 3 | 0.3815 | - | - | 2432 B | | untyped_GetEnumerator_explicit | .NET Core 5.0 | 100 | 6,508.18 ns | 36.783 ns | 30.715 ns | 1.05 | 0.01 | 4 | 0.3815 | - | - | 2432 B | | typed_GetEnumerator_var | .NET Core 5.0 | 100 | 549.16 ns | 6.002 ns | 5.615 ns | 0.09 | 0.00 | 2 | 0.0048 | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | .NET Core 5.0 | 100 | 519.67 ns | 3.655 ns | 3.240 ns | 0.08 | 0.00 | 1 | 0.0048 | - | - | 32 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | net472 | 100 | 7,411.84 ns | 37.974 ns | 33.663 ns | 1.00 | 0.00 | 2 | 0.3815 | - | - | 2439 B | | untyped_GetEnumerator_explicit | net472 | 100 | 7,420.30 ns | 49.230 ns | 46.050 ns | 1.00 | 0.01 | 2 | 0.3815 | - | - | 2439 B | | typed_GetEnumerator_var | net472 | 100 | 617.16 ns | 2.705 ns | 2.398 ns | 0.08 | 0.00 | 1 | 0.0048 | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | net472 | 100 | 618.48 ns | 5.502 ns | 5.147 ns | 0.08 | 0.00 | 1 | 0.0048 | - | - | 32 B | | | | | | | | | | | | | | | | **untyped_GetEnumerator_var** | **.NET Core 3.1** | **1000** | **58,527.16 ns** | **128.064 ns** | **106.939 ns** | **1.00** | **0.00** | **2** | **3.7842** | **-** | **-** | **24032 B** | | untyped_GetEnumerator_explicit | .NET Core 3.1 | 1000 | 60,888.08 ns | 327.874 ns | 273.790 ns | 1.04 | 0.01 | 3 | 3.7842 | - | - | 24033 B | | typed_GetEnumerator_var | .NET Core 3.1 | 1000 | 4,970.19 ns | 16.773 ns | 14.869 ns | 0.08 | 0.00 | 1 | - | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | .NET Core 3.1 | 1000 | 4,979.76 ns | 29.622 ns | 26.259 ns | 0.09 | 0.00 | 1 | - | - | - | 32 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | .NET Core 5.0 | 1000 | 63,515.11 ns | 1,132.006 ns | 945.276 ns | 1.00 | 0.00 | 4 | 3.7842 | - | - | 24032 B | | untyped_GetEnumerator_explicit | .NET Core 5.0 | 1000 | 61,096.68 ns | 374.915 ns | 350.695 ns | 0.96 | 0.01 | 3 | 3.7842 | - | - | 24032 B | | typed_GetEnumerator_var | .NET Core 5.0 | 1000 | 5,264.76 ns | 37.459 ns | 31.280 ns | 0.08 | 0.00 | 2 | - | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | .NET Core 5.0 | 1000 | 4,975.34 ns | 20.471 ns | 18.147 ns | 0.08 | 0.00 | 1 | - | - | - | 32 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | net472 | 1000 | 73,336.65 ns | 635.723 ns | 563.552 ns | 1.00 | 0.00 | 2 | 3.7842 | - | - | 24103 B | | untyped_GetEnumerator_explicit | net472 | 1000 | 73,577.25 ns | 440.792 ns | 412.317 ns | 1.00 | 0.01 | 2 | 3.7842 | - | - | 24103 B | | typed_GetEnumerator_var | net472 | 1000 | 5,838.87 ns | 26.949 ns | 23.889 ns | 0.08 | 0.00 | 1 | - | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | net472 | 1000 | 5,818.15 ns | 25.344 ns | 22.467 ns | 0.08 | 0.00 | 1 | - | - | - | 32 B | | | | | | | | | | | | | | | | **untyped_GetEnumerator_var** | **.NET Core 3.1** | **100000** | **6,158,623.54 ns** | **48,397.543 ns** | **45,271.092 ns** | **1.00** | **0.00** | **4** | **375.0000** | **-** | **-** | **2400084 B** | | untyped_GetEnumerator_explicit | .NET Core 3.1 | 100000 | 5,772,855.00 ns | 53,088.257 ns | 49,658.789 ns | 0.94 | 0.01 | 3 | 375.0000 | - | - | 2400037 B | | typed_GetEnumerator_var | .NET Core 3.1 | 100000 | 521,997.42 ns | 1,876.051 ns | 1,754.859 ns | 0.08 | 0.00 | 2 | - | - | - | 39 B | | typed_GetEnumeratorOfT_explicit | .NET Core 3.1 | 100000 | 512,651.42 ns | 3,150.353 ns | 2,630.687 ns | 0.08 | 0.00 | 1 | - | - | - | 39 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | .NET Core 5.0 | 100000 | 6,217,170.87 ns | 42,747.397 ns | 37,894.454 ns | 1.00 | 0.00 | 3 | 375.0000 | - | - | 2400084 B | | untyped_GetEnumerator_explicit | .NET Core 5.0 | 100000 | 6,302,674.66 ns | 42,834.940 ns | 40,067.830 ns | 1.01 | 0.01 | 3 | 375.0000 | - | - | 2400084 B | | typed_GetEnumerator_var | .NET Core 5.0 | 100000 | 513,843.24 ns | 3,954.769 ns | 3,302.412 ns | 0.08 | 0.00 | 2 | - | - | - | 32 B | | typed_GetEnumeratorOfT_explicit | .NET Core 5.0 | 100000 | 488,370.31 ns | 3,370.046 ns | 3,152.343 ns | 0.08 | 0.00 | 1 | - | - | - | 32 B | | | | | | | | | | | | | | | | untyped_GetEnumerator_var | net472 | 100000 | 7,167,944.42 ns | 28,089.813 ns | 24,900.888 ns | 1.00 | 0.00 | 2 | 375.0000 | - | - | 2407122 B | | untyped_GetEnumerator_explicit | net472 | 100000 | 7,201,505.41 ns | 19,754.709 ns | 16,496.077 ns | 1.00 | 0.00 | 2 | 375.0000 | - | - | 2407122 B | | typed_GetEnumerator_var | net472 | 100000 | 567,951.43 ns | 3,055.329 ns | 2,708.469 ns | 0.08 | 0.00 | 1 | - | - | - | 40 B | | typed_GetEnumeratorOfT_explicit | net472 | 100000 | 566,904.30 ns | 3,536.208 ns | 3,134.757 ns | 0.08 | 0.00 | 1 | - | - | - | 40 B |