Table of Contents

Benchmark results

Auto-generated by BenchmarkDotNet on 2026-09-28. Do not edit by hand - this file is fully overwritten on every run.

Live historical dashboard: https://masesgroup.com/benchmark-data/

bulk-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.061 μs 0.0037 μs 0.0032 μs 1.00 0.00 0.0153 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 1.616 μs 0.0071 μs 0.0066 μs 1.52 0.01 0.0801 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.321 μs 0.0032 μs 0.0028 μs 1.25 0.00 0.0172 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 171.940 μs 1.7668 μs 1.6527 μs 1.00 0.01 168.9453 168.9453 168.9453 1025.34 KB 1.00
GetArrayViaStreamChunked 1048576 True False 215.797 μs 2.0786 μs 1.9443 μs 1.26 0.02 193.8477 193.8477 193.8477 1029.23 KB 1.00
GetArrayViaStreamSpan 1048576 True False 176.703 μs 2.3749 μs 2.2215 μs 1.03 0.02 168.4570 168.4570 168.4570 1025.5 KB 1.00
InvokeByteArrayDirect 104857600 True False 15,069.094 μs 284.7485 μs 266.3539 μs 1.00 0.02 328.1250 328.1250 328.1250 102400.3 KB 1.00
GetArrayViaStreamChunked 104857600 True False 15,521.708 μs 292.7081 μs 287.4785 μs 1.03 0.03 328.1250 328.1250 328.1250 102404.47 KB 1.00
GetArrayViaStreamSpan 104857600 True False 15,268.783 μs 297.9467 μs 278.6995 μs 1.01 0.02 328.1250 328.1250 328.1250 102400.44 KB 1.00

bulk-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 2.908 μs 0.0043 μs 0.0036 μs 1.00 0.00 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 False 3.230 μs 0.0294 μs 0.0275 μs 1.11 0.01 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.306 μs 0.0196 μs 0.0184 μs 1.14 0.01 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 2.007 μs 0.0073 μs 0.0068 μs 0.69 0.00 0.0057 0.0038 - 400 B 0.69
GetByteBufferToArray 10 True 2.949 μs 0.0148 μs 0.0139 μs 1.00 0.01 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.138 μs 0.0259 μs 0.0242 μs 1.06 0.01 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.278 μs 0.0072 μs 0.0068 μs 1.11 0.01 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 1.837 μs 0.0040 μs 0.0033 μs 0.62 0.00 0.0038 - - 400 B 0.69
GetByteBufferToArray 100 False 4.267 μs 0.0591 μs 0.0553 μs 1.00 0.02 0.0076 - - 664 B 1.00
GetByteBufferStreamNaive 100 False 3.133 μs 0.0192 μs 0.0179 μs 0.73 0.01 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.356 μs 0.0131 μs 0.0109 μs 0.79 0.01 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 1.987 μs 0.0060 μs 0.0056 μs 0.47 0.01 0.0057 0.0038 - 400 B 0.60
GetByteBufferToArray 100 True 2.913 μs 0.0065 μs 0.0061 μs 1.00 0.00 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.025 μs 0.0103 μs 0.0092 μs 1.04 0.00 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.261 μs 0.0202 μs 0.0179 μs 1.12 0.01 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 1.806 μs 0.0036 μs 0.0032 μs 0.62 0.00 0.0038 - - 400 B 0.60
GetByteBufferToArray 1024 False 3.251 μs 0.0137 μs 0.0115 μs 1.00 0.00 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.651 μs 0.0232 μs 0.0217 μs 1.12 0.01 0.0420 0.0381 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.420 μs 0.0269 μs 0.0251 μs 1.05 0.01 0.0687 0.0648 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 1.875 μs 0.0046 μs 0.0041 μs 0.58 0.00 0.0038 - - 400 B 0.25
GetByteBufferToArray 1024 True 3.169 μs 0.0095 μs 0.0089 μs 1.00 0.00 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.404 μs 0.0164 μs 0.0146 μs 1.07 0.01 0.0420 0.0381 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.528 μs 0.0552 μs 0.0517 μs 1.11 0.02 0.0687 0.0648 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 1.888 μs 0.0107 μs 0.0101 μs 0.60 0.00 0.0038 - - 400 B 0.25
GetByteBufferToArray 10240 False 4.450 μs 0.0239 μs 0.0186 μs 1.00 0.01 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 5.434 μs 0.0228 μs 0.0213 μs 1.22 0.01 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.088 μs 0.0307 μs 0.0287 μs 0.92 0.01 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.450 μs 0.0165 μs 0.0155 μs 0.55 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 10240 True 4.676 μs 0.0128 μs 0.0113 μs 1.00 0.00 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 5.747 μs 0.0605 μs 0.0566 μs 1.23 0.01 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.225 μs 0.0330 μs 0.0292 μs 0.90 0.01 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.418 μs 0.0062 μs 0.0058 μs 0.52 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 102400 False 63.022 μs 0.4156 μs 0.3888 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 79.249 μs 0.3266 μs 0.2550 μs 1.26 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 11.689 μs 0.0229 μs 0.0203 μs 0.19 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 7.799 μs 0.0097 μs 0.0086 μs 0.12 0.00 - - - 400 B 0.004
GetByteBufferToArray 102400 True 65.414 μs 0.3238 μs 0.3029 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 80.441 μs 0.4630 μs 0.4331 μs 1.23 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 11.644 μs 0.0359 μs 0.0318 μs 0.18 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 7.453 μs 0.0073 μs 0.0064 μs 0.11 0.00 - - - 400 B 0.004
GetByteBufferToArray 1048576 False 272.088 μs 5.2152 μs 5.7967 μs 1.00 0.03 210.4492 210.4492 210.4492 1050120 B 1.000
GetByteBufferStreamNaive 1048576 False 579.781 μs 11.1958 μs 10.4725 μs 2.13 0.06 499.0234 499.0234 499.0234 3015846 B 2.872
GetByteBufferStreamChunked 1048576 False 97.539 μs 0.3488 μs 0.3092 μs 0.36 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 75.424 μs 0.1364 μs 0.1209 μs 0.28 0.01 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 269.110 μs 4.8025 μs 4.2573 μs 1.00 0.02 208.9844 208.9844 208.9844 1050170 B 1.000
GetByteBufferStreamNaive 1048576 True 575.237 μs 7.7074 μs 7.2095 μs 2.14 0.04 499.0234 499.0234 499.0234 3015900 B 2.872
GetByteBufferStreamChunked 1048576 True 97.936 μs 0.2081 μs 0.1845 μs 0.36 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 74.740 μs 0.4323 μs 0.3832 μs 0.28 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 2,232.507 μs 20.0447 μs 17.7691 μs 1.00 0.01 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 False 8,729.871 μs 125.9561 μs 117.8194 μs 3.91 0.06 968.7500 968.7500 968.7500 43910699 B 4.187
GetByteBufferStreamChunked 10485760 False 970.763 μs 4.4407 μs 3.7082 μs 0.43 0.00 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 792.457 μs 6.2271 μs 5.8248 μs 0.35 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 2,261.578 μs 24.6709 μs 23.0772 μs 1.00 0.01 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 True 8,730.803 μs 173.6009 μs 231.7523 μs 3.86 0.11 968.7500 968.7500 968.7500 43910699 B 4.187
GetByteBufferStreamChunked 10485760 True 966.226 μs 4.3865 μs 3.6629 μs 0.43 0.00 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 779.108 μs 9.5658 μs 7.9879 μs 0.34 0.00 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 22,749.204 μs 447.2494 μs 655.5724 μs 1.00 0.04 312.5000 312.5000 312.5000 104858364 B 1.000
GetByteBufferStreamNaive 104857600 False 50,648.396 μs 1,002.1688 μs 1,930.8392 μs 2.23 0.11 800.0000 800.0000 800.0000 373163519 B 3.559
GetByteBufferStreamChunked 104857600 False 14,703.401 μs 288.9305 μs 375.6912 μs 0.65 0.02 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 13,066.129 μs 66.6757 μs 59.1063 μs 0.57 0.02 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 21,429.621 μs 410.2636 μs 472.4601 μs 1.00 0.03 312.5000 312.5000 312.5000 104858362 B 1.000
GetByteBufferStreamNaive 104857600 True 49,143.634 μs 442.5745 μs 413.9845 μs 2.29 0.05 818.1818 818.1818 818.1818 373163532 B 3.559
GetByteBufferStreamChunked 104857600 True 14,165.119 μs 283.2396 μs 358.2075 μs 0.66 0.02 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 14,208.425 μs 279.7174 μs 247.9622 μs 0.66 0.02 - - - 400 B 0.000

bulk-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.096 μs 0.0015 μs 0.0013 μs 1.00 0.00 0.0153 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 1.726 μs 0.0121 μs 0.0101 μs 1.57 0.01 0.0801 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.325 μs 0.0037 μs 0.0035 μs 1.21 0.00 0.0172 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 201.901 μs 3.7820 μs 3.5377 μs 1.00 0.02 143.3105 143.3105 143.3105 1025.22 KB 1.00
GetArrayViaStreamChunked 1048576 True False 225.919 μs 3.3681 μs 3.1505 μs 1.12 0.02 153.8086 153.8086 153.8086 1029.18 KB 1.00
GetArrayViaStreamSpan 1048576 True False 199.793 μs 3.5734 μs 3.1677 μs 0.99 0.02 142.8223 142.8223 142.8223 1025.29 KB 1.00
InvokeByteArrayDirect 104857600 True False 17,483.007 μs 348.2461 μs 464.8986 μs 1.00 0.04 312.5000 312.5000 312.5000 102400.29 KB 1.00
GetArrayViaStreamChunked 104857600 True False 17,888.329 μs 350.3565 μs 344.0969 μs 1.02 0.03 312.5000 312.5000 312.5000 102404.46 KB 1.00
GetArrayViaStreamSpan 104857600 True False 17,697.405 μs 246.6107 μs 230.6798 μs 1.01 0.03 312.5000 312.5000 312.5000 102400.44 KB 1.00

bulk-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 3.103 μs 0.0107 μs 0.0095 μs 1.00 0.00 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 False 3.477 μs 0.0195 μs 0.0182 μs 1.12 0.01 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.745 μs 0.0218 μs 0.0204 μs 1.21 0.01 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 1.987 μs 0.0043 μs 0.0041 μs 0.64 0.00 0.0038 - - 400 B 0.69
GetByteBufferToArray 10 True 3.183 μs 0.0065 μs 0.0055 μs 1.00 0.00 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.383 μs 0.0130 μs 0.0122 μs 1.06 0.00 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.710 μs 0.0148 μs 0.0123 μs 1.17 0.00 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 1.982 μs 0.0075 μs 0.0070 μs 0.62 0.00 0.0038 - - 400 B 0.69
GetByteBufferToArray 100 False 3.087 μs 0.0124 μs 0.0116 μs 1.00 0.01 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 False 3.434 μs 0.0122 μs 0.0114 μs 1.11 0.01 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.667 μs 0.0175 μs 0.0163 μs 1.19 0.01 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 1.955 μs 0.0069 μs 0.0065 μs 0.63 0.00 0.0038 - - 400 B 0.60
GetByteBufferToArray 100 True 3.100 μs 0.0107 μs 0.0089 μs 1.00 0.00 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.404 μs 0.0135 μs 0.0127 μs 1.10 0.00 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.775 μs 0.0311 μs 0.0291 μs 1.22 0.01 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 1.999 μs 0.0082 μs 0.0068 μs 0.64 0.00 0.0038 - - 400 B 0.60
GetByteBufferToArray 1024 False 3.435 μs 0.0520 μs 0.0461 μs 1.00 0.02 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.803 μs 0.0498 μs 0.0466 μs 1.11 0.02 0.0420 0.0381 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.787 μs 0.0355 μs 0.0332 μs 1.10 0.02 0.0687 0.0610 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 2.028 μs 0.0061 μs 0.0057 μs 0.59 0.01 0.0038 - - 400 B 0.25
GetByteBufferToArray 1024 True 3.524 μs 0.0139 μs 0.0130 μs 1.00 0.01 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.874 μs 0.0407 μs 0.0361 μs 1.10 0.01 0.0381 0.0305 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.729 μs 0.0264 μs 0.0247 μs 1.06 0.01 0.0687 0.0648 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 2.053 μs 0.0124 μs 0.0116 μs 0.58 0.00 0.0038 - - 400 B 0.25
GetByteBufferToArray 10240 False 4.868 μs 0.0155 μs 0.0137 μs 1.00 0.00 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 5.937 μs 0.0384 μs 0.0359 μs 1.22 0.01 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.570 μs 0.0369 μs 0.0345 μs 0.94 0.01 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.553 μs 0.0074 μs 0.0069 μs 0.52 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 10240 True 4.822 μs 0.0147 μs 0.0130 μs 1.00 0.00 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 6.046 μs 0.0245 μs 0.0217 μs 1.25 0.01 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.588 μs 0.0230 μs 0.0215 μs 0.95 0.00 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.522 μs 0.0079 μs 0.0074 μs 0.52 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 102400 False 68.611 μs 0.6950 μs 0.5426 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 84.994 μs 0.4727 μs 0.4422 μs 1.24 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 11.704 μs 0.0309 μs 0.0274 μs 0.17 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 8.039 μs 0.0074 μs 0.0066 μs 0.12 0.00 - - - 400 B 0.004
GetByteBufferToArray 102400 True 70.629 μs 0.5337 μs 0.4457 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 85.475 μs 0.8088 μs 0.7170 μs 1.21 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 11.917 μs 0.0314 μs 0.0294 μs 0.17 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 7.520 μs 0.0026 μs 0.0022 μs 0.11 0.00 - - - 400 B 0.004
GetByteBufferToArray 1048576 False 273.877 μs 4.2037 μs 3.7265 μs 1.00 0.02 171.8750 171.8750 171.8750 1050108 B 1.000
GetByteBufferStreamNaive 1048576 False 592.940 μs 8.7205 μs 8.1571 μs 2.17 0.04 403.3203 403.3203 403.3203 3017287 B 2.873
GetByteBufferStreamChunked 1048576 False 98.162 μs 0.2746 μs 0.2293 μs 0.36 0.00 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 76.686 μs 0.1482 μs 0.1314 μs 0.28 0.00 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 272.814 μs 4.8966 μs 4.5803 μs 1.00 0.02 169.9219 169.9219 169.9219 1050098 B 1.000
GetByteBufferStreamNaive 1048576 True 595.469 μs 8.3868 μs 7.4347 μs 2.18 0.04 393.5547 393.5547 393.5547 3017286 B 2.873
GetByteBufferStreamChunked 1048576 True 96.397 μs 0.2253 μs 0.1998 μs 0.35 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 77.327 μs 0.2600 μs 0.2305 μs 0.28 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 2,564.639 μs 48.1729 μs 53.5440 μs 1.00 0.03 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 False 6,948.307 μs 125.5132 μs 117.4051 μs 2.71 0.07 718.7500 718.7500 718.7500 43910530 B 4.187
GetByteBufferStreamChunked 10485760 False 966.574 μs 5.4508 μs 5.0987 μs 0.38 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 815.461 μs 5.1783 μs 4.3241 μs 0.32 0.01 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 2,587.435 μs 49.5270 μs 58.9584 μs 1.00 0.03 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 True 6,808.830 μs 110.7264 μs 103.5735 μs 2.63 0.07 718.7500 718.7500 718.7500 43910534 B 4.187
GetByteBufferStreamChunked 10485760 True 991.211 μs 11.2728 μs 9.9930 μs 0.38 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 833.737 μs 16.1708 μs 17.3026 μs 0.32 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 23,452.912 μs 211.7948 μs 198.1130 μs 1.00 0.01 312.5000 312.5000 312.5000 104858366 B 1.000
GetByteBufferStreamNaive 104857600 False 51,166.936 μs 769.9987 μs 601.1643 μs 2.18 0.03 600.0000 600.0000 600.0000 373163404 B 3.559
GetByteBufferStreamChunked 104857600 False 14,918.106 μs 137.1394 μs 128.2803 μs 0.64 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 14,766.100 μs 110.7722 μs 103.6164 μs 0.63 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 23,617.074 μs 390.4911 μs 326.0778 μs 1.00 0.02 312.5000 312.5000 312.5000 104858366 B 1.000
GetByteBufferStreamNaive 104857600 True 53,770.207 μs 409.0799 μs 362.6387 μs 2.28 0.03 666.6667 666.6667 666.6667 373163448 B 3.559
GetByteBufferStreamChunked 104857600 True 15,177.655 μs 143.2265 μs 126.9666 μs 0.64 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 14,996.369 μs 150.2370 μs 125.4547 μs 0.64 0.01 - - - 400 B 0.000

bulk-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.00GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.284 μs 0.0176 μs 0.0156 μs 1.00 0.02 0.0134 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 2.092 μs 0.0406 μs 0.0468 μs 1.63 0.04 0.0610 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.572 μs 0.0313 μs 0.0458 μs 1.22 0.04 0.0134 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 220.203 μs 4.2807 μs 5.8595 μs 1.00 0.04 200.9277 200.9277 200.9277 1024.76 KB 1.00
GetArrayViaStreamChunked 1048576 True False 234.779 μs 3.7482 μs 3.5061 μs 1.07 0.03 246.3379 246.3379 246.3379 1028.85 KB 1.00
GetArrayViaStreamSpan 1048576 True False 231.493 μs 4.5766 μs 5.2704 μs 1.05 0.04 198.4863 198.4863 198.4863 1024.83 KB 1.00
InvokeByteArrayDirect 104857600 True False 34,503.438 μs 397.7288 μs 352.5763 μs 1.00 0.01 266.6667 266.6667 266.6667 102400.26 KB 1.00
GetArrayViaStreamChunked 104857600 True False 37,531.351 μs 722.5404 μs 675.8648 μs 1.09 0.02 285.7143 285.7143 285.7143 102404.44 KB 1.00
GetArrayViaStreamSpan 104857600 True False 35,872.186 μs 371.7249 μs 310.4072 μs 1.04 0.01 266.6667 266.6667 266.6667 102400.4 KB 1.00

bulk-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.00GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 2.676 μs 0.0308 μs 0.0288 μs 1.00 0.01 0.0038 - - 576 B 1.00
GetByteBufferStreamNaive 10 False 3.207 μs 0.0422 μs 0.0395 μs 1.20 0.02 0.0114 0.0076 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.818 μs 0.0515 μs 0.0482 μs 1.43 0.02 0.0534 0.0458 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 1.867 μs 0.0271 μs 0.0240 μs 0.70 0.01 0.0038 - - 400 B 0.69
GetByteBufferToArray 10 True 2.680 μs 0.0287 μs 0.0239 μs 1.00 0.01 0.0038 - - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.171 μs 0.0201 μs 0.0188 μs 1.18 0.01 0.0114 0.0076 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.611 μs 0.0319 μs 0.0299 μs 1.35 0.02 0.0572 0.0534 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 1.837 μs 0.0363 μs 0.0473 μs 0.69 0.02 0.0038 - - 400 B 0.69
GetByteBufferToArray 100 False 3.058 μs 0.0440 μs 0.0411 μs 1.00 0.02 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 False 3.279 μs 0.0341 μs 0.0303 μs 1.07 0.02 0.0114 0.0076 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.662 μs 0.0711 μs 0.0698 μs 1.20 0.03 0.0572 0.0534 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 1.876 μs 0.0369 μs 0.0328 μs 0.61 0.01 0.0038 - - 400 B 0.60
GetByteBufferToArray 100 True 3.101 μs 0.0382 μs 0.0338 μs 1.00 0.01 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.067 μs 0.0491 μs 0.0435 μs 0.99 0.02 0.0114 0.0076 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.660 μs 0.0461 μs 0.0431 μs 1.18 0.02 0.0572 0.0534 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 1.895 μs 0.0373 μs 0.0399 μs 0.61 0.01 0.0038 - - 400 B 0.60
GetByteBufferToArray 1024 False 3.216 μs 0.0296 μs 0.0277 μs 1.00 0.01 0.0153 0.0114 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.613 μs 0.0346 μs 0.0324 μs 1.12 0.01 0.0305 0.0267 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.639 μs 0.0514 μs 0.0481 μs 1.13 0.02 0.0572 0.0534 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 1.834 μs 0.0235 μs 0.0208 μs 0.57 0.01 0.0038 - - 400 B 0.25
GetByteBufferToArray 1024 True 3.217 μs 0.0301 μs 0.0281 μs 1.00 0.01 0.0153 0.0114 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.836 μs 0.0311 μs 0.0260 μs 1.19 0.01 0.0305 0.0229 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.886 μs 0.0506 μs 0.0448 μs 1.21 0.02 0.0534 0.0458 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 1.834 μs 0.0217 μs 0.0181 μs 0.57 0.01 0.0038 - - 400 B 0.25
GetByteBufferToArray 10240 False 4.692 μs 0.0243 μs 0.0228 μs 1.00 0.01 0.1221 0.1144 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 6.065 μs 0.0591 μs 0.0524 μs 1.29 0.01 0.2518 0.2441 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.448 μs 0.0660 μs 0.0618 μs 0.95 0.01 0.0534 0.0458 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.224 μs 0.0434 μs 0.0406 μs 0.47 0.01 0.0038 - - 400 B 0.04
GetByteBufferToArray 10240 True 4.685 μs 0.0236 μs 0.0210 μs 1.00 0.01 0.1221 0.1144 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 5.833 μs 0.0969 μs 0.0906 μs 1.24 0.02 0.2518 0.2441 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.239 μs 0.0331 μs 0.0293 μs 0.90 0.01 0.0534 0.0458 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.154 μs 0.0247 μs 0.0206 μs 0.46 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 102400 False 59.009 μs 0.1724 μs 0.1528 μs 1.00 0.00 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 81.952 μs 0.2231 μs 0.1977 μs 1.39 0.00 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 10.343 μs 0.0507 μs 0.0475 μs 0.18 0.00 0.0458 0.0305 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 7.119 μs 0.0203 μs 0.0180 μs 0.12 0.00 - - - 400 B 0.004
GetByteBufferToArray 102400 True 60.694 μs 0.1928 μs 0.1709 μs 1.00 0.00 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 81.173 μs 0.4110 μs 0.3844 μs 1.34 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 10.362 μs 0.0494 μs 0.0462 μs 0.17 0.00 0.0458 0.0305 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 7.119 μs 0.0294 μs 0.0275 μs 0.12 0.00 - - - 400 B 0.004
GetByteBufferToArray 1048576 False 315.213 μs 6.1090 μs 7.5024 μs 1.00 0.03 233.3984 233.3984 233.3984 1049533 B 1.000
GetByteBufferStreamNaive 1048576 False 634.213 μs 11.8616 μs 11.6496 μs 2.01 0.06 600.5859 600.5859 600.5859 3016008 B 2.874
GetByteBufferStreamChunked 1048576 False 123.344 μs 0.6665 μs 0.6234 μs 0.39 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 110.975 μs 0.6943 μs 0.6495 μs 0.35 0.01 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 315.905 μs 3.6191 μs 3.0221 μs 1.00 0.01 226.0742 226.0742 226.0742 1049544 B 1.000
GetByteBufferStreamNaive 1048576 True 616.789 μs 12.1040 μs 15.7387 μs 1.95 0.05 566.4063 566.4063 566.4063 3015973 B 2.874
GetByteBufferStreamChunked 1048576 True 124.026 μs 1.5702 μs 1.3919 μs 0.39 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 110.845 μs 0.7299 μs 0.6827 μs 0.35 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 4,309.916 μs 45.3705 μs 40.2198 μs 1.00 0.01 328.1250 328.1250 328.1250 10486533 B 1.000
GetByteBufferStreamNaive 10485760 False 16,635.417 μs 360.2251 μs 1,062.1319 μs 3.86 0.25 937.5000 937.5000 937.5000 43910678 B 4.187
GetByteBufferStreamChunked 10485760 False 1,469.217 μs 26.3592 μs 24.6564 μs 0.34 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 1,511.314 μs 7.7389 μs 6.8603 μs 0.35 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 4,160.352 μs 80.2084 μs 78.7754 μs 1.00 0.03 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 True 17,042.227 μs 364.5942 μs 1,075.0143 μs 4.10 0.27 937.5000 937.5000 937.5000 43910678 B 4.187
GetByteBufferStreamChunked 10485760 True 1,550.833 μs 4.4204 μs 3.9186 μs 0.37 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 1,534.846 μs 14.5246 μs 13.5863 μs 0.37 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 53,715.308 μs 207.7372 μs 194.3175 μs 1.00 0.00 300.0000 300.0000 300.0000 104858354 B 1.000
GetByteBufferStreamNaive 104857600 False 118,691.061 μs 2,176.7429 μs 2,036.1266 μs 2.21 0.04 750.0000 750.0000 750.0000 373163482 B 3.559
GetByteBufferStreamChunked 104857600 False 28,576.676 μs 557.4502 μs 619.6044 μs 0.53 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 26,921.609 μs 447.6225 μs 418.7064 μs 0.50 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 51,355.557 μs 360.0838 μs 336.8227 μs 1.00 0.01 300.0000 300.0000 300.0000 104858354 B 1.000
GetByteBufferStreamNaive 104857600 True 117,898.603 μs 1,479.5117 μs 1,311.5486 μs 2.30 0.03 750.0000 750.0000 750.0000 373163482 B 3.559
GetByteBufferStreamChunked 104857600 True 26,019.059 μs 507.9007 μs 564.5303 μs 0.51 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 24,192.056 μs 451.1417 μs 482.7165 μs 0.47 0.01 - - - 400 B 0.000

bulk-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.278 μs 0.0149 μs 0.0139 μs 1.00 0.01 0.0668 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 1.851 μs 0.0286 μs 0.0268 μs 1.45 0.03 0.3204 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.571 μs 0.0165 μs 0.0154 μs 1.23 0.02 0.0744 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 542.022 μs 8.9311 μs 8.3542 μs 1.00 0.02 249.0234 249.0234 249.0234 1024.25 KB 1.00
GetArrayViaStreamChunked 1048576 True False 597.382 μs 8.4572 μs 7.9109 μs 1.10 0.02 249.0234 249.0234 249.0234 1028.42 KB 1.00
GetArrayViaStreamSpan 1048576 True False 547.550 μs 6.2368 μs 5.8339 μs 1.01 0.02 249.0234 249.0234 249.0234 1024.39 KB 1.00
InvokeByteArrayDirect 104857600 True False 50,346.831 μs 938.5827 μs 921.8137 μs 1.00 0.02 200.0000 200.0000 200.0000 102400.22 KB 1.00
GetArrayViaStreamChunked 104857600 True False 54,038.219 μs 344.9628 μs 305.8005 μs 1.07 0.02 200.0000 200.0000 200.0000 102404.39 KB 1.00
GetArrayViaStreamSpan 104857600 True False 49,976.729 μs 762.1193 μs 712.8869 μs 0.99 0.02 200.0000 200.0000 200.0000 102400.36 KB 1.00

bulk-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 3.492 μs 0.0324 μs 0.0303 μs 1.00 0.01 0.0343 0.0305 - 576 B 1.00
GetByteBufferStreamNaive 10 False 3.757 μs 0.0402 μs 0.0376 μs 1.08 0.01 0.0610 0.0572 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.908 μs 0.0511 μs 0.0453 μs 1.12 0.02 0.2823 0.2747 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 2.383 μs 0.0224 μs 0.0199 μs 0.68 0.01 0.0229 0.0191 - 400 B 0.69
GetByteBufferToArray 10 True 3.551 μs 0.0333 μs 0.0311 μs 1.00 0.01 0.0343 0.0305 - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.742 μs 0.0413 μs 0.0386 μs 1.05 0.01 0.0610 0.0572 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.920 μs 0.0285 μs 0.0238 μs 1.10 0.01 0.2823 0.2747 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 2.421 μs 0.0295 μs 0.0262 μs 0.68 0.01 0.0229 0.0191 - 400 B 0.69
GetByteBufferToArray 100 False 3.500 μs 0.0368 μs 0.0326 μs 1.00 0.01 0.0381 0.0343 - 664 B 1.00
GetByteBufferStreamNaive 100 False 3.754 μs 0.0492 μs 0.0460 μs 1.07 0.02 0.0648 0.0610 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.991 μs 0.0690 μs 0.0612 μs 1.14 0.02 0.2823 0.2747 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 2.410 μs 0.0272 μs 0.0227 μs 0.69 0.01 0.0229 0.0191 - 400 B 0.60
GetByteBufferToArray 100 True 3.539 μs 0.0433 μs 0.0405 μs 1.00 0.02 0.0381 0.0343 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.754 μs 0.0300 μs 0.0266 μs 1.06 0.01 0.0648 0.0610 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.857 μs 0.0478 μs 0.0447 μs 1.09 0.02 0.2823 0.2747 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 2.389 μs 0.0249 μs 0.0221 μs 0.68 0.01 0.0229 0.0191 - 400 B 0.60
GetByteBufferToArray 1024 False 3.711 μs 0.0451 μs 0.0422 μs 1.00 0.02 0.0916 0.0877 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.922 μs 0.0482 μs 0.0451 μs 1.06 0.02 0.1678 0.1602 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.974 μs 0.0452 μs 0.0423 μs 1.07 0.02 0.2823 0.2747 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 2.439 μs 0.0317 μs 0.0281 μs 0.66 0.01 0.0229 0.0191 - 400 B 0.25
GetByteBufferToArray 1024 True 3.698 μs 0.0338 μs 0.0316 μs 1.00 0.01 0.0916 0.0877 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.917 μs 0.0325 μs 0.0271 μs 1.06 0.01 0.1678 0.1602 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.933 μs 0.0376 μs 0.0351 μs 1.06 0.01 0.2823 0.2747 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 2.436 μs 0.0261 μs 0.0244 μs 0.66 0.01 0.0229 0.0191 - 400 B 0.25
GetByteBufferToArray 10240 False 5.088 μs 0.0687 μs 0.0643 μs 1.00 0.02 0.6409 0.6332 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 5.885 μs 0.0323 μs 0.0286 μs 1.16 0.02 1.2665 0.6256 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.692 μs 0.0529 μs 0.0469 μs 0.92 0.01 0.2823 0.2747 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.903 μs 0.0322 μs 0.0301 μs 0.57 0.01 0.0229 0.0191 - 400 B 0.04
GetByteBufferToArray 10240 True 4.995 μs 0.0604 μs 0.0565 μs 1.00 0.02 0.6409 0.6332 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 5.888 μs 0.0478 μs 0.0447 μs 1.18 0.02 1.2665 0.6256 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.623 μs 0.0390 μs 0.0326 μs 0.93 0.01 0.2823 0.2747 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.888 μs 0.0219 μs 0.0205 μs 0.58 0.01 0.0229 0.0191 - 400 B 0.04
GetByteBufferToArray 102400 False 91.833 μs 0.7892 μs 0.7383 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 147.338 μs 2.2303 μs 2.0862 μs 1.60 0.03 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 12.066 μs 0.0811 μs 0.0758 μs 0.13 0.00 0.2747 0.2594 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 7.867 μs 0.1023 μs 0.0907 μs 0.09 0.00 0.0153 - - 400 B 0.004
GetByteBufferToArray 102400 True 91.008 μs 0.5420 μs 0.4805 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 114.623 μs 1.5553 μs 1.3787 μs 1.26 0.02 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 12.443 μs 0.0902 μs 0.0799 μs 0.14 0.00 0.2747 0.2594 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 7.651 μs 0.0886 μs 0.0829 μs 0.08 0.00 0.0229 0.0153 - 400 B 0.004
GetByteBufferToArray 1048576 False 589.569 μs 6.3222 μs 5.6045 μs 1.00 0.01 249.0234 249.0234 249.0234 1049297 B 1.000
GetByteBufferStreamNaive 1048576 False 1,019.428 μs 19.9563 μs 33.8873 μs 1.73 0.06 656.2500 656.2500 656.2500 3015934 B 2.874
GetByteBufferStreamChunked 1048576 False 99.856 μs 0.9797 μs 0.9164 μs 0.17 0.00 0.2441 0.1221 - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 77.006 μs 0.3595 μs 0.3362 μs 0.13 0.00 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 587.136 μs 9.6385 μs 9.8981 μs 1.00 0.02 249.0234 249.0234 249.0234 1049297 B 1.000
GetByteBufferStreamNaive 1048576 True 999.768 μs 18.0417 μs 26.4454 μs 1.70 0.05 660.1563 660.1563 660.1563 3015936 B 2.874
GetByteBufferStreamChunked 1048576 True 96.684 μs 0.9982 μs 0.9338 μs 0.16 0.00 0.2441 0.1221 - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 76.937 μs 0.6556 μs 0.6132 μs 0.13 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 8,672.908 μs 85.0835 μs 79.5872 μs 1.00 0.01 328.1250 328.1250 328.1250 10486533 B 1.000
GetByteBufferStreamNaive 10485760 False 19,356.269 μs 294.8672 μs 275.8190 μs 2.23 0.04 750.0000 750.0000 750.0000 43910565 B 4.187
GetByteBufferStreamChunked 10485760 False 1,322.847 μs 26.0583 μs 25.5928 μs 0.15 0.00 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 893.658 μs 17.2413 μs 26.3294 μs 0.10 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 8,471.965 μs 64.4248 μs 60.2630 μs 1.00 0.01 328.1250 328.1250 328.1250 10486533 B 1.000
GetByteBufferStreamNaive 10485760 True 19,506.897 μs 386.7914 μs 413.8624 μs 2.30 0.05 750.0000 750.0000 750.0000 43910565 B 4.187
GetByteBufferStreamChunked 10485760 True 1,385.721 μs 27.3282 μs 53.9432 μs 0.16 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 956.973 μs 18.9857 μs 31.1941 μs 0.11 0.00 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 60,041.653 μs 1,014.6865 μs 949.1384 μs 1.00 0.02 222.2222 222.2222 222.2222 104858307 B 1.000
GetByteBufferStreamNaive 104857600 False 84,913.043 μs 1,207.0871 μs 1,129.1100 μs 1.41 0.03 666.6667 666.6667 666.6667 373163448 B 3.559
GetByteBufferStreamChunked 104857600 False 21,396.683 μs 413.8301 μs 387.0969 μs 0.36 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 16,562.501 μs 311.9341 μs 291.7833 μs 0.28 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 60,196.898 μs 1,034.7149 μs 967.8730 μs 1.00 0.02 222.2222 222.2222 222.2222 104858307 B 1.000
GetByteBufferStreamNaive 104857600 True 84,701.207 μs 1,626.7802 μs 1,442.0983 μs 1.41 0.03 666.6667 666.6667 666.6667 373163448 B 3.559
GetByteBufferStreamChunked 104857600 True 20,734.937 μs 411.6477 μs 652.9169 μs 0.34 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 16,589.919 μs 165.0489 μs 154.3869 μs 0.28 0.00 - - - 400 B 0.000

bulk-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.063 μs 0.0030 μs 0.0028 μs 1.00 0.00 0.0153 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 1.711 μs 0.0219 μs 0.0205 μs 1.61 0.02 0.0801 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.326 μs 0.0035 μs 0.0033 μs 1.25 0.00 0.0172 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 197.115 μs 1.5911 μs 1.4883 μs 1.00 0.01 171.1426 171.1426 171.1426 1025.41 KB 1.00
GetArrayViaStreamChunked 1048576 True False 228.331 μs 2.2480 μs 2.1028 μs 1.16 0.01 213.6230 213.6230 213.6230 1029.03 KB 1.00
GetArrayViaStreamSpan 1048576 True False 199.871 μs 3.3216 μs 3.1070 μs 1.01 0.02 172.6074 172.6074 172.6074 1025.53 KB 1.00
InvokeByteArrayDirect 104857600 True False 18,456.489 μs 367.2518 μs 571.7668 μs 1.00 0.04 312.5000 312.5000 312.5000 102400.29 KB 1.00
GetArrayViaStreamChunked 104857600 True False 18,628.941 μs 342.2082 μs 320.1018 μs 1.01 0.04 312.5000 312.5000 312.5000 102404.46 KB 1.00
GetArrayViaStreamSpan 104857600 True False 18,154.830 μs 350.4268 μs 327.7894 μs 0.98 0.04 312.5000 312.5000 312.5000 102400.43 KB 1.00

bulk-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 3.005 μs 0.0216 μs 0.0202 μs 1.00 0.01 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 False 3.292 μs 0.0615 μs 0.0658 μs 1.10 0.02 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.528 μs 0.0682 μs 0.0700 μs 1.17 0.02 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 1.869 μs 0.0113 μs 0.0105 μs 0.62 0.01 0.0038 - - 400 B 0.69
GetByteBufferToArray 10 True 2.970 μs 0.0319 μs 0.0299 μs 1.00 0.01 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.193 μs 0.0591 μs 0.0553 μs 1.08 0.02 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.600 μs 0.0710 μs 0.0789 μs 1.21 0.03 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 1.834 μs 0.0042 μs 0.0040 μs 0.62 0.01 0.0038 - - 400 B 0.69
GetByteBufferToArray 100 False 2.928 μs 0.0220 μs 0.0206 μs 1.00 0.01 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 False 3.247 μs 0.0438 μs 0.0388 μs 1.11 0.01 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.478 μs 0.0679 μs 0.0727 μs 1.19 0.03 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 1.913 μs 0.0163 μs 0.0152 μs 0.65 0.01 0.0038 - - 400 B 0.60
GetByteBufferToArray 100 True 2.952 μs 0.0261 μs 0.0244 μs 1.00 0.01 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.192 μs 0.0481 μs 0.0450 μs 1.08 0.02 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.487 μs 0.0600 μs 0.0561 μs 1.18 0.02 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 1.881 μs 0.0125 μs 0.0117 μs 0.64 0.01 0.0038 - - 400 B 0.60
GetByteBufferToArray 1024 False 3.450 μs 0.0572 μs 0.0535 μs 1.00 0.02 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.671 μs 0.0698 μs 0.0653 μs 1.06 0.02 0.0420 0.0381 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.606 μs 0.0674 μs 0.0662 μs 1.05 0.02 0.0687 0.0648 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 1.922 μs 0.0178 μs 0.0158 μs 0.56 0.01 0.0038 - - 400 B 0.25
GetByteBufferToArray 1024 True 3.392 μs 0.0515 μs 0.0482 μs 1.00 0.02 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.724 μs 0.0591 μs 0.0553 μs 1.10 0.02 0.0420 0.0381 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.652 μs 0.0616 μs 0.0576 μs 1.08 0.02 0.0687 0.0648 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 1.896 μs 0.0109 μs 0.0102 μs 0.56 0.01 0.0038 - - 400 B 0.25
GetByteBufferToArray 10240 False 4.687 μs 0.0444 μs 0.0416 μs 1.00 0.01 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 5.952 μs 0.0408 μs 0.0381 μs 1.27 0.01 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.410 μs 0.0613 μs 0.0574 μs 0.94 0.01 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.432 μs 0.0081 μs 0.0072 μs 0.52 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 10240 True 4.780 μs 0.0156 μs 0.0130 μs 1.00 0.00 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 5.791 μs 0.0696 μs 0.0651 μs 1.21 0.01 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.302 μs 0.0828 μs 0.0813 μs 0.90 0.02 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.424 μs 0.0165 μs 0.0154 μs 0.51 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 102400 False 66.419 μs 0.7424 μs 0.6200 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 80.613 μs 0.4984 μs 0.4662 μs 1.21 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 11.825 μs 0.0564 μs 0.0528 μs 0.18 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 7.633 μs 0.0061 μs 0.0051 μs 0.11 0.00 - - - 400 B 0.004
GetByteBufferToArray 102400 True 63.872 μs 0.5430 μs 0.5079 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 79.581 μs 0.1846 μs 0.1441 μs 1.25 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 11.663 μs 0.0634 μs 0.0593 μs 0.18 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 7.601 μs 0.0087 μs 0.0082 μs 0.12 0.00 - - - 400 B 0.004
GetByteBufferToArray 1048576 False 267.428 μs 5.2377 μs 5.1442 μs 1.00 0.03 203.6133 203.6133 203.6133 1050146 B 1.000
GetByteBufferStreamNaive 1048576 False 605.383 μs 11.8984 μs 21.4553 μs 2.26 0.09 500.0000 500.0000 500.0000 3015808 B 2.872
GetByteBufferStreamChunked 1048576 False 100.472 μs 0.3952 μs 0.3504 μs 0.38 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 78.565 μs 0.3822 μs 0.3575 μs 0.29 0.01 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 265.656 μs 3.5271 μs 3.1267 μs 1.00 0.02 201.1719 201.1719 201.1719 1050224 B 1.000
GetByteBufferStreamNaive 1048576 True 613.126 μs 12.1726 μs 27.2258 μs 2.31 0.11 500.0000 500.0000 500.0000 3015801 B 2.872
GetByteBufferStreamChunked 1048576 True 101.441 μs 0.3748 μs 0.3506 μs 0.38 0.00 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 79.715 μs 0.5877 μs 0.5210 μs 0.30 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 2,492.396 μs 48.6400 μs 63.2458 μs 1.00 0.04 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 False 8,782.752 μs 157.1834 μs 147.0294 μs 3.53 0.10 968.7500 968.7500 968.7500 43910699 B 4.187
GetByteBufferStreamChunked 10485760 False 1,018.156 μs 10.3295 μs 9.1568 μs 0.41 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 921.485 μs 18.0610 μs 33.9229 μs 0.37 0.02 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 2,850.400 μs 43.6760 μs 38.7176 μs 1.00 0.02 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 True 8,999.882 μs 160.1306 μs 149.7863 μs 3.16 0.07 1000.0000 1000.0000 1000.0000 43910719 B 4.187
GetByteBufferStreamChunked 10485760 True 987.665 μs 8.4409 μs 7.8956 μs 0.35 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 848.906 μs 12.3516 μs 11.5537 μs 0.30 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 24,954.738 μs 464.8820 μs 434.8509 μs 1.00 0.02 312.5000 312.5000 312.5000 104858362 B 1.000
GetByteBufferStreamNaive 104857600 False 54,590.147 μs 471.8429 μs 441.3622 μs 2.19 0.04 777.7778 777.7778 777.7778 373163504 B 3.559
GetByteBufferStreamChunked 104857600 False 16,246.079 μs 191.7736 μs 179.3852 μs 0.65 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 15,891.495 μs 268.1488 μs 250.8265 μs 0.64 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 25,059.253 μs 492.9000 μs 506.1720 μs 1.00 0.03 312.5000 312.5000 312.5000 104858362 B 1.000
GetByteBufferStreamNaive 104857600 True 53,593.936 μs 532.7669 μs 498.3505 μs 2.14 0.05 777.7778 777.7778 777.7778 373163504 B 3.559
GetByteBufferStreamChunked 104857600 True 15,916.606 μs 267.3277 μs 236.9791 μs 0.64 0.02 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 16,052.103 μs 134.1503 μs 118.9208 μs 0.64 0.01 - - - 400 B 0.000

bulk-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.109 μs 0.0010 μs 0.0008 μs 1.00 0.00 0.0153 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 1.734 μs 0.0036 μs 0.0032 μs 1.56 0.00 0.0801 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.355 μs 0.0042 μs 0.0039 μs 1.22 0.00 0.0172 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 192.043 μs 2.4540 μs 2.1754 μs 1.00 0.02 142.8223 142.8223 142.8223 1025.16 KB 1.00
GetArrayViaStreamChunked 1048576 True False 219.332 μs 3.5542 μs 3.3246 μs 1.14 0.02 148.9258 148.9258 148.9258 1029.11 KB 1.00
GetArrayViaStreamSpan 1048576 True False 192.514 μs 3.0373 μs 2.8411 μs 1.00 0.02 142.8223 142.8223 142.8223 1025.25 KB 1.00
InvokeByteArrayDirect 104857600 True False 17,207.286 μs 340.3331 μs 301.6964 μs 1.00 0.02 312.5000 312.5000 312.5000 102400.29 KB 1.00
GetArrayViaStreamChunked 104857600 True False 18,097.547 μs 171.0181 μs 159.9705 μs 1.05 0.02 312.5000 312.5000 312.5000 102404.46 KB 1.00
GetArrayViaStreamSpan 104857600 True False 17,057.263 μs 244.8682 μs 217.0693 μs 0.99 0.02 312.5000 312.5000 312.5000 102400.44 KB 1.00

bulk-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 3.163 μs 0.0164 μs 0.0154 μs 1.00 0.01 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 False 3.411 μs 0.0230 μs 0.0215 μs 1.08 0.01 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.575 μs 0.0294 μs 0.0275 μs 1.13 0.01 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 1.979 μs 0.0051 μs 0.0047 μs 0.63 0.00 0.0038 - - 400 B 0.69
GetByteBufferToArray 10 True 3.028 μs 0.0104 μs 0.0087 μs 1.00 0.00 0.0076 0.0038 - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.356 μs 0.0328 μs 0.0274 μs 1.11 0.01 0.0153 0.0114 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.658 μs 0.0338 μs 0.0316 μs 1.21 0.01 0.0687 0.0648 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 1.979 μs 0.0063 μs 0.0059 μs 0.65 0.00 0.0038 - - 400 B 0.69
GetByteBufferToArray 100 False 3.022 μs 0.0091 μs 0.0081 μs 1.00 0.00 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 False 3.353 μs 0.0159 μs 0.0149 μs 1.11 0.01 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.536 μs 0.0191 μs 0.0149 μs 1.17 0.01 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 1.960 μs 0.0031 μs 0.0024 μs 0.65 0.00 0.0038 - - 400 B 0.60
GetByteBufferToArray 100 True 3.008 μs 0.0151 μs 0.0141 μs 1.00 0.01 0.0076 0.0038 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.472 μs 0.0173 μs 0.0162 μs 1.15 0.01 0.0153 0.0114 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.695 μs 0.0239 μs 0.0212 μs 1.23 0.01 0.0687 0.0648 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 1.990 μs 0.0071 μs 0.0066 μs 0.66 0.00 0.0038 - - 400 B 0.60
GetByteBufferToArray 1024 False 3.395 μs 0.0163 μs 0.0153 μs 1.00 0.01 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.753 μs 0.0267 μs 0.0250 μs 1.11 0.01 0.0420 0.0381 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.679 μs 0.0285 μs 0.0253 μs 1.08 0.01 0.0687 0.0610 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 2.022 μs 0.0064 μs 0.0057 μs 0.60 0.00 0.0038 - - 400 B 0.25
GetByteBufferToArray 1024 True 3.379 μs 0.0315 μs 0.0295 μs 1.00 0.01 0.0229 0.0191 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.782 μs 0.0750 μs 0.0770 μs 1.12 0.02 0.0420 0.0381 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.752 μs 0.0219 μs 0.0205 μs 1.11 0.01 0.0687 0.0610 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 1.991 μs 0.0067 μs 0.0056 μs 0.59 0.01 0.0038 - - 400 B 0.25
GetByteBufferToArray 10240 False 4.812 μs 0.0180 μs 0.0151 μs 1.00 0.00 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 6.030 μs 0.0134 μs 0.0119 μs 1.25 0.00 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.497 μs 0.0171 μs 0.0151 μs 0.93 0.00 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.576 μs 0.0065 μs 0.0057 μs 0.54 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 10240 True 4.758 μs 0.0128 μs 0.0120 μs 1.00 0.00 0.1602 0.1526 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 5.950 μs 0.0146 μs 0.0129 μs 1.25 0.00 0.3128 0.3052 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.448 μs 0.0163 μs 0.0152 μs 0.93 0.00 0.0687 0.0610 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.531 μs 0.0053 μs 0.0050 μs 0.53 0.00 0.0038 - - 400 B 0.04
GetByteBufferToArray 102400 False 65.686 μs 0.3406 μs 0.3020 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 81.719 μs 0.2447 μs 0.2289 μs 1.24 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 12.341 μs 0.0403 μs 0.0377 μs 0.19 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 7.589 μs 0.0224 μs 0.0209 μs 0.12 0.00 - - - 400 B 0.004
GetByteBufferToArray 102400 True 66.178 μs 0.8798 μs 0.8230 μs 1.00 0.02 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 79.737 μs 0.4885 μs 0.4569 μs 1.21 0.02 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 11.663 μs 0.0215 μs 0.0190 μs 0.18 0.00 0.0610 0.0458 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 8.001 μs 0.0120 μs 0.0113 μs 0.12 0.00 - - - 400 B 0.004
GetByteBufferToArray 1048576 False 272.111 μs 5.4009 μs 5.0520 μs 1.00 0.03 169.9219 169.9219 169.9219 1050050 B 1.000
GetByteBufferStreamNaive 1048576 False 579.709 μs 5.3450 μs 4.9997 μs 2.13 0.04 386.7188 386.7188 386.7188 3017319 B 2.874
GetByteBufferStreamChunked 1048576 False 97.372 μs 0.1913 μs 0.1696 μs 0.36 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 77.370 μs 0.2321 μs 0.2058 μs 0.28 0.01 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 271.312 μs 4.6347 μs 4.3353 μs 1.00 0.02 169.9219 169.9219 169.9219 1050068 B 1.000
GetByteBufferStreamNaive 1048576 True 574.648 μs 7.3648 μs 6.8890 μs 2.12 0.04 379.8828 379.8828 379.8828 3017343 B 2.873
GetByteBufferStreamChunked 1048576 True 99.204 μs 0.2141 μs 0.1898 μs 0.37 0.01 - - - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 79.080 μs 0.3733 μs 0.3492 μs 0.29 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 2,392.163 μs 47.0168 μs 43.9796 μs 1.00 0.03 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 False 6,923.109 μs 106.8342 μs 99.9328 μs 2.89 0.07 710.9375 710.9375 710.9375 43910528 B 4.187
GetByteBufferStreamChunked 10485760 False 963.782 μs 6.0812 μs 5.0780 μs 0.40 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 835.110 μs 11.5794 μs 10.8314 μs 0.35 0.01 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 2,498.977 μs 48.9227 μs 93.0805 μs 1.00 0.05 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 True 6,976.789 μs 109.3138 μs 102.2522 μs 2.80 0.11 718.7500 718.7500 718.7500 43910529 B 4.187
GetByteBufferStreamChunked 10485760 True 965.688 μs 5.5779 μs 4.9447 μs 0.39 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 803.054 μs 4.9686 μs 4.6477 μs 0.32 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 23,425.676 μs 443.1194 μs 414.4942 μs 1.00 0.02 312.5000 312.5000 312.5000 104858366 B 1.000
GetByteBufferStreamNaive 104857600 False 50,251.038 μs 800.1809 μs 709.3395 μs 2.15 0.05 600.0000 600.0000 600.0000 373163404 B 3.559
GetByteBufferStreamChunked 104857600 False 15,314.392 μs 144.1043 μs 134.7952 μs 0.65 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 14,600.382 μs 155.2757 μs 145.2450 μs 0.62 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 23,596.330 μs 389.4849 μs 364.3245 μs 1.00 0.02 312.5000 312.5000 312.5000 104858366 B 1.000
GetByteBufferStreamNaive 104857600 True 52,698.699 μs 1,004.0240 μs 1,195.2193 μs 2.23 0.06 600.0000 600.0000 600.0000 373163404 B 3.559
GetByteBufferStreamChunked 104857600 True 15,287.630 μs 214.7935 μs 200.9180 μs 0.65 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 15,232.490 μs 208.6756 μs 195.1953 μs 0.65 0.01 - - - 400 B 0.000

bulk-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.160 μs 0.0057 μs 0.0050 μs 1.00 0.01 0.0668 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 1.739 μs 0.0346 μs 0.0624 μs 1.50 0.05 0.3204 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.401 μs 0.0277 μs 0.0259 μs 1.21 0.02 0.0744 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 187.763 μs 1.2467 μs 1.1052 μs 1.00 0.01 199.9512 199.9512 199.9512 1024.83 KB 1.00
GetArrayViaStreamChunked 1048576 True False 223.305 μs 1.7864 μs 1.6710 μs 1.19 0.01 213.3789 212.8906 212.8906 1029.07 KB 1.00
GetArrayViaStreamSpan 1048576 True False 190.269 μs 3.4702 μs 3.2461 μs 1.01 0.02 201.1719 201.1719 201.1719 1025.21 KB 1.00
InvokeByteArrayDirect 104857600 True False 40,782.497 μs 277.7724 μs 259.8285 μs 1.00 0.01 307.6923 307.6923 307.6923 102400.29 KB 1.00
GetArrayViaStreamChunked 104857600 True False 44,481.619 μs 263.1433 μs 246.1444 μs 1.09 0.01 250.0000 250.0000 250.0000 102404.42 KB 1.00
GetArrayViaStreamSpan 104857600 True False 40,574.257 μs 365.2859 μs 341.6887 μs 0.99 0.01 307.6923 307.6923 307.6923 102400.43 KB 1.00

bulk-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length UseCriticalMethods Mean Error StdDev Median Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 2.790 μs 0.0285 μs 0.0253 μs 2.778 μs 1.00 0.01 0.0343 0.0305 - 576 B 1.00
GetByteBufferStreamNaive 10 False 2.964 μs 0.0378 μs 0.0354 μs 2.956 μs 1.06 0.02 0.0610 0.0572 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.179 μs 0.0405 μs 0.0359 μs 3.176 μs 1.14 0.02 0.2861 0.2823 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 1.832 μs 0.0164 μs 0.0153 μs 1.833 μs 0.66 0.01 0.0229 0.0210 - 400 B 0.69
GetByteBufferToArray 10 True 2.796 μs 0.0255 μs 0.0213 μs 2.803 μs 1.00 0.01 0.0343 0.0305 - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.011 μs 0.0305 μs 0.0285 μs 3.009 μs 1.08 0.01 0.0610 0.0572 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.233 μs 0.0529 μs 0.0495 μs 3.215 μs 1.16 0.02 0.2861 0.2823 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 1.881 μs 0.0113 μs 0.0095 μs 1.882 μs 0.67 0.01 0.0229 0.0191 - 400 B 0.69
GetByteBufferToArray 100 False 2.804 μs 0.0222 μs 0.0207 μs 2.807 μs 1.00 0.01 0.0381 0.0343 - 664 B 1.00
GetByteBufferStreamNaive 100 False 2.976 μs 0.0329 μs 0.0308 μs 2.973 μs 1.06 0.01 0.0648 0.0610 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.215 μs 0.0504 μs 0.0447 μs 3.208 μs 1.15 0.02 0.2861 0.2823 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 1.875 μs 0.0136 μs 0.0121 μs 1.875 μs 0.67 0.01 0.0229 0.0210 - 400 B 0.60
GetByteBufferToArray 100 True 2.807 μs 0.0218 μs 0.0193 μs 2.799 μs 1.00 0.01 0.0381 0.0343 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.000 μs 0.0161 μs 0.0151 μs 2.999 μs 1.07 0.01 0.0648 0.0610 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.204 μs 0.0314 μs 0.0279 μs 3.202 μs 1.14 0.01 0.2861 0.2823 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 1.875 μs 0.0165 μs 0.0154 μs 1.869 μs 0.67 0.01 0.0229 0.0210 - 400 B 0.60
GetByteBufferToArray 1024 False 3.170 μs 0.0336 μs 0.0315 μs 3.173 μs 1.00 0.01 0.0916 0.0877 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.265 μs 0.0337 μs 0.0299 μs 3.269 μs 1.03 0.01 0.1678 0.1640 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.313 μs 0.0523 μs 0.0490 μs 3.319 μs 1.05 0.02 0.2861 0.2823 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 1.962 μs 0.0166 μs 0.0147 μs 1.963 μs 0.62 0.01 0.0229 0.0191 - 400 B 0.25
GetByteBufferToArray 1024 True 3.198 μs 0.0477 μs 0.0446 μs 3.203 μs 1.00 0.02 0.0916 0.0877 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.338 μs 0.0661 μs 0.0618 μs 3.328 μs 1.04 0.02 0.1678 0.1640 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.321 μs 0.0637 μs 0.0682 μs 3.306 μs 1.04 0.03 0.2861 0.2823 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 1.923 μs 0.0123 μs 0.0103 μs 1.927 μs 0.60 0.01 0.0229 0.0191 - 400 B 0.25
GetByteBufferToArray 10240 False 4.335 μs 0.0596 μs 0.0529 μs 4.328 μs 1.00 0.02 0.6409 0.6332 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 5.657 μs 0.1094 μs 0.1343 μs 5.652 μs 1.31 0.03 1.2665 0.6256 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.109 μs 0.0661 μs 0.0618 μs 4.107 μs 0.95 0.02 0.2823 0.2747 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.360 μs 0.0268 μs 0.0251 μs 2.362 μs 0.54 0.01 0.0229 0.0191 - 400 B 0.04
GetByteBufferToArray 10240 True 4.304 μs 0.0660 μs 0.0617 μs 4.319 μs 1.00 0.02 0.6409 0.6332 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 5.589 μs 0.0448 μs 0.1039 μs 5.596 μs 1.30 0.03 1.2665 0.6256 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.087 μs 0.0735 μs 0.0687 μs 4.105 μs 0.95 0.02 0.2823 0.2747 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.366 μs 0.0246 μs 0.0230 μs 2.361 μs 0.55 0.01 0.0229 0.0191 - 400 B 0.04
GetByteBufferToArray 102400 False 73.248 μs 0.4940 μs 0.4621 μs 73.193 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 93.701 μs 0.8205 μs 0.7273 μs 93.914 μs 1.28 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 11.407 μs 0.0825 μs 0.0732 μs 11.413 μs 0.16 0.00 0.2747 0.2594 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 7.531 μs 0.0753 μs 0.0704 μs 7.515 μs 0.10 0.00 0.0229 0.0153 - 400 B 0.004
GetByteBufferToArray 102400 True 79.760 μs 0.6913 μs 0.6466 μs 79.620 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 93.792 μs 0.8760 μs 0.7766 μs 93.858 μs 1.18 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 10.938 μs 0.1032 μs 0.0915 μs 10.968 μs 0.14 0.00 0.2747 0.2594 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 6.978 μs 0.0918 μs 0.0814 μs 6.965 μs 0.09 0.00 0.0229 0.0153 - 400 B 0.004
GetByteBufferToArray 1048576 False 435.034 μs 19.0240 μs 55.7941 μs 434.923 μs 1.02 0.19 219.2383 219.2383 219.2383 1049620 B 1.000
GetByteBufferStreamNaive 1048576 False 587.686 μs 11.5217 μs 19.5647 μs 590.532 μs 1.37 0.19 563.4766 563.4766 563.4766 3016183 B 2.874
GetByteBufferStreamChunked 1048576 False 92.776 μs 0.4302 μs 0.4024 μs 92.794 μs 0.22 0.03 0.2441 0.1221 - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 77.137 μs 1.0551 μs 0.9870 μs 77.425 μs 0.18 0.02 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 393.545 μs 32.0888 μs 94.6144 μs 409.500 μs 1.07 0.40 205.0781 205.0781 205.0781 1049698 B 1.000
GetByteBufferStreamNaive 1048576 True 561.409 μs 10.7333 μs 19.0784 μs 557.945 μs 1.53 0.44 540.0391 540.0391 540.0391 3016102 B 2.873
GetByteBufferStreamChunked 1048576 True 83.098 μs 0.7279 μs 0.5683 μs 82.974 μs 0.23 0.06 0.2441 0.1221 - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 62.901 μs 2.8744 μs 8.4751 μs 57.806 μs 0.17 0.05 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 2,621.110 μs 44.9372 μs 42.0343 μs 2,626.857 μs 1.00 0.02 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 False 13,629.930 μs 264.5113 μs 271.6337 μs 13,719.158 μs 5.20 0.13 968.7500 968.7500 968.7500 43910699 B 4.187
GetByteBufferStreamChunked 10485760 False 1,291.991 μs 25.6058 μs 56.7408 μs 1,291.686 μs 0.49 0.02 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 824.542 μs 12.2188 μs 10.2033 μs 820.676 μs 0.31 0.01 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 2,589.974 μs 48.1889 μs 45.0760 μs 2,574.813 μs 1.00 0.02 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 True 13,510.514 μs 262.5428 μs 376.5310 μs 13,597.514 μs 5.22 0.17 968.7500 968.7500 968.7500 43910699 B 4.187
GetByteBufferStreamChunked 10485760 True 1,265.188 μs 31.0411 μs 91.5253 μs 1,270.415 μs 0.49 0.04 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 925.315 μs 18.2966 μs 25.0446 μs 926.752 μs 0.36 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 47,615.049 μs 265.5100 μs 248.3582 μs 47,614.192 μs 1.00 0.01 272.7273 272.7273 272.7273 104858337 B 1.000
GetByteBufferStreamNaive 104857600 False 50,535.516 μs 703.8711 μs 658.4015 μs 50,452.673 μs 1.06 0.01 818.1818 818.1818 818.1818 373163534 B 3.559
GetByteBufferStreamChunked 104857600 False 18,305.307 μs 343.6804 μs 321.4789 μs 18,257.590 μs 0.38 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 13,607.976 μs 177.8664 μs 157.6739 μs 13,546.183 μs 0.29 0.00 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 47,790.865 μs 359.1492 μs 335.9483 μs 47,754.874 μs 1.00 0.01 272.7273 272.7273 272.7273 104858337 B 1.000
GetByteBufferStreamNaive 104857600 True 49,865.971 μs 514.4437 μs 456.0409 μs 49,814.993 μs 1.04 0.01 818.1818 818.1818 818.1818 373163534 B 3.559
GetByteBufferStreamChunked 104857600 True 18,290.799 μs 352.5950 μs 470.7043 μs 18,273.792 μs 0.38 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 13,760.948 μs 216.2470 μs 202.2776 μs 13,725.962 μs 0.29 0.00 - - - 400 B 0.000

bulk-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length ForceRawMemory UseCriticalMethods Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeByteArrayDirect 1024 True False 1.080 μs 0.0116 μs 0.0109 μs 1.00 0.01 0.0668 - - 1.09 KB 1.00
GetArrayViaStreamChunked 1024 True False 1.592 μs 0.0188 μs 0.0176 μs 1.47 0.02 0.3204 - - 5.26 KB 4.81
GetArrayViaStreamSpan 1024 True False 1.320 μs 0.0125 μs 0.0116 μs 1.22 0.02 0.0744 - - 1.23 KB 1.13
InvokeByteArrayDirect 1048576 True False 201.014 μs 3.9827 μs 4.0899 μs 1.00 0.03 200.9277 200.6836 200.6836 1025.3 KB 1.00
GetArrayViaStreamChunked 1048576 True False 233.073 μs 3.3021 μs 3.0887 μs 1.16 0.03 213.8672 213.6230 213.6230 1029.06 KB 1.00
GetArrayViaStreamSpan 1048576 True False 203.507 μs 2.7704 μs 2.5914 μs 1.01 0.02 211.1816 211.1816 211.1816 1025.08 KB 1.00
InvokeByteArrayDirect 104857600 True False 39,796.757 μs 175.6443 μs 146.6710 μs 1.00 0.01 307.6923 307.6923 307.6923 102400.29 KB 1.00
GetArrayViaStreamChunked 104857600 True False 43,761.602 μs 379.6100 μs 355.0874 μs 1.10 0.01 333.3333 333.3333 333.3333 102404.47 KB 1.00
GetArrayViaStreamSpan 104857600 True False 39,630.087 μs 143.6209 μs 127.3162 μs 1.00 0.00 307.6923 307.6923 307.6923 102400.43 KB 1.00

bulk-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length UseCriticalMethods Mean Error StdDev Median Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
GetByteBufferToArray 10 False 2.974 μs 0.0233 μs 0.0218 μs 2.973 μs 1.00 0.01 0.0343 0.0305 - 576 B 1.00
GetByteBufferStreamNaive 10 False 3.225 μs 0.0258 μs 0.0228 μs 3.220 μs 1.08 0.01 0.0610 0.0572 - 1056 B 1.83
GetByteBufferStreamChunked 10 False 3.407 μs 0.0252 μs 0.0236 μs 3.402 μs 1.15 0.01 0.2861 0.2823 - 4792 B 8.32
GetByteBufferDirectSpan 10 False 2.041 μs 0.0160 μs 0.0150 μs 2.043 μs 0.69 0.01 0.0229 0.0191 - 400 B 0.69
GetByteBufferToArray 10 True 2.975 μs 0.0148 μs 0.0138 μs 2.973 μs 1.00 0.01 0.0343 0.0305 - 576 B 1.00
GetByteBufferStreamNaive 10 True 3.231 μs 0.0149 μs 0.0132 μs 3.233 μs 1.09 0.01 0.0610 0.0572 - 1056 B 1.83
GetByteBufferStreamChunked 10 True 3.326 μs 0.0235 μs 0.0220 μs 3.330 μs 1.12 0.01 0.2861 0.2823 - 4792 B 8.32
GetByteBufferDirectSpan 10 True 2.029 μs 0.0159 μs 0.0149 μs 2.029 μs 0.68 0.01 0.0229 0.0191 - 400 B 0.69
GetByteBufferToArray 100 False 3.065 μs 0.0097 μs 0.0086 μs 3.065 μs 1.00 0.00 0.0381 0.0343 - 664 B 1.00
GetByteBufferStreamNaive 100 False 3.108 μs 0.0314 μs 0.0278 μs 3.105 μs 1.01 0.01 0.0648 0.0610 - 1144 B 1.72
GetByteBufferStreamChunked 100 False 3.314 μs 0.0203 μs 0.0190 μs 3.319 μs 1.08 0.01 0.2861 0.2823 - 4792 B 7.22
GetByteBufferDirectSpan 100 False 2.033 μs 0.0149 μs 0.0140 μs 2.033 μs 0.66 0.00 0.0229 0.0191 - 400 B 0.60
GetByteBufferToArray 100 True 3.022 μs 0.0205 μs 0.0192 μs 3.017 μs 1.00 0.01 0.0381 0.0343 - 664 B 1.00
GetByteBufferStreamNaive 100 True 3.163 μs 0.0199 μs 0.0187 μs 3.157 μs 1.05 0.01 0.0648 0.0610 - 1144 B 1.72
GetByteBufferStreamChunked 100 True 3.383 μs 0.0266 μs 0.0249 μs 3.382 μs 1.12 0.01 0.2861 0.2823 - 4792 B 7.22
GetByteBufferDirectSpan 100 True 1.999 μs 0.0119 μs 0.0106 μs 2.001 μs 0.66 0.01 0.0229 0.0191 - 400 B 0.60
GetByteBufferToArray 1024 False 3.212 μs 0.0261 μs 0.0231 μs 3.208 μs 1.00 0.01 0.0916 0.0877 - 1584 B 1.00
GetByteBufferStreamNaive 1024 False 3.483 μs 0.0286 μs 0.0254 μs 3.481 μs 1.08 0.01 0.1678 0.1640 - 2832 B 1.79
GetByteBufferStreamChunked 1024 False 3.487 μs 0.0299 μs 0.0265 μs 3.480 μs 1.09 0.01 0.2861 0.2823 - 4792 B 3.03
GetByteBufferDirectSpan 1024 False 2.087 μs 0.0148 μs 0.0138 μs 2.089 μs 0.65 0.01 0.0229 0.0191 - 400 B 0.25
GetByteBufferToArray 1024 True 3.271 μs 0.0186 μs 0.0174 μs 3.268 μs 1.00 0.01 0.0916 0.0877 - 1584 B 1.00
GetByteBufferStreamNaive 1024 True 3.599 μs 0.0545 μs 0.0483 μs 3.604 μs 1.10 0.02 0.1678 0.1640 - 2832 B 1.79
GetByteBufferStreamChunked 1024 True 3.380 μs 0.0203 μs 0.0190 μs 3.388 μs 1.03 0.01 0.2861 0.2823 - 4792 B 3.03
GetByteBufferDirectSpan 1024 True 2.081 μs 0.0145 μs 0.0135 μs 2.082 μs 0.64 0.01 0.0229 0.0191 - 400 B 0.25
GetByteBufferToArray 10240 False 4.480 μs 0.0261 μs 0.0232 μs 4.475 μs 1.00 0.01 0.6409 0.6332 - 10800 B 1.00
GetByteBufferStreamNaive 10240 False 5.436 μs 0.0416 μs 0.0389 μs 5.447 μs 1.21 0.01 1.2665 0.6256 - 21264 B 1.97
GetByteBufferStreamChunked 10240 False 4.145 μs 0.0330 μs 0.0309 μs 4.149 μs 0.93 0.01 0.2823 0.2747 - 4792 B 0.44
GetByteBufferDirectSpan 10240 False 2.581 μs 0.0190 μs 0.0168 μs 2.580 μs 0.58 0.00 0.0229 0.0191 - 400 B 0.04
GetByteBufferToArray 10240 True 4.530 μs 0.0313 μs 0.0293 μs 4.529 μs 1.00 0.01 0.6409 0.6332 - 10800 B 1.00
GetByteBufferStreamNaive 10240 True 5.493 μs 0.0375 μs 0.0313 μs 5.490 μs 1.21 0.01 1.2665 0.6256 - 21264 B 1.97
GetByteBufferStreamChunked 10240 True 4.123 μs 0.0303 μs 0.0284 μs 4.125 μs 0.91 0.01 0.2823 0.2747 - 4792 B 0.44
GetByteBufferDirectSpan 10240 True 2.514 μs 0.0172 μs 0.0152 μs 2.512 μs 0.56 0.00 0.0229 0.0191 - 400 B 0.04
GetByteBufferToArray 102400 False 76.176 μs 0.3158 μs 0.2800 μs 76.193 μs 1.00 0.01 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 False 97.007 μs 0.3422 μs 0.3034 μs 96.990 μs 1.27 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 False 12.814 μs 0.0914 μs 0.0855 μs 12.820 μs 0.17 0.00 0.2747 0.2594 - 4792 B 0.047
GetByteBufferDirectSpan 102400 False 6.944 μs 0.0644 μs 0.0602 μs 6.951 μs 0.09 0.00 0.0229 0.0153 - 400 B 0.004
GetByteBufferToArray 102400 True 75.344 μs 0.2722 μs 0.2273 μs 75.379 μs 1.00 0.00 32.2266 32.2266 32.2266 102982 B 1.000
GetByteBufferStreamNaive 102400 True 95.847 μs 0.4285 μs 0.4008 μs 95.947 μs 1.27 0.01 64.4531 64.4531 64.4531 205627 B 1.997
GetByteBufferStreamChunked 102400 True 12.536 μs 0.0358 μs 0.0279 μs 12.536 μs 0.17 0.00 0.2747 0.2594 - 4792 B 0.047
GetByteBufferDirectSpan 102400 True 7.211 μs 0.0767 μs 0.0717 μs 7.201 μs 0.10 0.00 0.0229 0.0153 - 400 B 0.004
GetByteBufferToArray 1048576 False 265.729 μs 8.7223 μs 25.3051 μs 261.480 μs 1.01 0.13 200.6836 200.6836 200.6836 1050096 B 1.000
GetByteBufferStreamNaive 1048576 False 598.172 μs 11.0666 μs 17.5528 μs 597.272 μs 2.27 0.22 551.7578 551.7578 551.7578 3016184 B 2.872
GetByteBufferStreamChunked 1048576 False 93.827 μs 0.7619 μs 0.7127 μs 94.055 μs 0.36 0.03 0.2441 0.1221 - 4792 B 0.005
GetByteBufferDirectSpan 1048576 False 59.073 μs 0.7454 μs 0.6972 μs 59.298 μs 0.22 0.02 - - - 400 B 0.000
GetByteBufferToArray 1048576 True 294.028 μs 10.7948 μs 31.4891 μs 289.181 μs 1.01 0.15 205.5664 205.5664 205.5664 1049847 B 1.000
GetByteBufferStreamNaive 1048576 True 621.244 μs 12.3817 μs 23.8553 μs 620.288 μs 2.14 0.23 567.3828 567.3828 567.3828 3016527 B 2.873
GetByteBufferStreamChunked 1048576 True 95.674 μs 0.5379 μs 0.5032 μs 95.728 μs 0.33 0.03 0.2441 0.1221 - 4792 B 0.005
GetByteBufferDirectSpan 1048576 True 72.168 μs 2.5371 μs 7.4806 μs 75.670 μs 0.25 0.04 - - - 400 B 0.000
GetByteBufferToArray 10485760 False 2,460.639 μs 18.4539 μs 16.3589 μs 2,456.445 μs 1.00 0.01 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 False 8,754.494 μs 59.7344 μs 52.9530 μs 8,758.181 μs 3.56 0.03 718.7500 718.7500 718.7500 43910545 B 4.187
GetByteBufferStreamChunked 10485760 False 1,078.537 μs 13.7035 μs 11.4431 μs 1,082.356 μs 0.44 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 False 748.360 μs 10.2634 μs 9.6004 μs 748.693 μs 0.30 0.00 - - - 400 B 0.000
GetByteBufferToArray 10485760 True 2,500.446 μs 48.3078 μs 57.5070 μs 2,469.449 μs 1.00 0.03 332.0313 332.0313 332.0313 10486535 B 1.000
GetByteBufferStreamNaive 10485760 True 8,650.142 μs 77.7387 μs 72.7168 μs 8,672.283 μs 3.46 0.08 718.7500 718.7500 718.7500 43910545 B 4.187
GetByteBufferStreamChunked 10485760 True 1,006.848 μs 17.7041 μs 15.6942 μs 1,005.173 μs 0.40 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 10485760 True 803.543 μs 15.1150 μs 17.4064 μs 800.569 μs 0.32 0.01 - - - 400 B 0.000
GetByteBufferToArray 104857600 False 47,142.669 μs 326.2192 μs 272.4078 μs 47,073.418 μs 1.00 0.01 272.7273 272.7273 272.7273 104858341 B 1.000
GetByteBufferStreamNaive 104857600 False 48,764.997 μs 501.3782 μs 468.9895 μs 48,881.369 μs 1.03 0.01 545.4545 545.4545 545.4545 373163368 B 3.559
GetByteBufferStreamChunked 104857600 False 16,828.465 μs 154.0999 μs 128.6804 μs 16,811.971 μs 0.36 0.00 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 False 12,671.595 μs 103.5829 μs 96.8915 μs 12,668.523 μs 0.27 0.00 - - - 400 B 0.000
GetByteBufferToArray 104857600 True 47,376.791 μs 810.4178 μs 758.0653 μs 47,487.510 μs 1.00 0.02 272.7273 272.7273 272.7273 104858341 B 1.000
GetByteBufferStreamNaive 104857600 True 48,773.287 μs 490.5868 μs 434.8924 μs 48,849.396 μs 1.03 0.02 545.4545 545.4545 545.4545 373163368 B 3.559
GetByteBufferStreamChunked 104857600 True 16,648.230 μs 153.6661 μs 136.2210 μs 16,657.085 μs 0.35 0.01 - - - 4792 B 0.000
GetByteBufferDirectSpan 104857600 True 12,613.480 μs 78.1159 μs 73.0696 μs 12,598.583 μs 0.27 0.00 - - - 400 B 0.000

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 561.5 ns 0.87 ns 0.77 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,941.0 ns 18.69 ns 17.48 ns 12.36 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,162.7 ns 2.29 ns 1.91 ns 2.07 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,161.4 ns 1.61 ns 1.26 ns 2.07 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,913.9 ns 11.22 ns 9.37 ns 15.88 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 548.1 ns 0.65 ns 0.57 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 554,020.1 ns 1,401.14 ns 1,310.63 ns 1,010.71 2.53 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,879.2 ns 9.31 ns 8.71 ns 3.43 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,890.0 ns 14.79 ns 13.83 ns 3.45 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 743,705.9 ns 1,591.12 ns 1,488.34 ns 1,356.76 2.96 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 564.9 ns 1.07 ns 1.00 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,331,532.8 ns 451,428.36 ns 422,266.37 ns 103,258.81 745.03 250.0000 125.0000 125.0000 16000873 B 51,284.85
InvokeIntArrayFixed 100000 60,726.9 ns 433.44 ns 405.44 ns 107.50 0.72 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,501.8 ns 543.38 ns 508.28 ns 107.10 0.89 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,128,574.4 ns 372,541.64 ns 290,856.01 ns 148,924.88 556.24 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.064 μs 0.0071 μs 0.0063 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.064 μs 0.0010 μs 0.0008 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.060 μs 0.0016 μs 0.0012 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 90.80 ns 0.055 ns 0.051 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 114.33 ns 0.029 ns 0.026 ns 1.26 0.0004 24 B 1.00
GetInstanceStringField 110.05 ns 0.145 ns 0.121 ns 1.21 - - 0.00
SetInstanceStringField 669.46 ns 0.894 ns 0.792 ns 7.37 0.0038 256 B 10.67
GetStaticIntField 111.96 ns 0.142 ns 0.133 ns 1.23 0.0004 24 B 1.00
SetStaticIntField 117.41 ns 0.029 ns 0.026 ns 1.29 0.0002 24 B 1.00
GetStaticStringField 107.62 ns 0.017 ns 0.015 ns 1.19 - - 0.00
SetStaticStringField 672.83 ns 1.509 ns 1.337 ns 7.41 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 100.02 ns 0.075 ns 0.070 ns 1.10 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 383.1 ns 0.67 ns 0.62 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 390.9 ns 0.14 ns 0.12 ns 1.02 - - NA
InvokeStaticWithFeedback 533.5 ns 0.21 ns 0.18 ns 1.39 0.0038 312 B NA
InvokeInstanceEmpty 396.0 ns 0.31 ns 0.29 ns 1.03 - - NA
InvokeInstanceWithFeedback 560.5 ns 0.95 ns 0.88 ns 1.46 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.293 μs 0.0028 μs 0.0025 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,947.2 ns 5.38 ns 5.03 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 593.4 ns 0.50 ns 0.45 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 61,715.5 ns 158.20 ns 132.10 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 588.5 ns 0.52 ns 0.46 ns 0.010 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,668,716.6 ns 24,493.81 ns 20,453.44 ns 1.000 62.5000 62.5000 62.5000 2400747 B 1.000
InvokeSingleStringPreallocated 100000 598.4 ns 0.34 ns 0.30 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,074.7 ns 7.16 ns 6.70 ns - 104 B
PredicateRoundTrip False False True 1,087.3 ns 6.51 ns 6.09 ns - 104 B
PredicateRoundTrip False True False 1,327.1 ns 5.15 ns 4.56 ns 0.0019 200 B
PredicateRoundTrip False True True 5,753.7 ns 49.82 ns 46.61 ns 0.0076 760 B
PredicateRoundTrip True False False 476.2 ns 0.61 ns 0.51 ns - 24 B
PredicateRoundTrip True False True 476.7 ns 0.44 ns 0.36 ns - 24 B
PredicateRoundTrip True True False 696.1 ns 1.22 ns 1.08 ns 0.0010 120 B
PredicateRoundTrip True True True 4,194.8 ns 19.01 ns 17.79 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 609.84 ns 1.145 ns 1.071 ns 0.0011 80 B
PredicateSustained False False True 608.98 ns 1.776 ns 1.574 ns 0.0011 80 B
PredicateSustained False True False 809.07 ns 2.148 ns 1.677 ns 0.0014 176 B
PredicateSustained False True True 4,298.58 ns 17.135 ns 16.028 ns 0.0100 736 B
PredicateSustained True False False 51.25 ns 0.968 ns 0.905 ns - -
PredicateSustained True False True 50.67 ns 0.637 ns 0.596 ns - -
PredicateSustained True True False 272.15 ns 0.356 ns 0.315 ns 0.0013 96 B
PredicateSustained True True True 3,500.42 ns 8.752 ns 7.759 ns - 656 B

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 577.4 ns 0.63 ns 0.56 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,362.5 ns 20.10 ns 18.81 ns 12.75 0.03 0.0153 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,159.4 ns 2.03 ns 1.80 ns 2.01 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,181.4 ns 2.48 ns 2.20 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,595.5 ns 28.09 ns 26.27 ns 16.62 0.05 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 578.9 ns 0.48 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 560,539.6 ns 1,472.13 ns 1,377.03 ns 968.22 2.41 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,914.9 ns 7.03 ns 6.23 ns 3.31 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,870.7 ns 6.09 ns 5.39 ns 3.23 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 753,823.5 ns 1,457.09 ns 1,216.74 ns 1,302.08 2.23 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 575.9 ns 0.83 ns 0.73 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,919,294.4 ns 201,959.74 ns 188,913.27 ns 102,304.46 341.59 250.0000 125.0000 125.0000 16000509 B 51,283.68
InvokeIntArrayFixed 100000 61,369.6 ns 294.18 ns 260.79 ns 106.56 0.46 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,191.6 ns 368.60 ns 344.79 ns 106.25 0.59 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,690,709.5 ns 1,132,623.43 ns 1,059,456.66 ns 147,052.63 1,790.58 1000.0000 833.3333 833.3333 27896893 B 89,413.12

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.096 μs 0.0108 μs 0.0101 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.090 μs 0.0078 μs 0.0069 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.096 μs 0.0010 μs 0.0008 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 90.05 ns 0.024 ns 0.021 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 112.88 ns 0.161 ns 0.151 ns 1.25 0.0004 24 B 1.00
GetInstanceStringField 103.26 ns 0.125 ns 0.117 ns 1.15 - - 0.00
SetInstanceStringField 677.00 ns 1.085 ns 0.962 ns 7.52 0.0038 256 B 10.67
GetStaticIntField 106.25 ns 0.171 ns 0.160 ns 1.18 0.0004 24 B 1.00
SetStaticIntField 107.17 ns 0.125 ns 0.104 ns 1.19 0.0004 24 B 1.00
GetStaticStringField 95.53 ns 0.020 ns 0.018 ns 1.06 - - 0.00
SetStaticStringField 688.53 ns 1.135 ns 1.006 ns 7.65 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 100.03 ns 0.060 ns 0.053 ns 1.11 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 312.2 ns 0.13 ns 0.12 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 312.9 ns 0.17 ns 0.15 ns 1.00 - - NA
InvokeStaticWithFeedback 576.2 ns 0.44 ns 0.39 ns 1.85 0.0038 312 B NA
InvokeInstanceEmpty 325.2 ns 0.25 ns 0.22 ns 1.04 - - NA
InvokeInstanceWithFeedback 573.0 ns 0.63 ns 0.56 ns 1.84 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.386 μs 0.0058 μs 0.0045 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,955.0 ns 3.63 ns 3.22 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 606.4 ns 0.45 ns 0.40 ns 0.31 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 58,346.4 ns 200.46 ns 187.51 ns 1.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 593.7 ns 0.32 ns 0.28 ns 0.01 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,568,713.6 ns 88,690.48 ns 78,621.80 ns 1.000 62.5000 62.5000 62.5000 2400723 B 1.000
InvokeSingleStringPreallocated 100000 638.8 ns 1.08 ns 1.01 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,087.5 ns 9.87 ns 9.23 ns - 104 B
PredicateRoundTrip False False True 1,082.4 ns 6.35 ns 5.94 ns - 104 B
PredicateRoundTrip False True False 1,421.0 ns 12.92 ns 12.08 ns 0.0019 200 B
PredicateRoundTrip False True True 5,987.3 ns 90.68 ns 84.82 ns 0.0076 760 B
PredicateRoundTrip True False False 472.5 ns 5.24 ns 4.90 ns - 24 B
PredicateRoundTrip True False True 468.2 ns 0.80 ns 0.63 ns - 24 B
PredicateRoundTrip True True False 706.0 ns 2.36 ns 1.97 ns 0.0010 120 B
PredicateRoundTrip True True True 5,397.2 ns 51.05 ns 47.75 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 598.64 ns 0.422 ns 0.353 ns 0.0011 80 B
PredicateSustained False False True 601.63 ns 1.223 ns 1.084 ns 0.0011 80 B
PredicateSustained False True False 814.96 ns 7.790 ns 7.286 ns 0.0014 176 B
PredicateSustained False True True 5,781.53 ns 87.891 ns 82.213 ns 0.0100 736 B
PredicateSustained True False False 44.53 ns 0.864 ns 0.849 ns - -
PredicateSustained True False True 43.37 ns 0.539 ns 0.504 ns - -
PredicateSustained True True False 254.94 ns 0.274 ns 0.257 ns 0.0013 96 B
PredicateSustained True True True 4,007.17 ns 59.424 ns 55.585 ns - 656 B

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 552.0 ns 0.81 ns 0.71 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,268.0 ns 9.69 ns 8.09 ns 13.17 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,165.3 ns 1.40 ns 1.17 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,165.3 ns 2.10 ns 1.75 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,941.7 ns 18.03 ns 16.87 ns 16.20 0.04 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 551.2 ns 0.57 ns 0.51 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 566,263.7 ns 1,572.45 ns 1,470.87 ns 1,027.41 2.74 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,868.2 ns 6.60 ns 5.85 ns 3.39 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,886.2 ns 5.26 ns 4.92 ns 3.42 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 738,312.9 ns 689.31 ns 538.17 ns 1,339.56 1.52 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 563.4 ns 0.67 ns 0.53 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,951,460.8 ns 183,325.13 ns 171,482.44 ns 104,633.51 309.49 333.3333 222.2222 222.2222 16001886 B 51,288.10
InvokeIntArrayFixed 100000 60,937.5 ns 326.65 ns 272.77 ns 108.16 0.48 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,001.2 ns 299.10 ns 265.14 ns 108.27 0.47 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,362,916.3 ns 481,706.85 ns 402,247.03 ns 144,411.81 700.29 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.050 μs 0.0110 μs 0.0097 μs 1.00 0.01 0.0038 360 B 1.00
NewWithSignature 1.070 μs 0.0105 μs 0.0093 μs 1.02 0.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.066 μs 0.0151 μs 0.0141 μs 1.02 0.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.02 ns 0.033 ns 0.029 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 115.99 ns 0.058 ns 0.054 ns 1.23 0.0004 24 B 1.00
GetInstanceStringField 107.05 ns 0.037 ns 0.033 ns 1.14 - - 0.00
SetInstanceStringField 679.57 ns 1.063 ns 0.994 ns 7.23 0.0038 256 B 10.67
GetStaticIntField 107.05 ns 0.023 ns 0.019 ns 1.14 0.0004 24 B 1.00
SetStaticIntField 106.49 ns 0.039 ns 0.035 ns 1.13 0.0004 24 B 1.00
GetStaticStringField 95.97 ns 0.030 ns 0.029 ns 1.02 - - 0.00
SetStaticStringField 681.17 ns 0.885 ns 0.739 ns 7.24 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 103.67 ns 0.053 ns 0.047 ns 1.10 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 309.0 ns 0.17 ns 0.16 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 323.1 ns 0.15 ns 0.13 ns 1.05 - - NA
InvokeStaticWithFeedback 552.3 ns 0.28 ns 0.24 ns 1.79 0.0038 312 B NA
InvokeInstanceEmpty 328.1 ns 0.15 ns 0.13 ns 1.06 - - NA
InvokeInstanceWithFeedback 556.9 ns 0.21 ns 0.19 ns 1.80 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.326 μs 0.0019 μs 0.0016 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,936.7 ns 29.99 ns 28.05 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 581.6 ns 0.19 ns 0.17 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,155.8 ns 352.98 ns 330.18 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 591.8 ns 0.40 ns 0.33 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,525,943.0 ns 45,109.04 ns 37,668.09 ns 1.000 0.01 62.5000 62.5000 62.5000 2400740 B 1.000
InvokeSingleStringPreallocated 100000 620.9 ns 0.46 ns 0.41 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,062.5 ns 7.18 ns 6.37 ns - 104 B
PredicateRoundTrip False False True 1,064.0 ns 6.10 ns 5.71 ns - 104 B
PredicateRoundTrip False True False 1,307.3 ns 9.96 ns 9.31 ns 0.0019 200 B
PredicateRoundTrip False True True 5,139.5 ns 16.99 ns 15.06 ns 0.0076 760 B
PredicateRoundTrip True False False 456.2 ns 2.13 ns 2.00 ns - 24 B
PredicateRoundTrip True False True 461.7 ns 1.88 ns 1.47 ns - 24 B
PredicateRoundTrip True True False 692.5 ns 2.35 ns 2.20 ns 0.0010 120 B
PredicateRoundTrip True True True 4,194.5 ns 24.95 ns 23.34 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 582.19 ns 0.594 ns 0.527 ns 0.0011 80 B
PredicateSustained False False True 580.25 ns 1.204 ns 1.126 ns 0.0011 80 B
PredicateSustained False True False 800.35 ns 7.531 ns 7.045 ns 0.0014 176 B
PredicateSustained False True True 4,691.03 ns 73.637 ns 68.881 ns 0.0100 736 B
PredicateSustained True False False 46.91 ns 0.967 ns 1.114 ns - -
PredicateSustained True False True 45.06 ns 0.698 ns 0.653 ns - -
PredicateSustained True True False 259.54 ns 0.533 ns 0.472 ns 0.0013 96 B
PredicateSustained True True True 3,405.17 ns 20.647 ns 17.241 ns - 656 B

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 569.4 ns 0.58 ns 0.49 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,228.1 ns 18.84 ns 16.70 ns 12.69 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,169.8 ns 1.89 ns 1.76 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,146.7 ns 1.12 ns 0.94 ns 2.01 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,526.0 ns 46.36 ns 43.36 ns 16.73 0.08 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 564.8 ns 0.47 ns 0.42 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 552,398.1 ns 1,256.63 ns 1,175.45 ns 977.99 2.13 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,894.8 ns 3.12 ns 2.60 ns 3.35 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,871.4 ns 3.19 ns 2.83 ns 3.31 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 730,458.2 ns 1,031.58 ns 805.39 ns 1,293.23 1.65 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 563.1 ns 0.49 ns 0.41 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,491,181.4 ns 197,299.52 ns 174,900.89 ns 103,871.41 308.66 333.3333 222.2222 222.2222 16002164 B 51,288.99
InvokeIntArrayFixed 100000 59,504.0 ns 113.45 ns 100.57 ns 105.67 0.19 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 59,616.3 ns 160.48 ns 142.26 ns 105.87 0.25 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,126,944.8 ns 507,260.87 ns 474,492.13 ns 147,620.76 822.55 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.078 μs 0.0096 μs 0.0090 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.081 μs 0.0063 μs 0.0056 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.064 μs 0.0071 μs 0.0067 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.85 ns 0.022 ns 0.020 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 119.19 ns 0.056 ns 0.050 ns 1.27 0.0002 24 B 1.00
GetInstanceStringField 112.18 ns 0.016 ns 0.015 ns 1.20 - - 0.00
SetInstanceStringField 672.30 ns 1.106 ns 0.981 ns 7.16 0.0038 256 B 10.67
GetStaticIntField 108.87 ns 0.033 ns 0.028 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 112.02 ns 0.035 ns 0.031 ns 1.19 0.0004 24 B 1.00
GetStaticStringField 101.16 ns 0.053 ns 0.049 ns 1.08 - - 0.00
SetStaticStringField 667.31 ns 0.920 ns 0.861 ns 7.11 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 106.28 ns 0.067 ns 0.060 ns 1.13 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 312.9 ns 0.15 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 318.4 ns 0.20 ns 0.19 ns 1.02 - - NA
InvokeStaticWithFeedback 556.4 ns 0.19 ns 0.16 ns 1.78 0.0038 312 B NA
InvokeInstanceEmpty 329.6 ns 0.19 ns 0.16 ns 1.05 - - NA
InvokeInstanceWithFeedback 575.1 ns 0.39 ns 0.34 ns 1.84 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.469 μs 0.0227 μs 0.0212 μs 1.00 0.02 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,996.4 ns 18.13 ns 16.96 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 602.8 ns 0.26 ns 0.22 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 64,535.2 ns 264.34 ns 247.26 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 599.9 ns 0.38 ns 0.32 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,422,477.8 ns 74,257.32 ns 65,827.18 ns 1.000 62.5000 62.5000 62.5000 2400723 B 1.000
InvokeSingleStringPreallocated 100000 637.0 ns 0.56 ns 0.50 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,059.3 ns 9.46 ns 8.85 ns - 104 B
PredicateRoundTrip False False True 1,073.7 ns 6.68 ns 6.25 ns - 104 B
PredicateRoundTrip False True False 1,405.8 ns 12.93 ns 12.09 ns 0.0019 200 B
PredicateRoundTrip False True True 7,057.8 ns 59.61 ns 105.95 ns - 760 B
PredicateRoundTrip True False False 469.5 ns 1.21 ns 0.94 ns - 24 B
PredicateRoundTrip True False True 487.7 ns 3.85 ns 3.41 ns - 24 B
PredicateRoundTrip True True False 709.9 ns 1.41 ns 1.10 ns 0.0010 120 B
PredicateRoundTrip True True True 5,370.8 ns 98.20 ns 82.00 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 585.07 ns 3.011 ns 2.816 ns 0.0011 80 B
PredicateSustained False False True 586.56 ns 2.490 ns 2.079 ns 0.0011 80 B
PredicateSustained False True False 794.73 ns 5.924 ns 5.542 ns 0.0014 176 B
PredicateSustained False True True 4,491.30 ns 39.976 ns 49.094 ns 0.0100 736 B
PredicateSustained True False False 42.23 ns 0.109 ns 0.102 ns - -
PredicateSustained True False True 41.87 ns 0.130 ns 0.116 ns - -
PredicateSustained True True False 255.67 ns 0.310 ns 0.290 ns 0.0013 96 B
PredicateSustained True True True 4,648.66 ns 92.863 ns 72.501 ns - 656 B

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 557.8 ns 0.61 ns 0.54 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,890.6 ns 7.21 ns 6.02 ns 12.35 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,152.1 ns 1.18 ns 1.05 ns 2.07 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,162.6 ns 1.48 ns 1.31 ns 2.08 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,888.9 ns 17.46 ns 16.33 ns 15.93 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 574.7 ns 0.17 ns 0.14 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 551,349.5 ns 990.81 ns 926.81 ns 959.36 1.58 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,771.2 ns 10.45 ns 9.26 ns 3.08 0.02 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,755.8 ns 13.20 ns 12.34 ns 3.06 0.02 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 728,808.6 ns 435.14 ns 385.74 ns 1,268.14 0.72 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 563.4 ns 0.35 ns 0.31 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,470,074.4 ns 206,944.16 ns 193,575.70 ns 102,002.07 337.12 333.3333 222.2222 222.2222 16001273 B 51,286.13
InvokeIntArrayFixed 100000 45,399.8 ns 572.31 ns 507.34 ns 80.58 0.87 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 45,936.4 ns 400.85 ns 374.96 ns 81.53 0.65 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,678,086.7 ns 847,995.08 ns 793,215.12 ns 146,743.09 1,365.61 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.076 μs 0.0088 μs 0.0082 μs 1.072 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.087 μs 0.0107 μs 0.0100 μs 1.080 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.091 μs 0.0107 μs 0.0100 μs 1.083 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 92.90 ns 0.014 ns 0.012 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 110.68 ns 0.029 ns 0.025 ns 1.19 0.0004 24 B 1.00
GetInstanceStringField 99.15 ns 0.018 ns 0.016 ns 1.07 - - 0.00
SetInstanceStringField 685.64 ns 0.422 ns 0.374 ns 7.38 0.0038 256 B 10.67
GetStaticIntField 107.76 ns 0.077 ns 0.069 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 106.69 ns 0.032 ns 0.028 ns 1.15 0.0004 24 B 1.00
GetStaticStringField 95.50 ns 0.020 ns 0.017 ns 1.03 - - 0.00
SetStaticStringField 680.98 ns 0.378 ns 0.296 ns 7.33 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 106.50 ns 0.052 ns 0.046 ns 1.15 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.4 ns 0.15 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 311.7 ns 0.16 ns 0.15 ns 1.02 - - NA
InvokeStaticWithFeedback 565.3 ns 0.75 ns 0.67 ns 1.85 0.0038 312 B NA
InvokeInstanceEmpty 318.7 ns 0.16 ns 0.13 ns 1.04 - - NA
InvokeInstanceWithFeedback 566.0 ns 0.45 ns 0.40 ns 1.85 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.326 μs 0.0036 μs 0.0033 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,925.7 ns 21.70 ns 20.30 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 591.6 ns 0.27 ns 0.24 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,099.3 ns 65.33 ns 54.55 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 586.6 ns 0.30 ns 0.24 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,514,266.2 ns 146,381.52 ns 185,125.77 ns 1.001 0.03 62.5000 62.5000 62.5000 2400859 B 1.000
InvokeSingleStringPreallocated 100000 622.3 ns 0.70 ns 0.62 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,072.0 ns 8.26 ns 7.73 ns - 104 B
PredicateRoundTrip False False True 1,061.2 ns 5.66 ns 5.29 ns - 104 B
PredicateRoundTrip False True False 1,316.5 ns 7.71 ns 6.83 ns 0.0019 200 B
PredicateRoundTrip False True True 5,354.8 ns 35.95 ns 33.63 ns 0.0076 760 B
PredicateRoundTrip True False False 474.2 ns 4.32 ns 3.83 ns - 24 B
PredicateRoundTrip True False True 474.4 ns 0.40 ns 0.31 ns - 24 B
PredicateRoundTrip True True False 692.8 ns 0.48 ns 0.38 ns 0.0010 120 B
PredicateRoundTrip True True True 4,416.9 ns 29.74 ns 27.82 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 588.80 ns 1.623 ns 1.438 ns 0.0011 80 B
PredicateSustained False False True 593.61 ns 2.638 ns 2.468 ns 0.0011 80 B
PredicateSustained False True False 806.70 ns 5.722 ns 5.352 ns 0.0014 176 B
PredicateSustained False True True 4,243.78 ns 21.989 ns 19.492 ns 0.0100 736 B
PredicateSustained True False False 43.45 ns 0.024 ns 0.022 ns - -
PredicateSustained True False True 43.32 ns 0.030 ns 0.028 ns - -
PredicateSustained True True False 261.14 ns 0.266 ns 0.236 ns 0.0013 96 B
PredicateSustained True True True 3,768.15 ns 27.564 ns 25.783 ns - 656 B

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 552.0 ns 0.54 ns 0.48 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,002.4 ns 9.18 ns 8.14 ns 12.69 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,152.4 ns 0.81 ns 0.63 ns 2.09 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,164.8 ns 1.95 ns 1.73 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,716.0 ns 21.39 ns 20.01 ns 15.79 0.04 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 551.0 ns 0.67 ns 0.59 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 556,300.1 ns 1,119.85 ns 1,047.51 ns 1,009.54 2.12 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,747.0 ns 3.51 ns 2.93 ns 3.17 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,742.5 ns 7.50 ns 7.02 ns 3.16 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 725,101.8 ns 2,122.87 ns 1,772.69 ns 1,315.87 3.39 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 545.8 ns 0.31 ns 0.26 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,219,837.4 ns 208,275.72 ns 194,821.24 ns 106,666.42 349.23 333.3333 222.2222 222.2222 16001116 B 51,285.63
InvokeIntArrayFixed 100000 45,739.9 ns 241.09 ns 188.23 ns 83.80 0.33 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 45,909.8 ns 376.25 ns 351.95 ns 84.11 0.63 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 79,911,524.7 ns 540,287.72 ns 421,821.11 ns 146,408.45 745.40 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.093 μs 0.0135 μs 0.0126 μs 1.00 0.02 0.0038 360 B 1.00
NewWithSignature 1.069 μs 0.0043 μs 0.0034 μs 0.98 0.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.071 μs 0.0125 μs 0.0117 μs 0.98 0.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.36 ns 0.040 ns 0.036 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 111.41 ns 0.013 ns 0.011 ns 1.19 0.0004 24 B 1.00
GetInstanceStringField 102.23 ns 0.045 ns 0.042 ns 1.10 - - 0.00
SetInstanceStringField 674.37 ns 0.850 ns 0.795 ns 7.22 0.0038 256 B 10.67
GetStaticIntField 108.42 ns 0.042 ns 0.035 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 107.33 ns 0.021 ns 0.018 ns 1.15 0.0004 24 B 1.00
GetStaticStringField 100.14 ns 0.010 ns 0.010 ns 1.07 - - 0.00
SetStaticStringField 673.94 ns 1.070 ns 1.001 ns 7.22 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 103.76 ns 0.043 ns 0.038 ns 1.11 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 308.0 ns 0.14 ns 0.13 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 312.5 ns 0.32 ns 0.30 ns 1.01 - - NA
InvokeStaticWithFeedback 527.3 ns 0.22 ns 0.19 ns 1.71 0.0038 312 B NA
InvokeInstanceEmpty 335.4 ns 0.21 ns 0.19 ns 1.09 - - NA
InvokeInstanceWithFeedback 565.4 ns 0.51 ns 0.46 ns 1.84 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.379 μs 0.0049 μs 0.0045 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,948.9 ns 21.75 ns 20.35 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 579.4 ns 0.29 ns 0.26 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 59,032.7 ns 234.64 ns 219.48 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 576.4 ns 0.28 ns 0.25 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,662,650.0 ns 150,317.99 ns 140,607.54 ns 1.000 0.03 62.5000 62.5000 62.5000 2400834 B 1.000
InvokeSingleStringPreallocated 100000 622.2 ns 0.28 ns 0.25 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,061.7 ns 11.19 ns 10.46 ns - 104 B
PredicateRoundTrip False False True 1,057.8 ns 10.02 ns 9.37 ns - 104 B
PredicateRoundTrip False True False 1,295.0 ns 10.48 ns 9.80 ns 0.0019 200 B
PredicateRoundTrip False True True 4,734.1 ns 16.87 ns 15.78 ns 0.0076 760 B
PredicateRoundTrip True False False 458.7 ns 0.43 ns 0.38 ns - 24 B
PredicateRoundTrip True False True 450.1 ns 5.56 ns 5.20 ns - 24 B
PredicateRoundTrip True True False 694.3 ns 1.27 ns 0.99 ns 0.0010 120 B
PredicateRoundTrip True True True 4,131.5 ns 17.52 ns 16.39 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 582.99 ns 0.357 ns 0.298 ns 0.0011 80 B
PredicateSustained False False True 581.65 ns 1.851 ns 1.731 ns 0.0011 80 B
PredicateSustained False True False 795.60 ns 1.461 ns 1.140 ns 0.0014 176 B
PredicateSustained False True True 4,358.17 ns 26.351 ns 24.649 ns 0.0100 736 B
PredicateSustained True False False 44.27 ns 0.884 ns 0.946 ns - -
PredicateSustained True False True 43.89 ns 0.366 ns 0.342 ns - -
PredicateSustained True True False 259.16 ns 0.433 ns 0.405 ns 0.0013 96 B
PredicateSustained True True True 3,416.30 ns 10.077 ns 9.426 ns - 656 B

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 557.5 ns 1.27 ns 1.19 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,226.2 ns 11.27 ns 9.99 ns 12.96 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,186.1 ns 1.80 ns 1.59 ns 2.13 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,200.6 ns 5.33 ns 4.99 ns 2.15 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,205.9 ns 35.73 ns 33.42 ns 16.51 0.07 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 559.8 ns 0.59 ns 0.50 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 555,937.5 ns 1,181.41 ns 1,105.09 ns 993.04 2.09 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,747.8 ns 10.58 ns 8.83 ns 3.12 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,723.4 ns 10.51 ns 9.31 ns 3.08 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 732,665.3 ns 1,051.63 ns 821.04 ns 1,308.72 1.80 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 559.6 ns 0.48 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,086,497.1 ns 245,618.83 ns 217,734.70 ns 103,802.20 383.66 333.3333 222.2222 222.2222 16001353 B 51,286.39
InvokeIntArrayFixed 100000 46,155.7 ns 633.49 ns 592.56 ns 82.48 1.03 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 45,713.7 ns 320.02 ns 283.69 ns 81.69 0.49 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 80,485,982.1 ns 1,463,237.71 ns 1,368,713.46 ns 143,830.71 2,371.02 1000.0000 833.3333 833.3333 27894887 B 89,406.69

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.074 μs 0.0099 μs 0.0092 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.065 μs 0.0086 μs 0.0080 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.066 μs 0.0087 μs 0.0081 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.62 ns 0.034 ns 0.031 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 117.91 ns 0.048 ns 0.043 ns 1.25 0.0002 24 B 1.00
GetInstanceStringField 104.95 ns 0.013 ns 0.012 ns 1.11 - - 0.00
SetInstanceStringField 664.45 ns 1.017 ns 0.951 ns 7.02 0.0038 256 B 10.67
GetStaticIntField 108.81 ns 0.024 ns 0.020 ns 1.15 0.0004 24 B 1.00
SetStaticIntField 107.21 ns 0.071 ns 0.063 ns 1.13 0.0004 24 B 1.00
GetStaticStringField 99.94 ns 0.037 ns 0.034 ns 1.06 - - 0.00
SetStaticStringField 665.09 ns 1.239 ns 1.159 ns 7.03 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 110.82 ns 0.076 ns 0.071 ns 1.17 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 313.5 ns 0.15 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 317.8 ns 0.15 ns 0.14 ns 1.01 - - NA
InvokeStaticWithFeedback 552.8 ns 0.51 ns 0.43 ns 1.76 0.0038 312 B NA
InvokeInstanceEmpty 327.4 ns 0.29 ns 0.27 ns 1.04 - - NA
InvokeInstanceWithFeedback 555.2 ns 0.23 ns 0.21 ns 1.77 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.333 μs 0.0053 μs 0.0050 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,950.5 ns 24.39 ns 22.81 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 597.5 ns 0.26 ns 0.23 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,446.7 ns 242.38 ns 226.72 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 592.2 ns 0.56 ns 0.47 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,230,800.6 ns 141,987.93 ns 132,815.59 ns 1.000 0.03 62.5000 62.5000 62.5000 2400878 B 1.000
InvokeSingleStringPreallocated 100000 618.2 ns 0.43 ns 0.38 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,057.8 ns 1.37 ns 1.07 ns - 104 B
PredicateRoundTrip False False True 1,061.6 ns 7.98 ns 7.46 ns - 104 B
PredicateRoundTrip False True False 1,349.6 ns 22.09 ns 20.66 ns 0.0019 200 B
PredicateRoundTrip False True True 5,832.6 ns 66.34 ns 62.05 ns 0.0076 760 B
PredicateRoundTrip True False False 455.5 ns 0.35 ns 0.33 ns - 24 B
PredicateRoundTrip True False True 471.4 ns 1.41 ns 1.10 ns - 24 B
PredicateRoundTrip True True False 695.2 ns 4.90 ns 4.09 ns 0.0010 120 B
PredicateRoundTrip True True True 5,030.9 ns 52.55 ns 43.89 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 587.49 ns 1.084 ns 0.846 ns 0.0011 80 B
PredicateSustained False False True 586.89 ns 0.488 ns 0.381 ns 0.0011 80 B
PredicateSustained False True False 801.52 ns 5.763 ns 5.391 ns 0.0014 176 B
PredicateSustained False True True 4,426.04 ns 37.736 ns 41.944 ns 0.0100 736 B
PredicateSustained True False False 47.06 ns 0.020 ns 0.019 ns - -
PredicateSustained True False True 44.52 ns 0.358 ns 0.317 ns - -
PredicateSustained True True False 254.49 ns 0.468 ns 0.437 ns 0.0013 96 B
PredicateSustained True True True 3,545.17 ns 16.116 ns 17.913 ns - 656 B

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 539.8 ns 0.90 ns 0.79 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,134.6 ns 16.08 ns 15.04 ns 13.22 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,149.3 ns 0.97 ns 0.76 ns 2.13 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,147.7 ns 3.41 ns 3.19 ns 2.13 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,297.9 ns 17.32 ns 15.36 ns 17.22 0.04 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 536.4 ns 0.39 ns 0.35 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 555,748.2 ns 1,343.72 ns 1,256.91 ns 1,036.14 2.36 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,926.3 ns 7.21 ns 6.39 ns 3.59 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,891.0 ns 9.19 ns 8.60 ns 3.53 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 748,175.6 ns 1,092.75 ns 853.15 ns 1,394.90 1.76 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 543.9 ns 0.48 ns 0.40 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,670,890.8 ns 273,492.39 ns 255,824.95 ns 107,868.65 461.94 333.3333 222.2222 222.2222 16001853 B 51,287.99
InvokeIntArrayFixed 100000 61,008.6 ns 576.65 ns 539.40 ns 112.17 0.96 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,515.3 ns 438.76 ns 366.38 ns 111.26 0.65 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,596,404.4 ns 1,108,212.58 ns 1,036,622.74 ns 155,533.68 1,849.28 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.079 μs 0.0012 μs 0.0010 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.079 μs 0.0090 μs 0.0080 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.077 μs 0.0010 μs 0.0008 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 90.60 ns 0.033 ns 0.027 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 111.11 ns 0.030 ns 0.025 ns 1.23 0.00 0.0004 24 B 1.00
GetInstanceStringField 111.49 ns 0.035 ns 0.033 ns 1.23 0.00 - - 0.00
SetInstanceStringField 672.31 ns 1.561 ns 1.460 ns 7.42 0.02 0.0038 256 B 10.67
GetStaticIntField 117.18 ns 0.038 ns 0.034 ns 1.29 0.00 0.0002 24 B 1.00
SetStaticIntField 116.61 ns 0.044 ns 0.039 ns 1.29 0.00 0.0002 24 B 1.00
GetStaticStringField 106.50 ns 0.016 ns 0.013 ns 1.18 0.00 - - 0.00
SetStaticStringField 673.06 ns 1.717 ns 1.606 ns 7.43 0.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 104.75 ns 0.116 ns 0.109 ns 1.16 0.00 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 382.9 ns 0.27 ns 0.22 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 386.9 ns 0.16 ns 0.14 ns 1.01 - - NA
InvokeStaticWithFeedback 547.8 ns 0.65 ns 0.58 ns 1.43 0.0038 312 B NA
InvokeInstanceEmpty 386.6 ns 0.47 ns 0.44 ns 1.01 - - NA
InvokeInstanceWithFeedback 547.2 ns 0.20 ns 0.18 ns 1.43 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.301 μs 0.0043 μs 0.0040 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,955.9 ns 2.35 ns 1.96 ns 1.00 0.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 584.3 ns 0.74 ns 0.69 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 61,148.8 ns 199.23 ns 176.61 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 583.1 ns 0.34 ns 0.30 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,251,030.6 ns 143,413.17 ns 165,154.82 ns 1.001 0.03 62.5000 62.5000 62.5000 2400829 B 1.000
InvokeSingleStringPreallocated 100000 600.3 ns 0.47 ns 0.40 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,076.4 ns 7.36 ns 6.88 ns - 104 B
PredicateRoundTrip False False True 1,057.8 ns 5.77 ns 5.11 ns - 104 B
PredicateRoundTrip False True False 1,311.7 ns 8.60 ns 7.62 ns 0.0019 200 B
PredicateRoundTrip False True True 4,831.6 ns 13.52 ns 12.65 ns 0.0076 760 B
PredicateRoundTrip True False False 457.2 ns 0.14 ns 0.11 ns - 24 B
PredicateRoundTrip True False True 459.2 ns 0.72 ns 0.68 ns - 24 B
PredicateRoundTrip True True False 698.3 ns 0.49 ns 0.39 ns 0.0010 120 B
PredicateRoundTrip True True True 4,182.4 ns 14.43 ns 13.50 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 601.56 ns 1.530 ns 1.356 ns 0.0011 80 B
PredicateSustained False False True 595.98 ns 0.308 ns 0.273 ns 0.0011 80 B
PredicateSustained False True False 812.76 ns 0.650 ns 0.508 ns 0.0014 176 B
PredicateSustained False True True 4,212.41 ns 12.851 ns 12.021 ns 0.0100 736 B
PredicateSustained True False False 51.14 ns 0.677 ns 0.633 ns - -
PredicateSustained True False True 50.78 ns 0.887 ns 0.829 ns - -
PredicateSustained True True False 272.61 ns 0.476 ns 0.446 ns 0.0013 96 B
PredicateSustained True True True 3,551.13 ns 9.987 ns 8.853 ns - 656 B

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 552.7 ns 0.71 ns 0.63 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,821.5 ns 13.74 ns 12.18 ns 12.34 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,134.7 ns 1.23 ns 1.02 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,126.5 ns 1.26 ns 1.12 ns 2.04 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,323.6 ns 38.06 ns 35.60 ns 16.87 0.07 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 550.4 ns 0.40 ns 0.36 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 544,532.9 ns 1,435.84 ns 1,343.09 ns 989.26 2.44 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,848.2 ns 7.42 ns 6.94 ns 3.36 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,827.9 ns 4.56 ns 4.05 ns 3.32 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 737,315.5 ns 866.39 ns 676.42 ns 1,339.48 1.45 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 556.0 ns 0.51 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,430,470.7 ns 193,336.53 ns 180,847.11 ns 103,291.22 324.09 333.3333 222.2222 222.2222 16001348 B 51,286.37
InvokeIntArrayFixed 100000 60,295.2 ns 371.22 ns 347.24 ns 108.44 0.61 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,362.7 ns 480.66 ns 449.61 ns 108.56 0.79 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,112,626.0 ns 1,007,785.54 ns 942,683.22 ns 149,481.70 1,645.87 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.074 μs 0.0012 μs 0.0009 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.058 μs 0.0128 μs 0.0119 μs 0.98 0.0038 360 B 1.00
DeclaredNewEmpty 1.062 μs 0.0144 μs 0.0135 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 89.78 ns 0.030 ns 0.027 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 102.11 ns 0.069 ns 0.061 ns 1.14 0.0004 24 B 1.00
GetInstanceStringField 97.60 ns 0.014 ns 0.011 ns 1.09 - - 0.00
SetInstanceStringField 673.95 ns 1.109 ns 1.037 ns 7.51 0.0038 256 B 10.67
GetStaticIntField 99.16 ns 0.031 ns 0.026 ns 1.10 0.0004 24 B 1.00
SetStaticIntField 100.99 ns 0.018 ns 0.016 ns 1.12 0.0004 24 B 1.00
GetStaticStringField 89.99 ns 0.008 ns 0.007 ns 1.00 - - 0.00
SetStaticStringField 660.47 ns 1.171 ns 1.095 ns 7.36 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 98.60 ns 0.092 ns 0.082 ns 1.10 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 317.1 ns 0.14 ns 0.12 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 311.8 ns 0.22 ns 0.21 ns 0.98 - - NA
InvokeStaticWithFeedback 544.3 ns 0.43 ns 0.36 ns 1.72 0.0038 312 B NA
InvokeInstanceEmpty 316.8 ns 0.18 ns 0.17 ns 1.00 - - NA
InvokeInstanceWithFeedback 562.1 ns 0.37 ns 0.31 ns 1.77 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 2.843 μs 0.0496 μs 0.0463 μs 1.00 0.02 0.0076 680 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,902.5 ns 28.74 ns 26.88 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 578.5 ns 0.38 ns 0.34 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 57,269.1 ns 142.01 ns 118.58 ns 1.00 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 579.2 ns 0.20 ns 0.18 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,485,102.5 ns 110,869.99 ns 103,707.85 ns 1.000 0.02 62.5000 62.5000 62.5000 2400824 B 1.000
InvokeSingleStringPreallocated 100000 607.0 ns 0.23 ns 0.21 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,037.8 ns 8.51 ns 7.96 ns - 104 B
PredicateRoundTrip False False True 1,032.7 ns 9.18 ns 8.59 ns - 104 B
PredicateRoundTrip False True False 1,287.4 ns 5.49 ns 5.13 ns 0.0019 200 B
PredicateRoundTrip False True True 5,663.7 ns 54.01 ns 47.88 ns 0.0076 760 B
PredicateRoundTrip True False False 453.1 ns 0.84 ns 0.78 ns - 24 B
PredicateRoundTrip True False True 455.8 ns 0.49 ns 0.43 ns - 24 B
PredicateRoundTrip True True False 704.9 ns 2.09 ns 1.63 ns 0.0010 120 B
PredicateRoundTrip True True True 5,030.8 ns 44.17 ns 41.32 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 571.04 ns 1.950 ns 1.824 ns 0.0011 80 B
PredicateSustained False False True 567.91 ns 1.027 ns 0.911 ns 0.0011 80 B
PredicateSustained False True False 783.29 ns 5.572 ns 5.212 ns 0.0014 176 B
PredicateSustained False True True 4,270.91 ns 37.888 ns 35.440 ns 0.0100 736 B
PredicateSustained True False False 43.06 ns 0.792 ns 0.702 ns - -
PredicateSustained True False True 44.29 ns 0.837 ns 0.931 ns - -
PredicateSustained True True False 254.68 ns 0.336 ns 0.314 ns 0.0013 96 B
PredicateSustained True True True 3,472.25 ns 28.689 ns 26.836 ns - 656 B

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 546.8 ns 0.17 ns 0.15 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,779.6 ns 12.44 ns 11.03 ns 12.40 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,130.7 ns 0.83 ns 0.65 ns 2.07 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,140.2 ns 0.97 ns 0.81 ns 2.09 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,591.2 ns 13.80 ns 12.23 ns 15.71 0.02 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 538.1 ns 0.29 ns 0.24 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 548,984.7 ns 1,967.79 ns 1,744.40 ns 1,020.22 3.16 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,846.1 ns 8.30 ns 7.36 ns 3.43 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,858.2 ns 3.43 ns 3.04 ns 3.45 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 721,964.3 ns 1,540.37 ns 1,286.28 ns 1,341.68 2.37 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 538.4 ns 0.48 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,774,212.5 ns 199,731.78 ns 186,829.23 ns 107,309.66 346.05 333.3333 222.2222 222.2222 16001368 B 51,286.44
InvokeIntArrayFixed 100000 61,057.5 ns 481.85 ns 450.72 ns 113.41 0.82 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,831.2 ns 260.31 ns 230.76 ns 112.99 0.42 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,787,061.8 ns 1,675,861.69 ns 1,567,602.07 ns 157,483.25 2,822.26 857.1429 714.2857 571.4286 27894578 B 89,405.70

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.036 μs 0.0008 μs 0.0006 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.064 μs 0.0101 μs 0.0095 μs 1.03 0.0038 360 B 1.00
DeclaredNewEmpty 1.045 μs 0.0106 μs 0.0099 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 92.87 ns 0.024 ns 0.022 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 115.78 ns 0.035 ns 0.031 ns 1.25 0.0004 24 B 1.00
GetInstanceStringField 105.75 ns 0.017 ns 0.016 ns 1.14 - - 0.00
SetInstanceStringField 668.93 ns 1.015 ns 0.949 ns 7.20 0.0038 256 B 10.67
GetStaticIntField 107.35 ns 0.059 ns 0.049 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 111.51 ns 0.026 ns 0.023 ns 1.20 0.0004 24 B 1.00
GetStaticStringField 98.95 ns 0.052 ns 0.049 ns 1.07 - - 0.00
SetStaticStringField 671.97 ns 0.730 ns 0.609 ns 7.24 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 104.14 ns 0.090 ns 0.080 ns 1.12 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 316.1 ns 0.52 ns 0.49 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 316.0 ns 0.22 ns 0.21 ns 1.00 - - NA
InvokeStaticWithFeedback 551.2 ns 0.29 ns 0.25 ns 1.74 0.0038 312 B NA
InvokeInstanceEmpty 329.6 ns 0.11 ns 0.10 ns 1.04 - - NA
InvokeInstanceWithFeedback 563.1 ns 0.26 ns 0.22 ns 1.78 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.334 μs 0.0020 μs 0.0017 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,889.2 ns 22.28 ns 20.84 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 580.2 ns 0.16 ns 0.14 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 57,082.4 ns 129.94 ns 121.54 ns 1.00 0.00 0.3052 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 580.6 ns 0.28 ns 0.25 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,660,297.5 ns 80,970.74 ns 75,740.08 ns 1.000 0.02 62.5000 62.5000 62.5000 2400710 B 1.000
InvokeSingleStringPreallocated 100000 613.6 ns 0.60 ns 0.53 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,039.3 ns 6.09 ns 5.70 ns - 104 B
PredicateRoundTrip False False True 1,033.5 ns 5.91 ns 5.53 ns - 104 B
PredicateRoundTrip False True False 1,278.8 ns 8.14 ns 7.61 ns 0.0019 200 B
PredicateRoundTrip False True True 4,806.3 ns 53.87 ns 50.39 ns 0.0076 760 B
PredicateRoundTrip True False False 458.0 ns 0.35 ns 0.31 ns - 24 B
PredicateRoundTrip True False True 457.9 ns 0.31 ns 0.27 ns - 24 B
PredicateRoundTrip True True False 686.7 ns 0.79 ns 0.62 ns 0.0010 120 B
PredicateRoundTrip True True True 3,964.4 ns 19.42 ns 18.17 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 577.14 ns 0.834 ns 0.651 ns 0.0011 80 B
PredicateSustained False False True 581.01 ns 0.421 ns 0.329 ns 0.0011 80 B
PredicateSustained False True False 792.07 ns 5.503 ns 5.147 ns 0.0014 176 B
PredicateSustained False True True 3,972.53 ns 11.608 ns 10.290 ns 0.0100 736 B
PredicateSustained True False False 46.16 ns 0.873 ns 1.005 ns - -
PredicateSustained True False True 46.23 ns 0.894 ns 1.223 ns - -
PredicateSustained True True False 260.96 ns 0.502 ns 0.470 ns 0.0013 96 B
PredicateSustained True True True 3,267.94 ns 17.276 ns 16.160 ns - 656 B

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 559.0 ns 0.48 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,911.6 ns 7.29 ns 6.46 ns 12.36 0.01 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,149.0 ns 2.36 ns 2.21 ns 2.06 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,153.6 ns 1.76 ns 1.56 ns 2.06 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,814.7 ns 53.65 ns 50.19 ns 17.56 0.09 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 561.6 ns 0.92 ns 0.81 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 539,876.0 ns 1,039.93 ns 972.76 ns 961.38 2.15 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,855.7 ns 6.17 ns 5.47 ns 3.30 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,847.6 ns 6.95 ns 6.51 ns 3.29 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 736,014.0 ns 966.81 ns 754.82 ns 1,310.65 2.24 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 559.7 ns 0.51 ns 0.45 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 56,776,003.6 ns 196,572.62 ns 183,874.15 ns 101,445.07 327.81 333.3333 222.2222 222.2222 16001668 B 51,287.40
InvokeIntArrayFixed 100000 60,179.6 ns 345.52 ns 306.29 ns 107.53 0.54 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,153.2 ns 377.68 ns 353.28 ns 107.48 0.62 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 79,787,019.2 ns 975,004.37 ns 912,019.69 ns 142,560.22 1,581.96 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.061 μs 0.0083 μs 0.0077 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.065 μs 0.0094 μs 0.0088 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.065 μs 0.0112 μs 0.0104 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 90.30 ns 0.029 ns 0.026 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 111.62 ns 0.029 ns 0.024 ns 1.24 0.0004 24 B 1.00
GetInstanceStringField 106.54 ns 0.022 ns 0.020 ns 1.18 - - 0.00
SetInstanceStringField 662.39 ns 0.859 ns 0.803 ns 7.34 0.0038 256 B 10.67
GetStaticIntField 107.65 ns 0.031 ns 0.028 ns 1.19 0.0004 24 B 1.00
SetStaticIntField 107.85 ns 0.016 ns 0.014 ns 1.19 0.0004 24 B 1.00
GetStaticStringField 96.51 ns 0.030 ns 0.028 ns 1.07 - - 0.00
SetStaticStringField 658.57 ns 0.869 ns 0.813 ns 7.29 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 104.10 ns 0.070 ns 0.062 ns 1.15 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 302.0 ns 0.25 ns 0.22 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 306.3 ns 0.32 ns 0.30 ns 1.01 - - NA
InvokeStaticWithFeedback 546.4 ns 0.30 ns 0.27 ns 1.81 0.0038 312 B NA
InvokeInstanceEmpty 315.8 ns 0.13 ns 0.12 ns 1.05 - - NA
InvokeInstanceWithFeedback 574.4 ns 0.23 ns 0.21 ns 1.90 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.330 μs 0.0026 μs 0.0023 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,904.2 ns 21.43 ns 20.04 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 599.4 ns 0.42 ns 0.37 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 57,865.8 ns 109.65 ns 102.57 ns 1.00 0.00 0.3052 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 594.2 ns 0.41 ns 0.37 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,732,625.6 ns 104,041.74 ns 86,879.57 ns 1.000 0.02 62.5000 62.5000 62.5000 2400774 B 1.000
InvokeSingleStringPreallocated 100000 627.8 ns 0.22 ns 0.19 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,039.2 ns 7.39 ns 6.91 ns - 104 B
PredicateRoundTrip False False True 1,043.4 ns 6.94 ns 6.49 ns - 104 B
PredicateRoundTrip False True False 1,311.8 ns 1.79 ns 1.40 ns 0.0019 200 B
PredicateRoundTrip False True True 5,504.4 ns 61.16 ns 57.21 ns 0.0076 760 B
PredicateRoundTrip True False False 478.2 ns 2.58 ns 2.15 ns - 24 B
PredicateRoundTrip True False True 479.2 ns 1.28 ns 1.00 ns - 24 B
PredicateRoundTrip True True False 711.4 ns 5.34 ns 4.73 ns 0.0010 120 B
PredicateRoundTrip True True True 5,847.8 ns 51.22 ns 42.77 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 579.00 ns 1.200 ns 0.936 ns 0.0011 80 B
PredicateSustained False False True 575.31 ns 1.871 ns 1.461 ns 0.0011 80 B
PredicateSustained False True False 794.32 ns 10.050 ns 9.401 ns 0.0014 176 B
PredicateSustained False True True 4,103.39 ns 15.406 ns 18.920 ns 0.0100 736 B
PredicateSustained True False False 42.09 ns 0.700 ns 0.655 ns - -
PredicateSustained True False True 42.29 ns 0.192 ns 0.170 ns - -
PredicateSustained True True False 249.37 ns 0.307 ns 0.287 ns 0.0013 96 B
PredicateSustained True True True 3,266.10 ns 12.423 ns 13.808 ns - 656 B

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 575.2 ns 0.46 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,919.8 ns 15.11 ns 13.40 ns 12.03 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,147.8 ns 2.65 ns 2.48 ns 2.00 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,168.2 ns 1.44 ns 1.34 ns 2.03 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,949.1 ns 20.52 ns 19.20 ns 15.56 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 578.2 ns 0.32 ns 0.27 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 546,924.2 ns 675.06 ns 563.71 ns 945.98 1.03 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,852.4 ns 2.26 ns 2.00 ns 3.20 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,853.8 ns 4.23 ns 3.53 ns 3.21 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 738,623.7 ns 1,059.81 ns 884.99 ns 1,277.54 1.58 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 571.1 ns 0.43 ns 0.36 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,951,879.4 ns 184,941.27 ns 172,994.18 ns 101,473.06 299.71 333.3333 222.2222 222.2222 16001308 B 51,286.24
InvokeIntArrayFixed 100000 60,042.5 ns 188.80 ns 167.36 ns 105.13 0.29 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,269.3 ns 197.10 ns 174.72 ns 105.53 0.30 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,100,654.4 ns 1,243,219.04 ns 1,162,907.86 ns 143,757.28 1,974.16 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.076 μs 0.0098 μs 0.0091 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.078 μs 0.0074 μs 0.0066 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.069 μs 0.0107 μs 0.0100 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 91.05 ns 0.029 ns 0.026 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 111.80 ns 0.038 ns 0.033 ns 1.23 0.0004 24 B 1.00
GetInstanceStringField 100.29 ns 0.038 ns 0.030 ns 1.10 - - 0.00
SetInstanceStringField 661.65 ns 0.924 ns 0.864 ns 7.27 0.0038 256 B 10.67
GetStaticIntField 107.11 ns 0.039 ns 0.035 ns 1.18 0.0004 24 B 1.00
SetStaticIntField 108.77 ns 0.016 ns 0.014 ns 1.19 0.0004 24 B 1.00
GetStaticStringField 97.71 ns 0.027 ns 0.021 ns 1.07 - - 0.00
SetStaticStringField 668.20 ns 1.141 ns 1.067 ns 7.34 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 102.10 ns 0.037 ns 0.033 ns 1.12 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 311.8 ns 0.07 ns 0.06 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 304.0 ns 0.46 ns 0.41 ns 0.97 - - NA
InvokeStaticWithFeedback 558.1 ns 0.26 ns 0.23 ns 1.79 0.0038 312 B NA
InvokeInstanceEmpty 318.8 ns 0.31 ns 0.29 ns 1.02 - - NA
InvokeInstanceWithFeedback 566.9 ns 0.16 ns 0.13 ns 1.82 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.316 μs 0.0012 μs 0.0010 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,924.3 ns 22.69 ns 21.22 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 581.3 ns 0.34 ns 0.29 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 59,006.2 ns 237.03 ns 210.12 ns 1.00 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 590.4 ns 0.34 ns 0.30 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,945,480.0 ns 79,173.41 ns 74,058.86 ns 1.000 0.01 62.5000 62.5000 62.5000 2400761 B 1.000
InvokeSingleStringPreallocated 100000 607.0 ns 0.47 ns 0.41 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,078.0 ns 7.07 ns 6.61 ns - 104 B
PredicateRoundTrip False False True 1,067.4 ns 6.84 ns 6.40 ns - 104 B
PredicateRoundTrip False True False 1,335.0 ns 4.65 ns 4.35 ns 0.0019 200 B
PredicateRoundTrip False True True 6,160.8 ns 58.44 ns 54.67 ns 0.0076 760 B
PredicateRoundTrip True False False 470.7 ns 0.78 ns 0.65 ns - 24 B
PredicateRoundTrip True False True 471.3 ns 1.62 ns 1.44 ns - 24 B
PredicateRoundTrip True True False 701.1 ns 1.18 ns 0.92 ns 0.0010 120 B
PredicateRoundTrip True True True 5,250.0 ns 33.78 ns 31.60 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 594.72 ns 0.837 ns 0.783 ns 0.0011 80 B
PredicateSustained False False True 597.39 ns 0.555 ns 0.463 ns 0.0011 80 B
PredicateSustained False True False 797.32 ns 5.235 ns 4.897 ns 0.0014 176 B
PredicateSustained False True True 4,213.34 ns 29.818 ns 27.892 ns 0.0100 736 B
PredicateSustained True False False 45.27 ns 0.020 ns 0.018 ns - -
PredicateSustained True False True 44.81 ns 0.878 ns 0.901 ns - -
PredicateSustained True True False 257.90 ns 0.533 ns 0.498 ns 0.0013 96 B
PredicateSustained True True True 3,543.73 ns 29.150 ns 27.267 ns - 656 B

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 538.5 ns 0.61 ns 0.54 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,897.9 ns 13.68 ns 12.13 ns 12.81 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,138.2 ns 1.51 ns 1.34 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,151.3 ns 3.36 ns 3.14 ns 2.14 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,877.9 ns 17.64 ns 16.50 ns 16.49 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 569.2 ns 0.81 ns 0.71 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 555,598.7 ns 1,464.34 ns 1,369.74 ns 976.11 2.61 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,866.6 ns 1.78 ns 1.39 ns 3.28 0.00 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,869.2 ns 11.68 ns 10.93 ns 3.28 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 724,651.1 ns 561.06 ns 497.36 ns 1,273.11 1.76 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 555.2 ns 0.28 ns 0.24 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,355,554.3 ns 205,342.89 ns 192,077.86 ns 103,305.57 337.89 333.3333 222.2222 222.2222 16001629 B 51,287.27
InvokeIntArrayFixed 100000 60,709.6 ns 243.40 ns 203.25 ns 109.35 0.36 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,777.1 ns 305.95 ns 271.21 ns 109.47 0.47 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,315,742.2 ns 353,582.24 ns 330,741.05 ns 150,063.59 580.40 857.1429 714.2857 571.4286 27894257 B 89,404.67

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.053 μs 0.0095 μs 0.0089 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.061 μs 0.0103 μs 0.0096 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.051 μs 0.0097 μs 0.0091 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.12 ns 0.018 ns 0.015 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 111.54 ns 0.061 ns 0.057 ns 1.20 0.0004 24 B 1.00
GetInstanceStringField 104.29 ns 0.007 ns 0.006 ns 1.12 - - 0.00
SetInstanceStringField 666.88 ns 1.132 ns 1.059 ns 7.16 0.0038 256 B 10.67
GetStaticIntField 106.17 ns 0.026 ns 0.023 ns 1.14 0.0004 24 B 1.00
SetStaticIntField 111.90 ns 0.023 ns 0.021 ns 1.20 0.0004 24 B 1.00
GetStaticStringField 97.99 ns 0.028 ns 0.026 ns 1.05 - - 0.00
SetStaticStringField 654.17 ns 1.039 ns 0.972 ns 7.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 104.59 ns 0.031 ns 0.027 ns 1.12 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 314.3 ns 0.12 ns 0.10 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 321.8 ns 0.11 ns 0.10 ns 1.02 - - NA
InvokeStaticWithFeedback 545.3 ns 0.48 ns 0.43 ns 1.73 0.0038 312 B NA
InvokeInstanceEmpty 330.6 ns 0.30 ns 0.27 ns 1.05 - - NA
InvokeInstanceWithFeedback 556.6 ns 0.18 ns 0.16 ns 1.77 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.294 μs 0.0020 μs 0.0018 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,910.1 ns 25.03 ns 23.41 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 581.0 ns 0.35 ns 0.27 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 58,824.7 ns 205.91 ns 192.61 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 583.5 ns 0.48 ns 0.43 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,546,504.7 ns 148,620.11 ns 145,964.82 ns 1.000 0.03 62.5000 62.5000 62.5000 2400873 B 1.000
InvokeSingleStringPreallocated 100000 601.4 ns 0.27 ns 0.23 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,091.3 ns 11.36 ns 10.62 ns - 104 B
PredicateRoundTrip False False True 1,042.5 ns 5.84 ns 5.47 ns - 104 B
PredicateRoundTrip False True False 1,314.2 ns 6.61 ns 6.18 ns 0.0019 200 B
PredicateRoundTrip False True True 5,167.1 ns 48.03 ns 44.93 ns 0.0076 760 B
PredicateRoundTrip True False False 465.8 ns 0.76 ns 0.59 ns - 24 B
PredicateRoundTrip True False True 449.7 ns 0.74 ns 0.69 ns - 24 B
PredicateRoundTrip True True False 698.1 ns 1.80 ns 1.41 ns 0.0010 120 B
PredicateRoundTrip True True True 4,314.9 ns 21.92 ns 20.50 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 589.11 ns 0.873 ns 0.774 ns 0.0011 80 B
PredicateSustained False False True 586.98 ns 0.833 ns 0.696 ns 0.0011 80 B
PredicateSustained False True False 787.36 ns 5.719 ns 5.069 ns 0.0014 176 B
PredicateSustained False True True 4,277.31 ns 29.567 ns 26.211 ns 0.0100 736 B
PredicateSustained True False False 46.30 ns 0.883 ns 1.051 ns - -
PredicateSustained True False True 45.99 ns 0.905 ns 1.077 ns - -
PredicateSustained True True False 258.49 ns 0.365 ns 0.342 ns 0.0013 96 B
PredicateSustained True True True 3,489.12 ns 21.127 ns 19.762 ns - 656 B

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 550.8 ns 1.40 ns 1.31 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,009.3 ns 15.10 ns 12.61 ns 12.73 0.04 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,152.1 ns 1.47 ns 1.22 ns 2.09 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,130.9 ns 1.54 ns 1.36 ns 2.05 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,771.7 ns 27.07 ns 25.32 ns 15.93 0.06 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 552.9 ns 0.32 ns 0.29 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 554,611.1 ns 1,419.10 ns 1,327.42 ns 1,003.15 2.38 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,862.1 ns 6.76 ns 5.99 ns 3.37 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,866.3 ns 8.55 ns 7.58 ns 3.38 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 724,077.6 ns 1,713.00 ns 1,430.43 ns 1,309.67 2.58 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 551.1 ns 0.36 ns 0.32 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 59,057,271.4 ns 186,530.07 ns 174,480.34 ns 107,156.51 312.36 333.3333 222.2222 222.2222 16000954 B 51,285.11
InvokeIntArrayFixed 100000 60,051.1 ns 467.66 ns 437.45 ns 108.96 0.77 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 59,634.1 ns 337.76 ns 282.04 ns 108.20 0.50 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,304,561.4 ns 671,492.34 ns 628,114.35 ns 151,152.02 1,106.89 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.073 μs 0.0111 μs 0.0104 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.070 μs 0.0104 μs 0.0097 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.072 μs 0.0107 μs 0.0100 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.39 ns 0.032 ns 0.026 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 116.53 ns 0.033 ns 0.027 ns 1.23 0.00 0.0002 24 B 1.00
GetInstanceStringField 111.53 ns 0.018 ns 0.016 ns 1.18 0.00 - - 0.00
SetInstanceStringField 680.32 ns 0.787 ns 0.736 ns 7.21 0.01 0.0038 256 B 10.67
GetStaticIntField 111.81 ns 0.023 ns 0.020 ns 1.18 0.00 0.0004 24 B 1.00
SetStaticIntField 108.91 ns 0.041 ns 0.037 ns 1.15 0.00 0.0004 24 B 1.00
GetStaticStringField 101.01 ns 0.016 ns 0.015 ns 1.07 0.00 - - 0.00
SetStaticStringField 667.77 ns 1.706 ns 1.596 ns 7.07 0.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 106.82 ns 0.091 ns 0.085 ns 1.13 0.00 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 306.1 ns 0.28 ns 0.26 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 315.0 ns 0.22 ns 0.20 ns 1.03 - - NA
InvokeStaticWithFeedback 543.1 ns 0.25 ns 0.21 ns 1.77 0.0038 312 B NA
InvokeInstanceEmpty 325.3 ns 0.22 ns 0.20 ns 1.06 - - NA
InvokeInstanceWithFeedback 565.5 ns 0.42 ns 0.37 ns 1.85 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.304 μs 0.0057 μs 0.0048 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,939.1 ns 29.25 ns 27.36 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 582.7 ns 0.33 ns 0.29 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 64,825.7 ns 355.62 ns 332.64 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 581.7 ns 0.41 ns 0.37 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,090,559.2 ns 58,317.66 ns 51,697.09 ns 1.000 0.01 62.5000 62.5000 62.5000 2400838 B 1.000
InvokeSingleStringPreallocated 100000 597.8 ns 0.27 ns 0.24 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,061.3 ns 7.85 ns 7.34 ns - 104 B
PredicateRoundTrip False False True 1,041.2 ns 8.87 ns 8.30 ns - 104 B
PredicateRoundTrip False True False 1,284.9 ns 0.78 ns 0.65 ns 0.0019 200 B
PredicateRoundTrip False True True 5,643.6 ns 66.50 ns 58.95 ns 0.0076 760 B
PredicateRoundTrip True False False 465.4 ns 4.53 ns 4.01 ns - 24 B
PredicateRoundTrip True False True 457.6 ns 1.22 ns 1.14 ns - 24 B
PredicateRoundTrip True True False 684.8 ns 5.81 ns 5.15 ns 0.0010 120 B
PredicateRoundTrip True True True 5,131.9 ns 29.92 ns 24.98 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 590.86 ns 3.052 ns 2.855 ns 0.0011 80 B
PredicateSustained False False True 590.08 ns 3.576 ns 2.986 ns 0.0011 80 B
PredicateSustained False True False 797.07 ns 7.478 ns 6.995 ns 0.0014 176 B
PredicateSustained False True True 4,276.36 ns 34.335 ns 42.166 ns 0.0100 736 B
PredicateSustained True False False 41.35 ns 0.151 ns 0.141 ns - -
PredicateSustained True False True 42.71 ns 0.127 ns 0.119 ns - -
PredicateSustained True True False 249.98 ns 0.309 ns 0.289 ns 0.0013 96 B
PredicateSustained True True True 3,356.96 ns 63.291 ns 64.995 ns - 656 B

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 553.8 ns 0.52 ns 0.46 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,100.1 ns 17.70 ns 15.69 ns 12.82 0.03 0.0153 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,168.5 ns 1.39 ns 1.16 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,183.0 ns 3.05 ns 2.85 ns 2.14 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,993.1 ns 20.83 ns 19.48 ns 16.24 0.04 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 565.0 ns 1.86 ns 1.55 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 571,119.5 ns 819.61 ns 726.57 ns 1,010.77 2.94 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,944.5 ns 15.99 ns 14.96 ns 3.44 0.03 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,939.0 ns 9.10 ns 8.51 ns 3.43 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 755,571.0 ns 1,418.64 ns 1,326.99 ns 1,337.21 4.19 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 558.0 ns 0.78 ns 0.65 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,640,432.2 ns 474,518.55 ns 443,864.95 ns 105,089.10 779.47 250.0000 125.0000 125.0000 16000808 B 51,284.64
InvokeIntArrayFixed 100000 61,384.0 ns 1,132.61 ns 1,059.45 ns 110.01 1.84 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,193.2 ns 500.66 ns 443.82 ns 109.66 0.78 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,389,147.7 ns 605,363.77 ns 566,257.65 ns 147,649.00 996.84 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.088 μs 0.0008 μs 0.0006 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.108 μs 0.0009 μs 0.0007 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.102 μs 0.0121 μs 0.0113 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 97.00 ns 0.018 ns 0.015 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 116.58 ns 0.054 ns 0.047 ns 1.20 0.00 0.0002 24 B 1.00
GetInstanceStringField 114.48 ns 0.013 ns 0.011 ns 1.18 0.00 - - 0.00
SetInstanceStringField 692.08 ns 4.947 ns 4.628 ns 7.13 0.05 0.0038 256 B 10.67
GetStaticIntField 120.71 ns 0.060 ns 0.053 ns 1.24 0.00 0.0002 24 B 1.00
SetStaticIntField 119.96 ns 0.032 ns 0.028 ns 1.24 0.00 0.0002 24 B 1.00
GetStaticStringField 111.55 ns 0.025 ns 0.024 ns 1.15 0.00 - - 0.00
SetStaticStringField 706.03 ns 1.868 ns 1.747 ns 7.28 0.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 106.02 ns 0.089 ns 0.079 ns 1.09 0.00 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 380.2 ns 0.16 ns 0.15 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 386.5 ns 0.35 ns 0.33 ns 1.02 - - NA
InvokeStaticWithFeedback 554.2 ns 0.31 ns 0.27 ns 1.46 0.0038 312 B NA
InvokeInstanceEmpty 396.2 ns 0.21 ns 0.20 ns 1.04 - - NA
InvokeInstanceWithFeedback 558.5 ns 0.50 ns 0.44 ns 1.47 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.352 μs 0.0033 μs 0.0029 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,038.1 ns 5.00 ns 4.43 ns 1.00 0.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 588.1 ns 0.47 ns 0.42 ns 0.29 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 67,073.7 ns 216.49 ns 202.50 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 597.8 ns 0.17 ns 0.15 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,432,471.8 ns 144,926.36 ns 135,564.21 ns 1.000 0.02 62.5000 62.5000 62.5000 2400829 B 1.000
InvokeSingleStringPreallocated 100000 620.2 ns 1.15 ns 1.08 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,108.1 ns 9.50 ns 8.89 ns - 104 B
PredicateRoundTrip False False True 1,110.4 ns 7.92 ns 7.02 ns - 104 B
PredicateRoundTrip False True False 1,335.5 ns 8.77 ns 8.20 ns 0.0019 200 B
PredicateRoundTrip False True True 4,960.0 ns 19.72 ns 18.44 ns 0.0076 760 B
PredicateRoundTrip True False False 478.5 ns 0.44 ns 0.35 ns - 24 B
PredicateRoundTrip True False True 479.4 ns 0.62 ns 0.52 ns - 24 B
PredicateRoundTrip True True False 711.1 ns 1.01 ns 0.79 ns 0.0010 120 B
PredicateRoundTrip True True True 4,198.6 ns 9.91 ns 8.79 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 609.30 ns 0.896 ns 0.700 ns - 80 B
PredicateSustained False False True 607.66 ns 0.914 ns 0.810 ns 0.0011 80 B
PredicateSustained False True False 823.43 ns 2.044 ns 1.596 ns 0.0017 176 B
PredicateSustained False True True 4,344.09 ns 24.165 ns 22.604 ns 0.0100 736 B
PredicateSustained True False False 51.06 ns 0.803 ns 0.751 ns - -
PredicateSustained True False True 50.95 ns 0.512 ns 0.479 ns - -
PredicateSustained True True False 274.78 ns 0.505 ns 0.473 ns 0.0013 96 B
PredicateSustained True True True 3,567.18 ns 8.685 ns 7.699 ns - 656 B

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 540.3 ns 0.76 ns 0.64 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,916.5 ns 8.93 ns 6.97 ns 12.80 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,120.0 ns 3.31 ns 2.93 ns 2.07 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,131.0 ns 3.35 ns 3.14 ns 2.09 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,843.9 ns 54.05 ns 47.91 ns 18.22 0.09 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 552.0 ns 0.33 ns 0.28 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 543,906.5 ns 1,141.94 ns 1,068.17 ns 985.28 1.93 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,856.5 ns 3.84 ns 3.00 ns 3.36 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,857.0 ns 5.13 ns 4.55 ns 3.36 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 728,557.5 ns 746.92 ns 583.15 ns 1,319.78 1.20 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 545.4 ns 0.84 ns 0.70 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,144,401.6 ns 158,588.79 ns 148,344.05 ns 104,777.25 293.59 333.3333 222.2222 222.2222 16001510 B 51,286.89
InvokeIntArrayFixed 100000 60,450.8 ns 275.06 ns 243.83 ns 110.84 0.45 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,369.6 ns 343.62 ns 304.61 ns 110.69 0.56 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,662,908.0 ns 582,348.91 ns 454,659.72 ns 155,233.87 823.44 857.1429 714.2857 571.4286 27894678 B 89,406.02

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.061 μs 0.0104 μs 0.0097 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.063 μs 0.0094 μs 0.0088 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.082 μs 0.0121 μs 0.0113 μs 1.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 89.81 ns 0.034 ns 0.030 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 110.04 ns 0.025 ns 0.022 ns 1.23 0.0004 24 B 1.00
GetInstanceStringField 97.19 ns 0.020 ns 0.018 ns 1.08 - - 0.00
SetInstanceStringField 670.88 ns 0.751 ns 0.702 ns 7.47 0.0038 256 B 10.67
GetStaticIntField 98.23 ns 0.020 ns 0.017 ns 1.09 0.0004 24 B 1.00
SetStaticIntField 100.87 ns 0.017 ns 0.015 ns 1.12 0.0004 24 B 1.00
GetStaticStringField 94.61 ns 0.017 ns 0.015 ns 1.05 - - 0.00
SetStaticStringField 680.83 ns 1.322 ns 1.104 ns 7.58 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 95.37 ns 0.066 ns 0.055 ns 1.06 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 299.5 ns 0.22 ns 0.21 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 307.8 ns 0.30 ns 0.28 ns 1.03 - - NA
InvokeStaticWithFeedback 553.2 ns 0.32 ns 0.26 ns 1.85 0.0038 312 B NA
InvokeInstanceEmpty 308.9 ns 0.20 ns 0.19 ns 1.03 - - NA
InvokeInstanceWithFeedback 556.5 ns 0.32 ns 0.27 ns 1.86 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.295 μs 0.0025 μs 0.0022 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,897.8 ns 21.26 ns 19.89 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 579.5 ns 0.27 ns 0.24 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 59,019.4 ns 245.45 ns 204.96 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 571.1 ns 0.54 ns 0.45 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,299,553.0 ns 138,775.53 ns 154,248.63 ns 1.000 0.03 62.5000 62.5000 62.5000 2400756 B 1.000
InvokeSingleStringPreallocated 100000 606.3 ns 0.34 ns 0.30 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,010.0 ns 6.68 ns 6.25 ns - 104 B
PredicateRoundTrip False False True 1,033.4 ns 7.05 ns 6.59 ns - 104 B
PredicateRoundTrip False True False 1,268.4 ns 8.07 ns 7.55 ns 0.0019 200 B
PredicateRoundTrip False True True 5,671.1 ns 50.38 ns 44.66 ns 0.0076 760 B
PredicateRoundTrip True False False 451.1 ns 0.45 ns 0.42 ns - 24 B
PredicateRoundTrip True False True 445.5 ns 0.36 ns 0.32 ns - 24 B
PredicateRoundTrip True True False 682.5 ns 1.85 ns 1.44 ns 0.0010 120 B
PredicateRoundTrip True True True 4,951.9 ns 34.25 ns 32.04 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 561.93 ns 0.673 ns 0.562 ns 0.0011 80 B
PredicateSustained False False True 566.84 ns 0.638 ns 0.533 ns 0.0011 80 B
PredicateSustained False True False 780.00 ns 7.321 ns 6.848 ns 0.0014 176 B
PredicateSustained False True True 5,547.94 ns 56.851 ns 53.178 ns 0.0100 736 B
PredicateSustained True False False 43.87 ns 0.794 ns 0.704 ns - -
PredicateSustained True False True 43.65 ns 0.767 ns 0.680 ns - -
PredicateSustained True True False 260.85 ns 0.352 ns 0.329 ns 0.0013 96 B
PredicateSustained True True True 3,489.05 ns 38.480 ns 35.995 ns - 656 B

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 555.7 ns 0.37 ns 0.31 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,897.0 ns 12.13 ns 11.34 ns 12.41 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,138.6 ns 2.04 ns 1.91 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,153.1 ns 2.95 ns 2.76 ns 2.08 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,611.6 ns 12.68 ns 10.58 ns 15.50 0.02 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 549.0 ns 0.23 ns 0.19 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 549,933.1 ns 1,086.03 ns 1,015.88 ns 1,001.68 1.82 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,855.2 ns 2.66 ns 2.49 ns 3.38 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,838.3 ns 2.94 ns 2.61 ns 3.35 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 718,327.7 ns 618.58 ns 482.95 ns 1,308.40 0.95 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 565.5 ns 0.39 ns 0.34 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,693,875.0 ns 234,043.30 ns 207,473.29 ns 102,016.67 359.40 333.3333 222.2222 222.2222 16001484 B 51,286.81
InvokeIntArrayFixed 100000 60,282.0 ns 150.70 ns 133.59 ns 106.59 0.24 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 59,866.0 ns 268.12 ns 250.80 ns 105.86 0.43 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,455,041.9 ns 1,261,127.01 ns 1,179,658.99 ns 149,336.86 2,021.89 1285.7143 1142.8571 1000.0000 27898230 B 89,417.40

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.061 μs 0.0100 μs 0.0093 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.050 μs 0.0033 μs 0.0026 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.042 μs 0.0106 μs 0.0100 μs 0.98 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.72 ns 0.022 ns 0.019 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 117.43 ns 0.052 ns 0.046 ns 1.24 0.0002 24 B 1.00
GetInstanceStringField 107.18 ns 0.017 ns 0.016 ns 1.13 - - 0.00
SetInstanceStringField 667.99 ns 0.640 ns 0.534 ns 7.05 0.0038 256 B 10.67
GetStaticIntField 109.86 ns 0.024 ns 0.020 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 108.48 ns 0.025 ns 0.022 ns 1.15 0.0004 24 B 1.00
GetStaticStringField 99.50 ns 0.059 ns 0.055 ns 1.05 - - 0.00
SetStaticStringField 657.46 ns 1.213 ns 1.134 ns 6.94 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 101.64 ns 0.026 ns 0.022 ns 1.07 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 312.1 ns 0.20 ns 0.19 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 312.7 ns 0.18 ns 0.17 ns 1.00 - - NA
InvokeStaticWithFeedback 550.4 ns 0.41 ns 0.36 ns 1.76 0.0038 312 B NA
InvokeInstanceEmpty 321.2 ns 0.12 ns 0.11 ns 1.03 - - NA
InvokeInstanceWithFeedback 559.3 ns 0.64 ns 0.56 ns 1.79 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.305 μs 0.0018 μs 0.0017 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,869.1 ns 1.89 ns 1.68 ns 1.00 0.00 0.0095 - - 656 B 1.00
InvokeSingleStringPreallocated 10 589.9 ns 0.13 ns 0.12 ns 0.32 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 55,692.2 ns 148.78 ns 139.17 ns 1.00 0.00 0.3052 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 601.9 ns 0.54 ns 0.45 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,335,384.2 ns 96,527.81 ns 90,292.17 ns 1.000 0.02 62.5000 62.5000 62.5000 2400717 B 1.000
InvokeSingleStringPreallocated 100000 605.0 ns 0.44 ns 0.37 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,050.1 ns 4.13 ns 3.86 ns - 104 B
PredicateRoundTrip False False True 1,030.7 ns 7.67 ns 7.17 ns - 104 B
PredicateRoundTrip False True False 1,338.8 ns 11.98 ns 11.20 ns 0.0019 200 B
PredicateRoundTrip False True True 4,870.1 ns 55.34 ns 51.76 ns 0.0076 760 B
PredicateRoundTrip True False False 455.8 ns 0.81 ns 0.76 ns - 24 B
PredicateRoundTrip True False True 456.0 ns 0.25 ns 0.22 ns - 24 B
PredicateRoundTrip True True False 683.6 ns 3.55 ns 2.77 ns 0.0010 120 B
PredicateRoundTrip True True True 5,042.1 ns 38.06 ns 31.79 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 575.85 ns 1.892 ns 1.770 ns 0.0011 80 B
PredicateSustained False False True 576.84 ns 3.043 ns 2.846 ns 0.0011 80 B
PredicateSustained False True False 778.80 ns 5.670 ns 5.304 ns 0.0014 176 B
PredicateSustained False True True 4,243.44 ns 33.916 ns 31.725 ns 0.0100 736 B
PredicateSustained True False False 45.45 ns 0.889 ns 0.951 ns - -
PredicateSustained True False True 45.89 ns 0.790 ns 0.776 ns - -
PredicateSustained True True False 261.68 ns 0.399 ns 0.354 ns 0.0013 96 B
PredicateSustained True True True 3,220.33 ns 8.363 ns 7.823 ns - 656 B

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 569.4 ns 0.26 ns 0.23 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,376.4 ns 15.63 ns 13.85 ns 12.95 0.02 0.0153 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,157.0 ns 1.58 ns 1.40 ns 2.03 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,154.2 ns 1.63 ns 1.44 ns 2.03 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,367.8 ns 40.39 ns 37.78 ns 16.45 0.06 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 568.0 ns 0.57 ns 0.50 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 550,640.4 ns 1,489.38 ns 1,393.17 ns 969.39 2.52 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,888.4 ns 6.51 ns 6.09 ns 3.32 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,932.5 ns 15.64 ns 14.63 ns 3.40 0.03 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 723,754.4 ns 2,235.05 ns 1,866.37 ns 1,274.15 3.35 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 557.3 ns 0.53 ns 0.47 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,290,979.2 ns 231,923.61 ns 216,941.49 ns 104,594.15 386.53 333.3333 222.2222 222.2222 16001444 B 51,286.68
InvokeIntArrayFixed 100000 60,868.5 ns 583.75 ns 546.04 ns 109.22 0.95 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,296.6 ns 509.38 ns 476.48 ns 109.99 0.83 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 80,390,412.5 ns 934,925.98 ns 828,787.53 ns 144,248.17 1,441.53 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.056 μs 0.0089 μs 0.0083 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.068 μs 0.0101 μs 0.0095 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.069 μs 0.0121 μs 0.0113 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.28 ns 0.053 ns 0.042 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 116.19 ns 0.065 ns 0.058 ns 1.23 0.0002 24 B 1.00
GetInstanceStringField 112.88 ns 0.015 ns 0.014 ns 1.20 - - 0.00
SetInstanceStringField 669.05 ns 1.299 ns 1.215 ns 7.10 0.0038 256 B 10.67
GetStaticIntField 112.91 ns 0.015 ns 0.012 ns 1.20 0.0004 24 B 1.00
SetStaticIntField 112.95 ns 0.024 ns 0.018 ns 1.20 0.0004 24 B 1.00
GetStaticStringField 97.96 ns 0.035 ns 0.029 ns 1.04 - - 0.00
SetStaticStringField 664.78 ns 1.244 ns 1.164 ns 7.05 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 102.54 ns 0.068 ns 0.057 ns 1.09 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 314.7 ns 0.16 ns 0.15 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 312.6 ns 0.10 ns 0.09 ns 0.99 - - NA
InvokeStaticWithFeedback 553.2 ns 0.36 ns 0.32 ns 1.76 0.0038 312 B NA
InvokeInstanceEmpty 326.7 ns 0.13 ns 0.11 ns 1.04 - - NA
InvokeInstanceWithFeedback 581.2 ns 0.23 ns 0.20 ns 1.85 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.353 μs 0.0031 μs 0.0029 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,976.7 ns 30.41 ns 28.44 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 613.9 ns 0.16 ns 0.14 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 62,749.0 ns 185.01 ns 173.05 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 599.4 ns 0.24 ns 0.22 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,039,043.2 ns 114,716.22 ns 107,305.62 ns 1.000 0.02 62.5000 62.5000 62.5000 2400878 B 1.000
InvokeSingleStringPreallocated 100000 629.5 ns 0.52 ns 0.46 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,048.5 ns 10.22 ns 9.56 ns - 104 B
PredicateRoundTrip False False True 1,062.5 ns 9.29 ns 8.69 ns - 104 B
PredicateRoundTrip False True False 2,197.9 ns 43.96 ns 93.68 ns - 200 B
PredicateRoundTrip False True True 5,760.9 ns 92.31 ns 77.09 ns 0.0076 760 B
PredicateRoundTrip True False False 476.4 ns 1.37 ns 1.07 ns - 24 B
PredicateRoundTrip True False True 463.7 ns 3.10 ns 2.42 ns - 24 B
PredicateRoundTrip True True False 704.5 ns 5.12 ns 4.27 ns 0.0010 120 B
PredicateRoundTrip True True True 5,947.3 ns 64.84 ns 57.48 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 587.67 ns 1.435 ns 1.120 ns 0.0011 80 B
PredicateSustained False False True 571.93 ns 1.197 ns 0.935 ns 0.0011 80 B
PredicateSustained False True False 797.91 ns 7.787 ns 6.903 ns 0.0014 176 B
PredicateSustained False True True 4,320.84 ns 84.184 ns 70.297 ns 0.0100 736 B
PredicateSustained True False False 42.31 ns 0.388 ns 0.363 ns - -
PredicateSustained True False True 42.61 ns 0.568 ns 0.531 ns - -
PredicateSustained True True False 257.89 ns 0.286 ns 0.253 ns 0.0013 96 B
PredicateSustained True True True 3,563.25 ns 17.068 ns 20.960 ns - 656 B

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 562.8 ns 0.80 ns 0.71 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,094.0 ns 12.93 ns 12.09 ns 12.60 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,153.7 ns 1.81 ns 1.60 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,175.5 ns 2.01 ns 1.78 ns 2.09 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,998.4 ns 17.42 ns 15.44 ns 15.99 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 567.9 ns 0.35 ns 0.31 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 572,690.5 ns 1,266.41 ns 1,184.60 ns 1,008.38 2.09 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,922.1 ns 6.38 ns 5.97 ns 3.38 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,931.2 ns 9.59 ns 8.97 ns 3.40 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 762,242.2 ns 728.56 ns 608.38 ns 1,342.13 1.25 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 563.6 ns 0.70 ns 0.59 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 59,189,329.8 ns 325,189.19 ns 288,271.75 ns 105,013.75 505.29 250.0000 125.0000 125.0000 16001138 B 51,285.70
InvokeIntArrayFixed 100000 61,174.2 ns 594.11 ns 555.73 ns 108.54 0.96 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,618.4 ns 343.29 ns 286.66 ns 107.55 0.50 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,440,134.2 ns 271,203.35 ns 211,737.74 ns 149,813.75 390.86 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.096 μs 0.0012 μs 0.0010 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.103 μs 0.0092 μs 0.0086 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.085 μs 0.0008 μs 0.0006 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 91.56 ns 0.060 ns 0.054 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 114.52 ns 0.033 ns 0.030 ns 1.25 0.00 0.0004 24 B 1.00
GetInstanceStringField 112.33 ns 0.069 ns 0.065 ns 1.23 0.00 - - 0.00
SetInstanceStringField 674.39 ns 1.296 ns 1.212 ns 7.37 0.01 0.0038 256 B 10.67
GetStaticIntField 119.13 ns 0.050 ns 0.044 ns 1.30 0.00 0.0002 24 B 1.00
SetStaticIntField 121.42 ns 0.029 ns 0.026 ns 1.33 0.00 0.0002 24 B 1.00
GetStaticStringField 109.54 ns 0.013 ns 0.011 ns 1.20 0.00 - - 0.00
SetStaticStringField 683.41 ns 1.466 ns 1.371 ns 7.46 0.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 108.37 ns 0.041 ns 0.036 ns 1.18 0.00 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 388.5 ns 0.24 ns 0.22 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 393.4 ns 0.31 ns 0.29 ns 1.01 - - NA
InvokeStaticWithFeedback 543.4 ns 0.28 ns 0.24 ns 1.40 0.0038 312 B NA
InvokeInstanceEmpty 399.5 ns 0.32 ns 0.30 ns 1.03 - - NA
InvokeInstanceWithFeedback 564.7 ns 0.39 ns 0.35 ns 1.45 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.323 μs 0.0027 μs 0.0024 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,046.7 ns 4.05 ns 3.79 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 593.3 ns 0.28 ns 0.25 ns 0.29 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 66,174.2 ns 266.12 ns 248.93 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 588.8 ns 0.31 ns 0.27 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,297,010.2 ns 24,048.84 ns 20,081.87 ns 1.000 62.5000 62.5000 62.5000 2400808 B 1.000
InvokeSingleStringPreallocated 100000 611.3 ns 0.55 ns 0.48 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,097.5 ns 5.64 ns 5.27 ns - 104 B
PredicateRoundTrip False False True 1,100.2 ns 8.97 ns 8.39 ns - 104 B
PredicateRoundTrip False True False 1,323.7 ns 5.66 ns 5.02 ns 0.0019 200 B
PredicateRoundTrip False True True 4,845.7 ns 24.94 ns 23.33 ns 0.0076 760 B
PredicateRoundTrip True False False 477.6 ns 0.73 ns 0.65 ns - 24 B
PredicateRoundTrip True False True 488.3 ns 0.36 ns 0.30 ns - 24 B
PredicateRoundTrip True True False 715.3 ns 1.39 ns 1.30 ns 0.0010 120 B
PredicateRoundTrip True True True 4,245.6 ns 13.37 ns 12.51 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 603.99 ns 1.080 ns 1.010 ns 0.0011 80 B
PredicateSustained False False True 602.33 ns 0.347 ns 0.290 ns 0.0011 80 B
PredicateSustained False True False 810.68 ns 1.637 ns 1.278 ns 0.0017 176 B
PredicateSustained False True True 4,277.36 ns 14.329 ns 13.403 ns 0.0100 736 B
PredicateSustained True False False 51.13 ns 0.718 ns 0.636 ns - -
PredicateSustained True False True 50.84 ns 0.951 ns 0.934 ns - -
PredicateSustained True True False 272.57 ns 0.560 ns 0.524 ns 0.0013 96 B
PredicateSustained True True True 3,546.66 ns 8.161 ns 7.235 ns - 656 B

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 569.7 ns 0.47 ns 0.42 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,374.0 ns 27.09 ns 25.34 ns 12.94 0.04 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,167.1 ns 1.81 ns 1.61 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,162.2 ns 1.62 ns 1.43 ns 2.04 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,000.3 ns 66.62 ns 62.31 ns 17.55 0.11 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 570.1 ns 0.86 ns 0.76 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 558,804.6 ns 1,182.55 ns 1,106.16 ns 980.16 2.27 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,934.8 ns 6.00 ns 5.32 ns 3.39 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,900.9 ns 3.32 ns 2.95 ns 3.33 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 746,105.6 ns 1,443.10 ns 1,205.05 ns 1,308.70 2.65 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 578.8 ns 0.78 ns 0.69 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,698,321.5 ns 242,965.44 ns 227,270.02 ns 101,419.80 397.79 333.3333 222.2222 222.2222 16000992 B 51,285.23
InvokeIntArrayFixed 100000 60,742.9 ns 264.88 ns 234.81 ns 104.95 0.41 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,545.0 ns 367.66 ns 343.91 ns 104.61 0.59 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,685,334.6 ns 1,236,676.38 ns 1,096,281.40 ns 144,592.71 1,837.50 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.100 μs 0.0014 μs 0.0011 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.103 μs 0.0137 μs 0.0128 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.099 μs 0.0112 μs 0.0105 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.16 ns 0.015 ns 0.012 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 113.42 ns 0.023 ns 0.021 ns 1.22 0.0004 24 B 1.00
GetInstanceStringField 101.95 ns 0.016 ns 0.013 ns 1.09 - - 0.00
SetInstanceStringField 687.78 ns 0.780 ns 0.730 ns 7.38 0.0038 256 B 10.67
GetStaticIntField 106.20 ns 0.104 ns 0.092 ns 1.14 0.0004 24 B 1.00
SetStaticIntField 105.81 ns 0.035 ns 0.031 ns 1.14 0.0004 24 B 1.00
GetStaticStringField 96.16 ns 0.076 ns 0.071 ns 1.03 - - 0.00
SetStaticStringField 674.48 ns 0.671 ns 0.561 ns 7.24 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 101.86 ns 0.042 ns 0.035 ns 1.09 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 317.9 ns 0.50 ns 0.47 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 319.2 ns 0.67 ns 0.62 ns 1.00 - - NA
InvokeStaticWithFeedback 560.2 ns 0.43 ns 0.38 ns 1.76 0.0038 312 B NA
InvokeInstanceEmpty 325.0 ns 0.10 ns 0.08 ns 1.02 - - NA
InvokeInstanceWithFeedback 575.9 ns 0.32 ns 0.27 ns 1.81 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.396 μs 0.0082 μs 0.0072 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,971.1 ns 28.05 ns 26.24 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 594.5 ns 0.64 ns 0.57 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 59,776.2 ns 259.87 ns 230.37 ns 1.00 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 605.7 ns 0.21 ns 0.18 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,081,370.9 ns 39,513.21 ns 35,027.43 ns 1.000 0.01 62.5000 62.5000 62.5000 2400723 B 1.000
InvokeSingleStringPreallocated 100000 622.5 ns 0.47 ns 0.41 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,108.1 ns 9.28 ns 8.68 ns - 104 B
PredicateRoundTrip False False True 1,099.6 ns 9.08 ns 8.50 ns - 104 B
PredicateRoundTrip False True False 2,504.1 ns 58.31 ns 171.92 ns - 200 B
PredicateRoundTrip False True True 5,944.5 ns 65.47 ns 61.24 ns 0.0076 760 B
PredicateRoundTrip True False False 472.4 ns 1.00 ns 0.89 ns - 24 B
PredicateRoundTrip True False True 471.9 ns 8.21 ns 7.68 ns - 24 B
PredicateRoundTrip True True False 715.6 ns 2.49 ns 1.94 ns 0.0010 120 B
PredicateRoundTrip True True True 5,260.4 ns 55.67 ns 52.07 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 601.24 ns 1.978 ns 1.851 ns 0.0011 80 B
PredicateSustained False False True 599.51 ns 2.302 ns 2.153 ns 0.0011 80 B
PredicateSustained False True False 835.50 ns 7.652 ns 7.158 ns 0.0017 176 B
PredicateSustained False True True 4,703.79 ns 49.825 ns 46.606 ns 0.0100 736 B
PredicateSustained True False False 43.85 ns 0.821 ns 0.806 ns - -
PredicateSustained True False True 44.18 ns 0.666 ns 0.623 ns - -
PredicateSustained True True False 259.20 ns 0.305 ns 0.286 ns 0.0013 96 B
PredicateSustained True True True 3,991.74 ns 39.956 ns 35.420 ns - 656 B

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 559.6 ns 0.44 ns 0.39 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,967.6 ns 8.79 ns 8.23 ns 12.45 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,160.3 ns 0.65 ns 0.51 ns 2.07 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,189.3 ns 1.80 ns 1.50 ns 2.13 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,008.1 ns 27.04 ns 25.30 ns 16.10 0.05 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 569.8 ns 0.38 ns 0.32 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 550,250.4 ns 1,329.49 ns 1,243.60 ns 965.64 2.18 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,877.8 ns 7.17 ns 6.71 ns 3.30 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,876.3 ns 5.69 ns 5.05 ns 3.29 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 734,896.3 ns 948.25 ns 840.60 ns 1,289.67 1.59 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 564.0 ns 0.67 ns 0.60 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,146,970.6 ns 200,317.76 ns 187,377.36 ns 103,097.18 338.56 333.3333 222.2222 222.2222 16001634 B 51,287.29
InvokeIntArrayFixed 100000 60,083.8 ns 231.57 ns 205.28 ns 106.53 0.37 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,593.7 ns 140.32 ns 124.39 ns 107.44 0.24 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,596,824.8 ns 1,590,712.30 ns 1,702,044.35 ns 144,674.82 2,942.33 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.061 μs 0.0124 μs 0.0116 μs 1.00 0.02 0.0038 360 B 1.00
NewWithSignature 1.064 μs 0.0133 μs 0.0125 μs 1.00 0.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.050 μs 0.0093 μs 0.0083 μs 0.99 0.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.12 ns 0.025 ns 0.022 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 110.99 ns 0.017 ns 0.015 ns 1.18 0.0004 24 B 1.00
GetInstanceStringField 106.59 ns 0.018 ns 0.017 ns 1.13 - - 0.00
SetInstanceStringField 664.15 ns 0.928 ns 0.868 ns 7.06 0.0038 256 B 10.67
GetStaticIntField 107.85 ns 0.089 ns 0.083 ns 1.15 0.0004 24 B 1.00
SetStaticIntField 106.73 ns 0.055 ns 0.049 ns 1.13 0.0004 24 B 1.00
GetStaticStringField 97.39 ns 0.019 ns 0.018 ns 1.03 - - 0.00
SetStaticStringField 669.70 ns 1.324 ns 1.238 ns 7.12 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 104.66 ns 0.031 ns 0.025 ns 1.11 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 317.0 ns 0.14 ns 0.12 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 324.2 ns 0.16 ns 0.15 ns 1.02 - - NA
InvokeStaticWithFeedback 542.5 ns 0.19 ns 0.17 ns 1.71 0.0038 312 B NA
InvokeInstanceEmpty 332.1 ns 0.22 ns 0.18 ns 1.05 - - NA
InvokeInstanceWithFeedback 578.6 ns 0.52 ns 0.46 ns 1.83 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.311 μs 0.0036 μs 0.0034 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,963.5 ns 24.02 ns 22.47 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 592.2 ns 0.29 ns 0.26 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 61,599.2 ns 199.39 ns 176.76 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 598.2 ns 0.25 ns 0.22 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,944,484.4 ns 49,355.13 ns 46,166.82 ns 1.000 0.01 62.5000 62.5000 62.5000 2400821 B 1.000
InvokeSingleStringPreallocated 100000 627.5 ns 0.41 ns 0.36 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,057.6 ns 7.34 ns 6.87 ns - 104 B
PredicateRoundTrip False False True 1,049.3 ns 6.57 ns 6.15 ns - 104 B
PredicateRoundTrip False True False 1,357.1 ns 20.36 ns 19.05 ns 0.0019 200 B
PredicateRoundTrip False True True 5,910.0 ns 88.25 ns 82.55 ns 0.0076 760 B
PredicateRoundTrip True False False 472.0 ns 0.59 ns 0.52 ns - 24 B
PredicateRoundTrip True False True 468.9 ns 2.34 ns 2.07 ns - 24 B
PredicateRoundTrip True True False 699.9 ns 1.25 ns 0.98 ns 0.0010 120 B
PredicateRoundTrip True True True 5,202.5 ns 40.99 ns 36.33 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 590.87 ns 1.730 ns 1.445 ns 0.0011 80 B
PredicateSustained False False True 586.63 ns 0.399 ns 0.333 ns 0.0011 80 B
PredicateSustained False True False 797.82 ns 6.431 ns 6.015 ns 0.0014 176 B
PredicateSustained False True True 4,172.38 ns 11.961 ns 10.603 ns 0.0100 736 B
PredicateSustained True False False 44.95 ns 0.711 ns 0.665 ns - -
PredicateSustained True False True 45.87 ns 0.843 ns 0.789 ns - -
PredicateSustained True True False 262.31 ns 0.444 ns 0.415 ns 0.0013 96 B
PredicateSustained True True True 3,409.77 ns 12.288 ns 10.893 ns - 656 B

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 561.9 ns 0.31 ns 0.28 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,285.6 ns 22.56 ns 21.10 ns 12.97 0.04 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,139.2 ns 1.55 ns 1.37 ns 2.03 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,146.4 ns 1.44 ns 1.28 ns 2.04 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,158.6 ns 29.15 ns 27.27 ns 16.30 0.05 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 559.1 ns 0.39 ns 0.34 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 557,826.1 ns 1,195.34 ns 1,059.64 ns 997.76 1.92 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,946.7 ns 8.40 ns 7.45 ns 3.48 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,871.4 ns 4.56 ns 4.27 ns 3.35 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 745,486.3 ns 1,416.03 ns 1,182.45 ns 1,333.42 2.18 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 558.1 ns 4.25 ns 3.98 ns 1.00 0.01 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,369,286.9 ns 175,726.70 ns 164,374.86 ns 104,582.24 778.70 333.3333 222.2222 222.2222 16001604 B 51,287.19
InvokeIntArrayFixed 100000 60,887.7 ns 648.13 ns 606.26 ns 109.09 1.30 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,828.5 ns 425.23 ns 397.76 ns 108.99 1.02 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,508,457.0 ns 1,468,622.76 ns 1,373,750.64 ns 147,833.21 2,594.07 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.079 μs 0.0074 μs 0.0065 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.070 μs 0.0091 μs 0.0085 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.073 μs 0.0091 μs 0.0085 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.48 ns 0.039 ns 0.035 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 115.59 ns 0.038 ns 0.030 ns 1.24 0.0004 24 B 1.00
GetInstanceStringField 111.40 ns 0.020 ns 0.017 ns 1.19 - - 0.00
SetInstanceStringField 675.45 ns 1.088 ns 1.018 ns 7.23 0.0038 256 B 10.67
GetStaticIntField 108.97 ns 0.037 ns 0.033 ns 1.17 0.0004 24 B 1.00
SetStaticIntField 112.93 ns 0.039 ns 0.033 ns 1.21 0.0004 24 B 1.00
GetStaticStringField 98.89 ns 0.028 ns 0.026 ns 1.06 - - 0.00
SetStaticStringField 656.35 ns 1.281 ns 1.199 ns 7.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 106.83 ns 0.072 ns 0.067 ns 1.14 0.0004 24 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 322.6 ns 0.21 ns 0.20 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 323.4 ns 0.28 ns 0.26 ns 1.00 - - NA
InvokeStaticWithFeedback 559.8 ns 0.50 ns 0.41 ns 1.73 0.0038 312 B NA
InvokeInstanceEmpty 328.1 ns 0.13 ns 0.12 ns 1.02 - - NA
InvokeInstanceWithFeedback 560.0 ns 0.23 ns 0.20 ns 1.74 0.0038 312 B NA

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.443 μs 0.0079 μs 0.0066 μs 1.00 0.0095 680 B 1.00

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,978.9 ns 23.23 ns 21.73 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 590.5 ns 2.03 ns 1.80 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 64,150.0 ns 194.86 ns 182.27 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 603.5 ns 0.23 ns 0.19 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,537,103.7 ns 94,291.64 ns 88,200.45 ns 1.000 0.02 62.5000 62.5000 62.5000 2400829 B 1.000
InvokeSingleStringPreallocated 100000 613.8 ns 0.38 ns 0.31 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,052.8 ns 7.52 ns 7.03 ns - 104 B
PredicateRoundTrip False False True 1,054.0 ns 7.72 ns 7.22 ns - 104 B
PredicateRoundTrip False True False 1,321.2 ns 22.15 ns 20.72 ns 0.0019 200 B
PredicateRoundTrip False True True 5,804.9 ns 79.19 ns 66.13 ns 0.0076 760 B
PredicateRoundTrip True False False 472.3 ns 0.93 ns 0.73 ns - 24 B
PredicateRoundTrip True False True 467.3 ns 1.22 ns 0.95 ns - 24 B
PredicateRoundTrip True True False 695.1 ns 4.66 ns 4.13 ns 0.0010 120 B
PredicateRoundTrip True True True 5,254.7 ns 31.07 ns 29.07 ns 0.0076 680 B

core-ubuntu-22.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 589.28 ns 1.442 ns 1.126 ns 0.0011 80 B
PredicateSustained False False True 587.89 ns 2.262 ns 1.766 ns 0.0011 80 B
PredicateSustained False True False 795.83 ns 5.802 ns 5.427 ns 0.0014 176 B
PredicateSustained False True True 4,527.25 ns 33.130 ns 36.824 ns 0.0100 736 B
PredicateSustained True False False 41.12 ns 0.028 ns 0.025 ns - -
PredicateSustained True False True 42.43 ns 0.761 ns 0.712 ns - -
PredicateSustained True True False 259.03 ns 0.711 ns 0.665 ns 0.0013 96 B
PredicateSustained True True True 3,578.33 ns 28.356 ns 34.823 ns - 656 B

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 541.1 ns 0.72 ns 0.67 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,238.5 ns 11.72 ns 10.96 ns 13.38 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,228.7 ns 1.95 ns 1.73 ns 2.27 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,219.5 ns 1.82 ns 1.62 ns 2.25 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,188.0 ns 20.44 ns 19.12 ns 16.98 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 533.9 ns 0.38 ns 0.33 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 586,055.4 ns 1,361.42 ns 1,273.48 ns 1,097.70 2.40 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,921.8 ns 7.65 ns 7.15 ns 3.60 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,943.9 ns 10.00 ns 9.35 ns 3.64 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 752,008.9 ns 1,454.74 ns 1,214.77 ns 1,408.53 2.35 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 539.1 ns 0.37 ns 0.33 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,840,485.4 ns 374,530.64 ns 350,336.19 ns 110,992.10 632.61 250.0000 125.0000 125.0000 16000680 B 46,513.60
InvokeIntArrayFixed 100000 61,230.2 ns 168.16 ns 149.07 ns 113.57 0.28 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,805.5 ns 323.51 ns 302.61 ns 112.78 0.55 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,455,012.1 ns 726,085.95 ns 679,181.25 ns 156,647.10 1,223.37 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.138 μs 0.0006 μs 0.0005 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.139 μs 0.0007 μs 0.0005 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.152 μs 0.0044 μs 0.0034 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.4 ns 0.02 ns 0.02 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 144.2 ns 0.04 ns 0.03 ns 1.34 0.0002 24 B 1.00
GetInstanceStringField 115.6 ns 0.03 ns 0.03 ns 1.08 - - 0.00
SetInstanceStringField 720.7 ns 1.02 ns 0.95 ns 6.71 0.0038 288 B 12.00
GetStaticIntField 129.7 ns 0.05 ns 0.04 ns 1.21 0.0002 24 B 1.00
SetStaticIntField 152.7 ns 0.04 ns 0.03 ns 1.42 0.0002 24 B 1.00
GetStaticStringField 116.4 ns 0.03 ns 0.03 ns 1.08 - - 0.00
SetStaticStringField 712.2 ns 1.39 ns 1.30 ns 6.63 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 148.5 ns 0.13 ns 0.11 ns 1.38 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 373.7 ns 0.18 ns 0.16 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 334.7 ns 0.09 ns 0.07 ns 0.90 - - NA
InvokeStaticWithFeedback 542.1 ns 0.54 ns 0.45 ns 1.45 0.0048 344 B NA
InvokeInstanceEmpty 393.0 ns 0.12 ns 0.12 ns 1.05 - - NA
InvokeInstanceWithFeedback 527.5 ns 0.68 ns 0.61 ns 1.41 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.335 μs 0.0053 μs 0.0050 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,988.5 ns 2.73 ns 2.42 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 587.7 ns 0.15 ns 0.13 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 62,134.6 ns 168.97 ns 149.79 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 594.0 ns 0.87 ns 0.81 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,892,033.1 ns 101,273.80 ns 94,731.57 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 631.3 ns 0.40 ns 0.36 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,042.4 ns 4.30 ns 3.81 ns - 104 B
PredicateRoundTrip False False True 1,043.2 ns 5.95 ns 5.57 ns - 104 B
PredicateRoundTrip False True False 1,252.0 ns 5.10 ns 4.52 ns 0.0019 200 B
PredicateRoundTrip False True True 4,651.9 ns 4.68 ns 3.91 ns 0.0076 792 B
PredicateRoundTrip True False False 444.3 ns 1.28 ns 1.19 ns - 24 B
PredicateRoundTrip True False True 451.1 ns 0.84 ns 0.79 ns - 24 B
PredicateRoundTrip True True False 649.2 ns 1.17 ns 1.10 ns 0.0010 120 B
PredicateRoundTrip True True True 3,981.3 ns 5.63 ns 5.26 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 619.14 ns 0.362 ns 0.283 ns - 80 B
PredicateSustained False False True 617.53 ns 0.633 ns 0.494 ns - 80 B
PredicateSustained False True False 809.17 ns 0.776 ns 0.606 ns 0.0014 176 B
PredicateSustained False True True 4,260.57 ns 6.940 ns 5.795 ns 0.0100 768 B
PredicateSustained True False False 58.85 ns 1.176 ns 1.100 ns - -
PredicateSustained True False True 59.22 ns 1.166 ns 1.296 ns - -
PredicateSustained True True False 256.56 ns 0.430 ns 0.381 ns 0.0013 96 B
PredicateSustained True True True 3,569.37 ns 18.543 ns 17.345 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 542.3 ns 0.37 ns 0.31 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,212.3 ns 6.65 ns 5.89 ns 13.30 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,208.4 ns 1.54 ns 1.37 ns 2.23 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,208.4 ns 1.20 ns 1.06 ns 2.23 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,960.9 ns 23.70 ns 22.17 ns 18.37 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 545.9 ns 0.39 ns 0.34 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 587,489.8 ns 1,559.78 ns 1,459.02 ns 1,076.21 2.67 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,930.2 ns 8.43 ns 7.88 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,909.2 ns 6.13 ns 5.44 ns 3.50 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 780,877.7 ns 883.62 ns 737.86 ns 1,430.47 1.57 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 546.8 ns 0.36 ns 0.32 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,833,160.4 ns 254,912.77 ns 238,445.56 ns 109,426.95 426.80 250.0000 125.0000 125.0000 16001438 B 46,515.81
InvokeIntArrayFixed 100000 60,387.2 ns 168.54 ns 140.74 ns 110.44 0.26 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,901.5 ns 600.28 ns 532.13 ns 111.38 0.94 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,523,091.4 ns 516,634.12 ns 457,982.69 ns 156,410.44 814.00 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.153 μs 0.0088 μs 0.0082 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.153 μs 0.0071 μs 0.0063 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.155 μs 0.0014 μs 0.0011 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.6 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 145.3 ns 0.05 ns 0.04 ns 1.35 0.0002 24 B 1.00
GetInstanceStringField 114.8 ns 0.02 ns 0.02 ns 1.07 - - 0.00
SetInstanceStringField 734.3 ns 0.94 ns 0.88 ns 6.83 0.0038 288 B 12.00
GetStaticIntField 119.9 ns 0.04 ns 0.03 ns 1.12 0.0002 24 B 1.00
SetStaticIntField 149.6 ns 0.04 ns 0.04 ns 1.39 0.0002 24 B 1.00
GetStaticStringField 107.9 ns 0.02 ns 0.02 ns 1.00 - - 0.00
SetStaticStringField 725.5 ns 1.09 ns 1.02 ns 6.74 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 157.1 ns 0.05 ns 0.04 ns 1.46 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 309.2 ns 0.11 ns 0.10 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 277.6 ns 0.12 ns 0.11 ns 0.90 - - NA
InvokeStaticWithFeedback 545.8 ns 0.89 ns 0.79 ns 1.76 0.0048 344 B NA
InvokeInstanceEmpty 318.5 ns 0.16 ns 0.15 ns 1.03 - - NA
InvokeInstanceWithFeedback 554.0 ns 0.37 ns 0.31 ns 1.79 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.338 μs 0.0023 μs 0.0021 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,961.1 ns 19.08 ns 17.84 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 593.7 ns 0.56 ns 0.50 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 58,860.2 ns 158.70 ns 140.68 ns 1.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 601.7 ns 0.19 ns 0.17 ns 0.01 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,350,627.2 ns 70,692.00 ns 66,125.35 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 635.3 ns 0.37 ns 0.33 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,057.8 ns 4.76 ns 4.45 ns - 104 B
PredicateRoundTrip False False True 1,059.0 ns 5.41 ns 4.79 ns - 104 B
PredicateRoundTrip False True False 1,297.0 ns 4.27 ns 4.00 ns 0.0019 200 B
PredicateRoundTrip False True True 5,533.1 ns 44.18 ns 41.32 ns 0.0076 792 B
PredicateRoundTrip True False False 427.3 ns 0.29 ns 0.24 ns - 24 B
PredicateRoundTrip True False True 447.2 ns 0.60 ns 0.53 ns - 24 B
PredicateRoundTrip True True False 648.4 ns 0.97 ns 0.76 ns 0.0010 120 B
PredicateRoundTrip True True True 4,599.2 ns 44.04 ns 41.20 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 612.75 ns 1.074 ns 0.952 ns 0.0011 80 B
PredicateSustained False False True 610.28 ns 0.866 ns 0.768 ns 0.0011 80 B
PredicateSustained False True False 815.71 ns 5.826 ns 5.450 ns 0.0014 176 B
PredicateSustained False True True 4,448.39 ns 26.344 ns 24.643 ns 0.0100 768 B
PredicateSustained True False False 51.69 ns 1.028 ns 1.010 ns - -
PredicateSustained True False True 51.49 ns 0.926 ns 0.866 ns - -
PredicateSustained True True False 242.62 ns 0.458 ns 0.428 ns 0.0013 96 B
PredicateSustained True True True 3,800.01 ns 40.093 ns 37.503 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 536.1 ns 0.62 ns 0.55 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,193.3 ns 11.58 ns 10.83 ns 13.42 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,185.1 ns 0.96 ns 0.75 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,188.9 ns 2.20 ns 2.06 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,914.4 ns 24.72 ns 21.91 ns 16.63 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 538.0 ns 0.28 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 568,264.7 ns 1,094.29 ns 1,023.60 ns 1,056.35 1.90 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,898.5 ns 4.91 ns 4.59 ns 3.53 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,902.0 ns 7.35 ns 6.88 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 745,475.4 ns 1,927.36 ns 1,609.43 ns 1,385.77 2.95 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 538.0 ns 0.50 ns 0.45 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,882,086.1 ns 196,756.96 ns 184,046.58 ns 109,446.27 342.72 333.3333 222.2222 222.2222 16000669 B 46,513.57
InvokeIntArrayFixed 100000 60,898.2 ns 365.33 ns 305.06 ns 113.19 0.55 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,224.5 ns 213.13 ns 177.98 ns 113.80 0.33 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,528,797.9 ns 710,586.34 ns 629,916.28 ns 157,116.74 1,138.15 1000.0000 833.3333 833.3333 27894435 B 81,088.47

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.114 μs 0.0007 μs 0.0006 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.146 μs 0.0104 μs 0.0098 μs 1.03 0.0038 360 B 1.00
DeclaredNewEmpty 1.118 μs 0.0119 μs 0.0111 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 112.5 ns 0.05 ns 0.05 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 148.1 ns 0.04 ns 0.04 ns 1.32 0.0002 24 B 1.00
GetInstanceStringField 116.9 ns 0.05 ns 0.04 ns 1.04 - - 0.00
SetInstanceStringField 723.0 ns 0.73 ns 0.65 ns 6.43 0.0038 288 B 12.00
GetStaticIntField 123.6 ns 0.05 ns 0.04 ns 1.10 0.0002 24 B 1.00
SetStaticIntField 142.0 ns 0.04 ns 0.04 ns 1.26 0.0002 24 B 1.00
GetStaticStringField 112.9 ns 0.03 ns 0.03 ns 1.00 - - 0.00
SetStaticStringField 701.6 ns 1.11 ns 1.03 ns 6.24 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 149.8 ns 0.04 ns 0.03 ns 1.33 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 312.5 ns 0.19 ns 0.18 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 275.6 ns 0.13 ns 0.12 ns 0.88 - - NA
InvokeStaticWithFeedback 535.1 ns 0.50 ns 0.42 ns 1.71 0.0048 344 B NA
InvokeInstanceEmpty 328.2 ns 0.09 ns 0.07 ns 1.05 - - NA
InvokeInstanceWithFeedback 543.1 ns 0.37 ns 0.33 ns 1.74 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.320 μs 0.0017 μs 0.0015 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,925.3 ns 17.14 ns 15.19 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 591.2 ns 0.32 ns 0.27 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,512.3 ns 264.44 ns 247.36 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 586.3 ns 0.51 ns 0.45 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,027,207.8 ns 35,914.79 ns 31,837.52 ns 1.000 78.1250 78.1250 78.1250 2400946 B 1.000
InvokeSingleStringPreallocated 100000 626.0 ns 0.50 ns 0.44 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,021.9 ns 6.95 ns 6.50 ns - 104 B
PredicateRoundTrip False False True 1,007.4 ns 6.41 ns 5.99 ns - 104 B
PredicateRoundTrip False True False 1,222.6 ns 5.78 ns 5.41 ns 0.0019 200 B
PredicateRoundTrip False True True 4,558.3 ns 20.72 ns 19.38 ns 0.0076 792 B
PredicateRoundTrip True False False 425.5 ns 0.32 ns 0.29 ns - 24 B
PredicateRoundTrip True False True 435.8 ns 0.34 ns 0.28 ns - 24 B
PredicateRoundTrip True True False 618.8 ns 0.95 ns 0.74 ns 0.0010 120 B
PredicateRoundTrip True True True 3,904.9 ns 18.11 ns 16.94 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 591.90 ns 0.275 ns 0.229 ns 0.0011 80 B
PredicateSustained False False True 589.68 ns 0.519 ns 0.460 ns 0.0011 80 B
PredicateSustained False True False 799.99 ns 9.391 ns 8.784 ns 0.0014 176 B
PredicateSustained False True True 4,119.43 ns 17.081 ns 15.142 ns 0.0100 768 B
PredicateSustained True False False 51.93 ns 0.979 ns 1.088 ns - -
PredicateSustained True False True 52.68 ns 0.032 ns 0.028 ns - -
PredicateSustained True True False 239.02 ns 0.420 ns 0.328 ns 0.0013 96 B
PredicateSustained True True True 3,463.50 ns 11.544 ns 10.798 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 555.0 ns 0.37 ns 0.31 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,086.0 ns 7.75 ns 6.87 ns 12.77 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,210.8 ns 1.40 ns 1.24 ns 2.18 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,213.8 ns 1.86 ns 1.65 ns 2.19 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,288.8 ns 29.78 ns 27.86 ns 16.74 0.05 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 552.2 ns 0.28 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 566,149.5 ns 1,052.28 ns 932.82 ns 1,025.35 1.69 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,944.7 ns 9.42 ns 8.35 ns 3.52 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,935.5 ns 3.41 ns 3.02 ns 3.51 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 745,092.0 ns 1,563.88 ns 1,305.91 ns 1,349.43 2.36 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 536.2 ns 0.45 ns 0.40 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,180,371.5 ns 158,312.60 ns 132,198.19 ns 110,364.59 250.63 333.3333 222.2222 222.2222 16001526 B 46,516.06
InvokeIntArrayFixed 100000 59,991.2 ns 300.20 ns 266.12 ns 111.88 0.49 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,077.0 ns 317.73 ns 281.66 ns 112.04 0.51 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,405,029.5 ns 1,481,813.25 ns 1,386,089.03 ns 157,405.68 2,505.81 1000.0000 833.3333 833.3333 27894596 B 81,088.94

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.136 μs 0.0166 μs 0.0155 μs 1.00 0.02 0.0038 360 B 1.00
NewWithSignature 1.137 μs 0.0141 μs 0.0132 μs 1.00 0.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.124 μs 0.0167 μs 0.0156 μs 0.99 0.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 110.7 ns 0.03 ns 0.02 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 146.8 ns 0.07 ns 0.06 ns 1.33 0.0002 24 B 1.00
GetInstanceStringField 116.8 ns 0.02 ns 0.02 ns 1.05 - - 0.00
SetInstanceStringField 705.3 ns 1.10 ns 1.03 ns 6.37 0.0038 288 B 12.00
GetStaticIntField 122.4 ns 0.04 ns 0.03 ns 1.11 0.0002 24 B 1.00
SetStaticIntField 152.2 ns 0.06 ns 0.05 ns 1.38 0.0002 24 B 1.00
GetStaticStringField 111.9 ns 0.03 ns 0.03 ns 1.01 - - 0.00
SetStaticStringField 693.9 ns 1.14 ns 1.07 ns 6.27 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 156.8 ns 0.04 ns 0.04 ns 1.42 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 311.0 ns 0.10 ns 0.09 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 273.2 ns 0.18 ns 0.16 ns 0.88 - - NA
InvokeStaticWithFeedback 531.2 ns 0.47 ns 0.39 ns 1.71 0.0048 344 B NA
InvokeInstanceEmpty 315.2 ns 0.09 ns 0.08 ns 1.01 - - NA
InvokeInstanceWithFeedback 557.3 ns 0.68 ns 0.60 ns 1.79 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.331 μs 0.0028 μs 0.0026 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,986.1 ns 18.50 ns 17.31 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 612.7 ns 0.23 ns 0.18 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 62,813.2 ns 191.59 ns 159.98 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 622.2 ns 0.28 ns 0.25 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,095,363.1 ns 44,197.20 ns 36,906.66 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 647.5 ns 0.26 ns 0.21 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,029.1 ns 6.16 ns 5.46 ns - 104 B
PredicateRoundTrip False False True 1,047.0 ns 6.08 ns 5.39 ns - 104 B
PredicateRoundTrip False True False 1,238.6 ns 1.26 ns 1.05 ns 0.0019 200 B
PredicateRoundTrip False True True 5,237.4 ns 67.93 ns 60.22 ns 0.0076 792 B
PredicateRoundTrip True False False 444.7 ns 0.15 ns 0.12 ns - 24 B
PredicateRoundTrip True False True 445.6 ns 0.44 ns 0.39 ns - 24 B
PredicateRoundTrip True True False 635.1 ns 0.92 ns 0.72 ns 0.0010 120 B
PredicateRoundTrip True True True 3,865.1 ns 16.29 ns 15.24 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 592.02 ns 1.018 ns 0.795 ns 0.0011 80 B
PredicateSustained False False True 598.15 ns 0.822 ns 0.641 ns 0.0011 80 B
PredicateSustained False True False 803.34 ns 2.228 ns 2.084 ns 0.0014 176 B
PredicateSustained False True True 4,296.74 ns 22.082 ns 27.119 ns 0.0100 768 B
PredicateSustained True False False 50.72 ns 0.364 ns 0.322 ns - -
PredicateSustained True False True 48.46 ns 0.194 ns 0.172 ns - -
PredicateSustained True True False 236.77 ns 0.361 ns 0.338 ns 0.0013 96 B
PredicateSustained True True True 3,505.01 ns 28.164 ns 26.345 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 548.9 ns 0.36 ns 0.32 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,090.2 ns 4.97 ns 4.41 ns 12.92 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,194.4 ns 0.59 ns 0.49 ns 2.18 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,207.4 ns 0.92 ns 0.82 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,233.0 ns 16.16 ns 14.33 ns 16.82 0.03 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 546.1 ns 0.70 ns 0.62 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 560,575.8 ns 559.57 ns 496.04 ns 1,026.50 1.42 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,759.0 ns 5.15 ns 4.82 ns 3.22 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,781.5 ns 8.29 ns 7.75 ns 3.26 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 752,895.8 ns 968.94 ns 906.35 ns 1,378.67 2.20 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 542.5 ns 0.69 ns 0.61 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,312,225.5 ns 242,398.34 ns 226,739.56 ns 109,331.00 421.98 333.3333 222.2222 222.2222 16001254 B 46,515.27
InvokeIntArrayFixed 100000 45,621.7 ns 299.40 ns 265.41 ns 84.09 0.48 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 47,141.2 ns 909.87 ns 1,150.69 ns 86.90 2.08 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,495,534.9 ns 932,743.43 ns 872,488.78 ns 155,751.72 1,566.71 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.138 μs 0.0112 μs 0.0105 μs 1.129 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.156 μs 0.0118 μs 0.0110 μs 1.148 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.151 μs 0.0044 μs 0.0035 μs 1.150 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.0 ns 0.01 ns 0.01 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 141.5 ns 0.05 ns 0.05 ns 1.31 0.0002 24 B 1.00
GetInstanceStringField 113.2 ns 0.04 ns 0.04 ns 1.05 - - 0.00
SetInstanceStringField 708.9 ns 0.84 ns 0.74 ns 6.57 0.0038 288 B 12.00
GetStaticIntField 121.8 ns 0.04 ns 0.04 ns 1.13 0.0002 24 B 1.00
SetStaticIntField 144.0 ns 0.06 ns 0.05 ns 1.33 0.0002 24 B 1.00
GetStaticStringField 112.5 ns 0.05 ns 0.05 ns 1.04 - - 0.00
SetStaticStringField 712.7 ns 0.96 ns 0.85 ns 6.60 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.5 ns 0.03 ns 0.03 ns 1.40 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.0 ns 0.24 ns 0.23 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 270.0 ns 0.11 ns 0.10 ns 0.89 - - NA
InvokeStaticWithFeedback 541.6 ns 0.49 ns 0.44 ns 1.78 0.0048 344 B NA
InvokeInstanceEmpty 309.3 ns 0.12 ns 0.11 ns 1.01 - - NA
InvokeInstanceWithFeedback 548.7 ns 0.28 ns 0.25 ns 1.80 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.319 μs 0.0011 μs 0.0010 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,937.1 ns 6.36 ns 4.97 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 592.3 ns 0.84 ns 0.70 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,628.0 ns 196.72 ns 184.01 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 597.2 ns 0.55 ns 0.49 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,268,258.7 ns 52,633.48 ns 49,233.39 ns 1.000 78.1250 78.1250 78.1250 2400822 B 1.000
InvokeSingleStringPreallocated 100000 638.9 ns 0.35 ns 0.31 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,050.7 ns 6.58 ns 5.84 ns - 104 B
PredicateRoundTrip False False True 1,070.2 ns 9.20 ns 8.61 ns - 104 B
PredicateRoundTrip False True False 1,229.1 ns 8.25 ns 7.72 ns 0.0019 200 B
PredicateRoundTrip False True True 4,673.2 ns 16.66 ns 15.58 ns 0.0076 792 B
PredicateRoundTrip True False False 439.1 ns 0.17 ns 0.15 ns - 24 B
PredicateRoundTrip True False True 437.1 ns 0.29 ns 0.25 ns - 24 B
PredicateRoundTrip True True False 632.8 ns 0.62 ns 0.49 ns 0.0010 120 B
PredicateRoundTrip True True True 4,064.0 ns 13.04 ns 12.20 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 626.80 ns 0.567 ns 0.503 ns - 80 B
PredicateSustained False False True 612.53 ns 0.614 ns 0.479 ns - 80 B
PredicateSustained False True False 805.27 ns 7.733 ns 7.234 ns 0.0014 176 B
PredicateSustained False True True 4,418.91 ns 26.281 ns 24.584 ns 0.0100 768 B
PredicateSustained True False False 50.89 ns 0.022 ns 0.020 ns - -
PredicateSustained True False True 51.28 ns 0.024 ns 0.023 ns - -
PredicateSustained True True False 245.28 ns 0.154 ns 0.137 ns 0.0013 96 B
PredicateSustained True True True 3,526.02 ns 12.048 ns 10.061 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 529.8 ns 0.97 ns 0.90 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,108.6 ns 8.70 ns 8.13 ns 13.42 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,195.0 ns 2.02 ns 1.89 ns 2.26 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,197.9 ns 1.58 ns 1.32 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,397.7 ns 27.55 ns 25.77 ns 17.74 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 536.7 ns 0.79 ns 0.70 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 565,440.3 ns 1,568.70 ns 1,467.37 ns 1,053.54 2.96 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,777.9 ns 15.19 ns 14.21 ns 3.31 0.03 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,732.8 ns 7.28 ns 6.45 ns 3.23 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 739,365.9 ns 861.83 ns 719.67 ns 1,377.60 2.17 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 532.5 ns 0.85 ns 0.71 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,142,474.5 ns 214,984.69 ns 201,096.81 ns 111,072.64 392.47 333.3333 222.2222 222.2222 16001021 B 46,514.60
InvokeIntArrayFixed 100000 45,307.1 ns 742.14 ns 694.20 ns 85.09 1.27 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 45,310.8 ns 488.42 ns 432.98 ns 85.10 0.79 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 81,895,182.3 ns 473,954.56 ns 420,148.37 ns 153,803.41 787.48 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.116 μs 0.0096 μs 0.0090 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.125 μs 0.0093 μs 0.0087 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.105 μs 0.0012 μs 0.0009 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 110.4 ns 0.06 ns 0.05 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 145.5 ns 0.04 ns 0.03 ns 1.32 0.0002 24 B 1.00
GetInstanceStringField 115.3 ns 0.05 ns 0.05 ns 1.04 - - 0.00
SetInstanceStringField 708.1 ns 1.17 ns 1.09 ns 6.41 0.0038 288 B 12.00
GetStaticIntField 124.4 ns 0.06 ns 0.05 ns 1.13 0.0002 24 B 1.00
SetStaticIntField 149.2 ns 0.07 ns 0.06 ns 1.35 0.0002 24 B 1.00
GetStaticStringField 113.0 ns 0.07 ns 0.07 ns 1.02 - - 0.00
SetStaticStringField 704.4 ns 1.69 ns 1.59 ns 6.38 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 150.5 ns 0.04 ns 0.03 ns 1.36 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 307.7 ns 0.12 ns 0.11 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 272.6 ns 0.18 ns 0.17 ns 0.89 - - NA
InvokeStaticWithFeedback 517.1 ns 0.19 ns 0.17 ns 1.68 0.0048 344 B NA
InvokeInstanceEmpty 320.8 ns 0.28 ns 0.27 ns 1.04 - - NA
InvokeInstanceWithFeedback 547.5 ns 0.81 ns 0.76 ns 1.78 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.322 μs 0.0021 μs 0.0020 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,942.8 ns 19.19 ns 17.95 ns 1.00 0.01 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 585.1 ns 0.51 ns 0.45 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,158.6 ns 289.58 ns 270.87 ns 1.00 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 597.5 ns 1.03 ns 0.97 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,983,378.6 ns 166,860.02 ns 171,352.96 ns 1.000 0.03 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 628.6 ns 0.74 ns 0.58 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,029.6 ns 6.48 ns 6.07 ns - 104 B
PredicateRoundTrip False False True 1,015.4 ns 6.41 ns 6.00 ns - 104 B
PredicateRoundTrip False True False 1,243.6 ns 7.07 ns 6.61 ns 0.0019 200 B
PredicateRoundTrip False True True 4,559.3 ns 11.14 ns 10.42 ns 0.0076 792 B
PredicateRoundTrip True False False 425.2 ns 0.80 ns 0.75 ns - 24 B
PredicateRoundTrip True False True 435.0 ns 0.42 ns 0.39 ns - 24 B
PredicateRoundTrip True True False 634.3 ns 0.52 ns 0.43 ns 0.0010 120 B
PredicateRoundTrip True True True 3,988.7 ns 12.01 ns 11.24 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 597.92 ns 0.219 ns 0.183 ns 0.0011 80 B
PredicateSustained False False True 595.33 ns 0.776 ns 0.648 ns 0.0011 80 B
PredicateSustained False True False 801.78 ns 9.171 ns 8.578 ns 0.0014 176 B
PredicateSustained False True True 4,168.24 ns 17.401 ns 15.426 ns 0.0100 768 B
PredicateSustained True False False 53.06 ns 0.025 ns 0.023 ns - -
PredicateSustained True False True 51.02 ns 0.980 ns 1.204 ns - -
PredicateSustained True True False 240.64 ns 0.439 ns 0.410 ns 0.0013 96 B
PredicateSustained True True True 3,690.99 ns 55.769 ns 52.166 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 548.9 ns 0.32 ns 0.28 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,051.0 ns 9.33 ns 8.27 ns 12.85 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,193.9 ns 1.18 ns 0.98 ns 2.18 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,210.8 ns 1.88 ns 1.67 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,107.8 ns 46.95 ns 43.92 ns 16.59 0.08 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 542.9 ns 0.34 ns 0.26 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 562,880.3 ns 862.56 ns 806.84 ns 1,036.73 1.52 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,793.1 ns 10.10 ns 8.95 ns 3.30 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,740.6 ns 11.70 ns 10.95 ns 3.21 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 741,545.2 ns 855.90 ns 758.73 ns 1,365.80 1.49 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 550.7 ns 0.23 ns 0.20 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,739,853.3 ns 191,828.50 ns 179,436.50 ns 106,657.04 317.69 333.3333 222.2222 222.2222 16000771 B 46,513.87
InvokeIntArrayFixed 100000 45,770.0 ns 338.88 ns 316.98 ns 83.11 0.56 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 45,515.1 ns 366.24 ns 342.58 ns 82.64 0.60 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 82,603,395.9 ns 659,729.44 ns 617,111.33 ns 149,987.34 1,086.53 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.094 μs 0.0018 μs 0.0014 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.118 μs 0.0109 μs 0.0102 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.121 μs 0.0094 μs 0.0088 μs 1.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 103.8 ns 0.05 ns 0.04 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 149.1 ns 0.04 ns 0.03 ns 1.44 0.0002 24 B 1.00
GetInstanceStringField 115.5 ns 0.03 ns 0.03 ns 1.11 - - 0.00
SetInstanceStringField 705.9 ns 1.02 ns 0.96 ns 6.80 0.0038 288 B 12.00
GetStaticIntField 122.4 ns 0.05 ns 0.04 ns 1.18 0.0002 24 B 1.00
SetStaticIntField 140.6 ns 0.04 ns 0.04 ns 1.35 0.0002 24 B 1.00
GetStaticStringField 117.1 ns 0.02 ns 0.02 ns 1.13 - - 0.00
SetStaticStringField 706.1 ns 1.12 ns 1.05 ns 6.80 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 149.5 ns 0.04 ns 0.03 ns 1.44 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 310.6 ns 0.10 ns 0.10 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 273.7 ns 0.08 ns 0.07 ns 0.88 - - NA
InvokeStaticWithFeedback 543.8 ns 0.32 ns 0.28 ns 1.75 0.0048 344 B NA
InvokeInstanceEmpty 312.1 ns 0.09 ns 0.08 ns 1.00 - - NA
InvokeInstanceWithFeedback 546.5 ns 0.32 ns 0.29 ns 1.76 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.296 μs 0.0016 μs 0.0013 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,956.0 ns 4.72 ns 3.69 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 597.6 ns 0.23 ns 0.21 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,082.6 ns 315.17 ns 294.81 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 593.5 ns 0.29 ns 0.26 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,974,047.8 ns 89,984.06 ns 84,171.15 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 636.8 ns 0.29 ns 0.26 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,009.6 ns 7.04 ns 6.59 ns - 104 B
PredicateRoundTrip False False True 1,011.8 ns 0.92 ns 0.72 ns - 104 B
PredicateRoundTrip False True False 1,228.0 ns 7.25 ns 6.78 ns 0.0019 200 B
PredicateRoundTrip False True True 4,470.5 ns 7.84 ns 6.95 ns 0.0076 792 B
PredicateRoundTrip True False False 432.8 ns 0.34 ns 0.32 ns - 24 B
PredicateRoundTrip True False True 443.5 ns 3.23 ns 3.03 ns - 24 B
PredicateRoundTrip True True False 627.6 ns 1.43 ns 1.12 ns 0.0010 120 B
PredicateRoundTrip True True True 4,065.9 ns 29.37 ns 24.53 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 600.55 ns 0.694 ns 0.542 ns 0.0011 80 B
PredicateSustained False False True 600.99 ns 1.598 ns 1.247 ns 0.0011 80 B
PredicateSustained False True False 799.53 ns 5.355 ns 5.009 ns 0.0014 176 B
PredicateSustained False True True 4,218.24 ns 40.974 ns 38.327 ns 0.0100 768 B
PredicateSustained True False False 53.15 ns 0.493 ns 0.461 ns - -
PredicateSustained True False True 51.71 ns 1.014 ns 1.245 ns - -
PredicateSustained True True False 239.52 ns 0.434 ns 0.406 ns 0.0013 96 B
PredicateSustained True True True 3,400.56 ns 19.465 ns 16.254 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 525.8 ns 0.96 ns 0.89 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,206.6 ns 23.64 ns 22.11 ns 13.71 0.05 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,197.4 ns 3.15 ns 2.95 ns 2.28 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,233.1 ns 3.26 ns 3.05 ns 2.35 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,165.4 ns 18.08 ns 16.03 ns 17.43 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 521.2 ns 0.54 ns 0.48 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 572,694.3 ns 1,658.63 ns 1,551.48 ns 1,098.76 3.05 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,944.2 ns 10.71 ns 10.02 ns 3.73 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,949.9 ns 6.09 ns 4.75 ns 3.74 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 753,657.9 ns 1,954.59 ns 1,828.33 ns 1,445.96 3.63 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 523.1 ns 0.47 ns 0.42 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,545,818.6 ns 338,760.66 ns 316,876.94 ns 115,742.74 593.44 250.0000 125.0000 125.0000 16000765 B 46,513.85
InvokeIntArrayFixed 100000 60,839.7 ns 421.10 ns 393.90 ns 116.30 0.73 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,572.0 ns 580.65 ns 543.14 ns 115.79 1.01 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,946,874.5 ns 886,323.18 ns 829,067.25 ns 164,300.80 1,540.08 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.132 μs 0.0017 μs 0.0014 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.140 μs 0.0017 μs 0.0013 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.148 μs 0.0071 μs 0.0067 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 106.8 ns 0.05 ns 0.05 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 147.3 ns 0.08 ns 0.07 ns 1.38 0.00 0.0002 24 B 1.00
GetInstanceStringField 117.0 ns 0.04 ns 0.04 ns 1.10 0.00 - - 0.00
SetInstanceStringField 720.6 ns 1.23 ns 1.15 ns 6.75 0.01 0.0038 288 B 12.00
GetStaticIntField 127.9 ns 0.04 ns 0.03 ns 1.20 0.00 0.0002 24 B 1.00
SetStaticIntField 152.4 ns 0.07 ns 0.06 ns 1.43 0.00 0.0002 24 B 1.00
GetStaticStringField 111.8 ns 0.05 ns 0.04 ns 1.05 0.00 - - 0.00
SetStaticStringField 711.0 ns 2.19 ns 2.05 ns 6.66 0.02 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 146.2 ns 0.05 ns 0.04 ns 1.37 0.00 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 385.0 ns 0.26 ns 0.23 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 352.2 ns 0.17 ns 0.15 ns 0.91 - - NA
InvokeStaticWithFeedback 538.1 ns 0.33 ns 0.29 ns 1.40 0.0048 344 B NA
InvokeInstanceEmpty 398.1 ns 0.16 ns 0.15 ns 1.03 - - NA
InvokeInstanceWithFeedback 526.6 ns 0.19 ns 0.17 ns 1.37 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.309 μs 0.0010 μs 0.0008 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,978.5 ns 1.98 ns 1.65 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 573.7 ns 0.33 ns 0.29 ns 0.29 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,351.1 ns 236.20 ns 220.94 ns 1.000 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 579.0 ns 0.47 ns 0.42 ns 0.009 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,865,779.6 ns 162,967.12 ns 152,439.54 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 624.0 ns 0.37 ns 0.31 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,036.6 ns 6.98 ns 6.18 ns - 104 B
PredicateRoundTrip False False True 1,038.5 ns 11.44 ns 10.70 ns - 104 B
PredicateRoundTrip False True False 1,275.3 ns 7.35 ns 6.51 ns 0.0019 200 B
PredicateRoundTrip False True True 4,747.4 ns 15.11 ns 14.13 ns 0.0076 792 B
PredicateRoundTrip True False False 444.0 ns 0.70 ns 0.62 ns - 24 B
PredicateRoundTrip True False True 441.6 ns 0.49 ns 0.38 ns - 24 B
PredicateRoundTrip True True False 649.4 ns 1.22 ns 1.08 ns 0.0010 120 B
PredicateRoundTrip True True True 4,103.2 ns 9.57 ns 8.96 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 615.41 ns 0.394 ns 0.329 ns - 80 B
PredicateSustained False False True 610.79 ns 0.221 ns 0.196 ns 0.0011 80 B
PredicateSustained False True False 805.90 ns 6.202 ns 5.801 ns 0.0014 176 B
PredicateSustained False True True 4,324.11 ns 13.648 ns 12.766 ns 0.0100 768 B
PredicateSustained True False False 59.14 ns 1.169 ns 1.251 ns - -
PredicateSustained True False True 59.05 ns 1.123 ns 1.202 ns - -
PredicateSustained True True False 249.83 ns 0.608 ns 0.569 ns 0.0013 96 B
PredicateSustained True True True 3,557.40 ns 11.333 ns 10.601 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 534.3 ns 0.67 ns 0.60 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,006.7 ns 8.06 ns 7.14 ns 13.11 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,168.9 ns 2.04 ns 1.91 ns 2.19 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,173.1 ns 2.19 ns 1.94 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,817.8 ns 40.07 ns 35.52 ns 18.37 0.07 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 528.0 ns 0.24 ns 0.21 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 548,674.5 ns 1,360.74 ns 1,272.84 ns 1,039.21 2.37 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,885.1 ns 9.48 ns 8.87 ns 3.57 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,889.0 ns 2.69 ns 2.38 ns 3.58 0.00 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 756,883.3 ns 964.73 ns 805.59 ns 1,433.56 1.57 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 533.3 ns 0.30 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,503,805.8 ns 155,401.71 ns 145,362.86 ns 109,705.36 268.65 333.3333 222.2222 222.2222 16001872 B 46,517.07
InvokeIntArrayFixed 100000 60,546.9 ns 369.19 ns 327.28 ns 113.54 0.60 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,514.4 ns 245.10 ns 217.28 ns 113.48 0.40 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,930,367.6 ns 1,594,063.64 ns 1,491,088.12 ns 159,260.01 2,709.17 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.145 μs 0.0099 μs 0.0093 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.143 μs 0.0096 μs 0.0090 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.141 μs 0.0106 μs 0.0099 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 104.91 ns 0.036 ns 0.030 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 138.49 ns 0.049 ns 0.041 ns 1.32 0.0002 24 B 1.00
GetInstanceStringField 112.19 ns 0.027 ns 0.025 ns 1.07 - - 0.00
SetInstanceStringField 713.53 ns 0.943 ns 0.788 ns 6.80 0.0038 288 B 12.00
GetStaticIntField 111.05 ns 0.081 ns 0.075 ns 1.06 0.0004 24 B 1.00
SetStaticIntField 135.90 ns 0.035 ns 0.031 ns 1.30 0.0002 24 B 1.00
GetStaticStringField 98.21 ns 0.011 ns 0.010 ns 0.94 - - 0.00
SetStaticStringField 699.34 ns 0.856 ns 0.801 ns 6.67 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 147.25 ns 0.057 ns 0.050 ns 1.40 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.8 ns 0.20 ns 0.18 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 271.7 ns 0.14 ns 0.13 ns 0.89 - - NA
InvokeStaticWithFeedback 537.1 ns 0.52 ns 0.46 ns 1.76 0.0048 344 B NA
InvokeInstanceEmpty 305.7 ns 0.13 ns 0.12 ns 1.00 - - NA
InvokeInstanceWithFeedback 537.2 ns 0.57 ns 0.53 ns 1.76 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.290 μs 0.0012 μs 0.0010 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,921.3 ns 7.85 ns 6.13 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 569.7 ns 0.25 ns 0.22 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 57,266.1 ns 177.90 ns 166.41 ns 1.00 0.00 0.3052 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 573.1 ns 0.22 ns 0.19 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,553,766.3 ns 119,290.52 ns 111,584.42 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 628.1 ns 0.43 ns 0.38 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,036.5 ns 6.03 ns 5.34 ns - 104 B
PredicateRoundTrip False False True 996.3 ns 1.57 ns 1.47 ns - 104 B
PredicateRoundTrip False True False 1,208.9 ns 6.08 ns 5.69 ns 0.0019 200 B
PredicateRoundTrip False True True 4,797.5 ns 18.38 ns 17.19 ns 0.0076 792 B
PredicateRoundTrip True False False 417.8 ns 0.61 ns 0.57 ns - 24 B
PredicateRoundTrip True False True 423.1 ns 0.71 ns 0.66 ns - 24 B
PredicateRoundTrip True True False 629.6 ns 0.92 ns 0.72 ns 0.0010 120 B
PredicateRoundTrip True True True 4,072.0 ns 14.66 ns 13.71 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 572.07 ns 0.759 ns 0.673 ns 0.0011 80 B
PredicateSustained False False True 584.99 ns 2.392 ns 2.237 ns 0.0011 80 B
PredicateSustained False True False 768.55 ns 6.463 ns 6.046 ns 0.0014 176 B
PredicateSustained False True True 4,086.46 ns 34.350 ns 32.131 ns 0.0100 768 B
PredicateSustained True False False 50.84 ns 0.942 ns 0.925 ns - -
PredicateSustained True False True 51.03 ns 0.966 ns 0.992 ns - -
PredicateSustained True True False 237.23 ns 0.246 ns 0.206 ns 0.0013 96 B
PredicateSustained True True True 3,589.56 ns 25.060 ns 23.441 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 522.8 ns 0.72 ns 0.64 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 6,939.6 ns 10.41 ns 9.23 ns 13.27 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,183.4 ns 1.65 ns 1.46 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,173.9 ns 1.85 ns 1.64 ns 2.25 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,999.8 ns 30.93 ns 28.93 ns 17.21 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 533.2 ns 0.30 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 560,466.3 ns 1,061.17 ns 940.70 ns 1,051.06 1.77 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,864.3 ns 6.15 ns 5.46 ns 3.50 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,867.4 ns 6.04 ns 5.35 ns 3.50 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 742,330.6 ns 1,492.53 ns 1,246.33 ns 1,392.12 2.34 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 539.4 ns 0.26 ns 0.22 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 57,865,027.2 ns 199,194.83 ns 186,326.97 ns 107,273.23 337.15 333.3333 222.2222 222.2222 16001453 B 46,515.85
InvokeIntArrayFixed 100000 59,973.1 ns 333.33 ns 311.79 ns 111.18 0.56 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,025.0 ns 314.33 ns 278.65 ns 111.28 0.50 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,145,625.0 ns 725,412.19 ns 678,551.02 ns 155,993.58 1,219.91 1000.0000 833.3333 833.3333 27894261 B 81,087.97

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.096 μs 0.0130 μs 0.0121 μs 1.00 0.02 0.0038 360 B 1.00
NewWithSignature 1.117 μs 0.0122 μs 0.0114 μs 1.02 0.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.105 μs 0.0094 μs 0.0078 μs 1.01 0.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 111.5 ns 0.05 ns 0.05 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 156.7 ns 0.06 ns 0.05 ns 1.41 0.0002 24 B 1.00
GetInstanceStringField 117.4 ns 0.06 ns 0.06 ns 1.05 - - 0.00
SetInstanceStringField 705.1 ns 1.27 ns 1.18 ns 6.32 0.0038 288 B 12.00
GetStaticIntField 125.3 ns 0.03 ns 0.02 ns 1.12 0.0002 24 B 1.00
SetStaticIntField 147.5 ns 0.04 ns 0.03 ns 1.32 0.0002 24 B 1.00
GetStaticStringField 115.8 ns 0.05 ns 0.05 ns 1.04 - - 0.00
SetStaticStringField 699.2 ns 0.96 ns 0.80 ns 6.27 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 155.8 ns 0.04 ns 0.04 ns 1.40 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 314.8 ns 0.17 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 273.0 ns 0.14 ns 0.14 ns 0.87 - - NA
InvokeStaticWithFeedback 524.5 ns 0.36 ns 0.32 ns 1.67 0.0048 344 B NA
InvokeInstanceEmpty 316.1 ns 0.08 ns 0.07 ns 1.00 - - NA
InvokeInstanceWithFeedback 523.6 ns 0.25 ns 0.22 ns 1.66 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.307 μs 0.0015 μs 0.0013 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,885.7 ns 2.66 ns 2.08 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 577.9 ns 0.44 ns 0.37 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 56,643.1 ns 218.03 ns 193.28 ns 1.00 0.3052 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 594.4 ns 0.38 ns 0.34 ns 0.01 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,794,219.0 ns 39,609.76 ns 37,051.00 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 635.2 ns 0.29 ns 0.25 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,002.6 ns 5.17 ns 4.84 ns - 104 B
PredicateRoundTrip False False True 1,003.7 ns 5.93 ns 5.26 ns - 104 B
PredicateRoundTrip False True False 1,231.0 ns 5.80 ns 5.14 ns 0.0019 200 B
PredicateRoundTrip False True True 4,414.1 ns 15.75 ns 14.74 ns 0.0076 792 B
PredicateRoundTrip True False False 424.2 ns 0.27 ns 0.23 ns - 24 B
PredicateRoundTrip True False True 425.6 ns 0.29 ns 0.26 ns - 24 B
PredicateRoundTrip True True False 619.4 ns 0.95 ns 0.74 ns 0.0010 120 B
PredicateRoundTrip True True True 3,817.2 ns 10.57 ns 9.89 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 588.91 ns 0.721 ns 0.640 ns 0.0011 80 B
PredicateSustained False False True 587.66 ns 3.227 ns 3.018 ns 0.0011 80 B
PredicateSustained False True False 766.70 ns 0.498 ns 0.389 ns 0.0014 176 B
PredicateSustained False True True 4,159.79 ns 39.721 ns 37.155 ns 0.0100 768 B
PredicateSustained True False False 52.82 ns 1.013 ns 1.084 ns - -
PredicateSustained True False True 51.31 ns 0.989 ns 1.214 ns - -
PredicateSustained True True False 238.85 ns 0.368 ns 0.327 ns 0.0013 96 B
PredicateSustained True True True 3,382.42 ns 15.041 ns 14.069 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 550.7 ns 0.38 ns 0.34 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 6,969.7 ns 4.45 ns 3.48 ns 12.66 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,194.7 ns 1.43 ns 1.26 ns 2.17 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,219.3 ns 1.95 ns 1.63 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,350.5 ns 44.67 ns 41.78 ns 16.98 0.07 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 548.7 ns 0.19 ns 0.16 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 563,281.3 ns 1,329.25 ns 1,243.38 ns 1,026.60 2.21 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,938.0 ns 9.04 ns 8.02 ns 3.53 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,976.0 ns 8.44 ns 7.49 ns 3.60 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 752,706.6 ns 1,817.73 ns 1,517.89 ns 1,371.84 2.69 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 550.3 ns 0.33 ns 0.28 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,015,953.6 ns 169,673.21 ns 158,712.42 ns 107,249.16 284.13 333.3333 222.2222 222.2222 16001034 B 46,514.63
InvokeIntArrayFixed 100000 61,386.2 ns 206.08 ns 182.68 ns 111.56 0.33 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,183.5 ns 198.61 ns 176.06 ns 111.19 0.31 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 82,594,631.8 ns 472,839.45 ns 394,842.35 ns 150,098.48 695.24 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.113 μs 0.0080 μs 0.0075 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.125 μs 0.0118 μs 0.0110 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.114 μs 0.0157 μs 0.0147 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 106.6 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 149.3 ns 0.05 ns 0.05 ns 1.40 0.0002 24 B 1.00
GetInstanceStringField 115.4 ns 0.04 ns 0.04 ns 1.08 - - 0.00
SetInstanceStringField 717.9 ns 1.21 ns 1.13 ns 6.73 0.0038 288 B 12.00
GetStaticIntField 122.8 ns 0.03 ns 0.03 ns 1.15 0.0002 24 B 1.00
SetStaticIntField 145.3 ns 0.02 ns 0.02 ns 1.36 0.0002 24 B 1.00
GetStaticStringField 115.0 ns 0.04 ns 0.04 ns 1.08 - - 0.00
SetStaticStringField 706.0 ns 1.54 ns 1.44 ns 6.62 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.6 ns 0.31 ns 0.28 ns 1.42 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 309.7 ns 0.24 ns 0.22 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 267.4 ns 0.12 ns 0.11 ns 0.86 - - NA
InvokeStaticWithFeedback 530.8 ns 0.19 ns 0.16 ns 1.71 0.0048 344 B NA
InvokeInstanceEmpty 311.3 ns 0.14 ns 0.13 ns 1.01 - - NA
InvokeInstanceWithFeedback 552.0 ns 0.76 ns 0.71 ns 1.78 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.329 μs 0.0008 μs 0.0007 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,937.2 ns 9.18 ns 7.67 ns 1.00 0.01 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 601.5 ns 0.66 ns 0.62 ns 0.31 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,473.3 ns 284.65 ns 266.26 ns 1.00 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 602.6 ns 0.43 ns 0.38 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,922,223.3 ns 151,587.72 ns 141,795.25 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 637.8 ns 0.69 ns 0.58 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Median Gen0 Allocated
PredicateRoundTrip False False False 1,017.0 ns 8.21 ns 7.68 ns 1,011.3 ns - 104 B
PredicateRoundTrip False False True 1,023.3 ns 1.26 ns 0.99 ns 1,023.1 ns - 104 B
PredicateRoundTrip False True False 1,271.5 ns 1.74 ns 1.46 ns 1,271.4 ns 0.0019 200 B
PredicateRoundTrip False True True 4,447.5 ns 41.27 ns 32.22 ns 4,440.5 ns 0.0076 792 B
PredicateRoundTrip True False False 434.7 ns 0.44 ns 0.41 ns 434.6 ns - 24 B
PredicateRoundTrip True False True 431.9 ns 2.91 ns 2.72 ns 429.8 ns - 24 B
PredicateRoundTrip True True False 629.9 ns 1.37 ns 1.07 ns 629.6 ns 0.0010 120 B
PredicateRoundTrip True True True 3,781.8 ns 50.81 ns 39.67 ns 3,772.6 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 584.48 ns 0.790 ns 0.617 ns 0.0011 80 B
PredicateSustained False False True 577.97 ns 4.213 ns 3.518 ns 0.0011 80 B
PredicateSustained False True False 774.87 ns 5.674 ns 5.308 ns 0.0014 176 B
PredicateSustained False True True 4,037.76 ns 79.647 ns 81.791 ns 0.0100 768 B
PredicateSustained True False False 48.02 ns 0.946 ns 0.885 ns - -
PredicateSustained True False True 48.92 ns 0.945 ns 0.928 ns - -
PredicateSustained True True False 237.69 ns 0.326 ns 0.305 ns 0.0013 96 B
PredicateSustained True True True 3,402.29 ns 61.605 ns 65.917 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 547.5 ns 0.43 ns 0.38 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,091.9 ns 7.71 ns 6.83 ns 12.95 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,180.4 ns 1.21 ns 1.07 ns 2.16 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,195.8 ns 1.55 ns 1.38 ns 2.18 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,034.4 ns 28.67 ns 26.82 ns 16.50 0.05 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 547.2 ns 0.35 ns 0.31 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 563,888.4 ns 1,409.39 ns 1,318.34 ns 1,030.45 2.40 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,916.2 ns 8.76 ns 8.20 ns 3.50 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,902.3 ns 8.29 ns 7.76 ns 3.48 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 764,165.9 ns 1,714.86 ns 1,431.99 ns 1,396.43 2.63 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 549.8 ns 0.52 ns 0.44 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,116,419.4 ns 175,587.44 ns 164,244.60 ns 107,518.92 300.85 333.3333 222.2222 222.2222 16001317 B 46,515.46
InvokeIntArrayFixed 100000 60,855.2 ns 181.55 ns 151.60 ns 110.68 0.28 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,083.3 ns 326.61 ns 272.73 ns 111.10 0.49 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,680,423.9 ns 1,128,782.14 ns 1,000,635.96 ns 154,013.86 1,762.52 1000.0000 833.3333 833.3333 27895243 B 81,090.82

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.149 μs 0.0131 μs 0.0123 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.131 μs 0.0013 μs 0.0010 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.143 μs 0.0109 μs 0.0102 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.5 ns 0.06 ns 0.05 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 146.0 ns 0.07 ns 0.06 ns 1.35 0.0002 24 B 1.00
GetInstanceStringField 114.2 ns 0.03 ns 0.02 ns 1.05 - - 0.00
SetInstanceStringField 707.1 ns 0.67 ns 0.56 ns 6.52 0.0038 288 B 12.00
GetStaticIntField 121.5 ns 0.04 ns 0.04 ns 1.12 0.0002 24 B 1.00
SetStaticIntField 150.4 ns 0.05 ns 0.05 ns 1.39 0.0002 24 B 1.00
GetStaticStringField 111.0 ns 0.09 ns 0.08 ns 1.02 - - 0.00
SetStaticStringField 692.8 ns 0.80 ns 0.71 ns 6.39 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 152.6 ns 0.14 ns 0.13 ns 1.41 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 298.9 ns 0.09 ns 0.09 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 265.6 ns 0.10 ns 0.09 ns 0.89 - - NA
InvokeStaticWithFeedback 547.0 ns 0.28 ns 0.24 ns 1.83 0.0048 344 B NA
InvokeInstanceEmpty 312.3 ns 0.10 ns 0.09 ns 1.05 - - NA
InvokeInstanceWithFeedback 554.7 ns 0.41 ns 0.36 ns 1.86 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.289 μs 0.0010 μs 0.0008 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,942.9 ns 23.43 ns 21.92 ns 1.00 0.02 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 592.2 ns 0.31 ns 0.26 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,156.2 ns 198.09 ns 185.30 ns 1.00 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 601.2 ns 0.22 ns 0.20 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,084,665.6 ns 175,519.57 ns 164,181.11 ns 1.000 0.03 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 629.7 ns 0.33 ns 0.27 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,054.6 ns 6.23 ns 5.82 ns - 104 B
PredicateRoundTrip False False True 1,029.3 ns 7.74 ns 7.24 ns - 104 B
PredicateRoundTrip False True False 1,252.0 ns 6.75 ns 6.32 ns 0.0019 200 B
PredicateRoundTrip False True True 5,000.3 ns 16.50 ns 15.43 ns 0.0076 792 B
PredicateRoundTrip True False False 429.5 ns 0.70 ns 0.65 ns - 24 B
PredicateRoundTrip True False True 424.3 ns 1.67 ns 1.56 ns - 24 B
PredicateRoundTrip True True False 629.4 ns 1.11 ns 0.87 ns 0.0010 120 B
PredicateRoundTrip True True True 4,103.0 ns 25.64 ns 23.98 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 598.57 ns 1.500 ns 1.330 ns 0.0011 80 B
PredicateSustained False False True 603.64 ns 2.677 ns 2.236 ns 0.0011 80 B
PredicateSustained False True False 804.80 ns 6.504 ns 6.084 ns 0.0014 176 B
PredicateSustained False True True 4,527.61 ns 37.178 ns 34.776 ns 0.0100 768 B
PredicateSustained True False False 51.10 ns 0.019 ns 0.017 ns - -
PredicateSustained True False True 50.53 ns 1.080 ns 1.109 ns - -
PredicateSustained True True False 237.86 ns 0.607 ns 0.538 ns 0.0013 96 B
PredicateSustained True True True 3,706.70 ns 21.924 ns 20.507 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 536.5 ns 0.40 ns 0.35 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 6,965.9 ns 7.08 ns 6.27 ns 12.98 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,181.6 ns 1.11 ns 0.92 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,191.8 ns 1.44 ns 1.28 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,274.0 ns 42.63 ns 39.88 ns 17.29 0.07 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 533.9 ns 0.45 ns 0.40 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 565,860.1 ns 1,159.23 ns 1,027.63 ns 1,059.79 2.01 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,902.7 ns 11.99 ns 11.22 ns 3.56 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,894.1 ns 6.61 ns 6.18 ns 3.55 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 736,248.4 ns 1,265.84 ns 1,057.04 ns 1,378.90 2.16 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 529.2 ns 0.51 ns 0.45 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,116,972.6 ns 258,351.24 ns 241,661.91 ns 111,719.95 451.73 333.3333 222.2222 222.2222 16001189 B 46,515.08
InvokeIntArrayFixed 100000 60,460.3 ns 517.05 ns 483.65 ns 114.26 0.89 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,034.0 ns 258.60 ns 229.24 ns 113.45 0.43 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,532,604.8 ns 611,008.41 ns 571,537.64 ns 159,750.71 1,054.21 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.109 μs 0.0017 μs 0.0015 μs 1.109 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.117 μs 0.0115 μs 0.0108 μs 1.110 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.128 μs 0.0167 μs 0.0156 μs 1.115 μs 1.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 106.4 ns 0.09 ns 0.08 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 151.0 ns 0.03 ns 0.03 ns 1.42 0.00 0.0002 24 B 1.00
GetInstanceStringField 114.4 ns 0.03 ns 0.02 ns 1.08 0.00 - - 0.00
SetInstanceStringField 717.3 ns 1.40 ns 1.24 ns 6.74 0.01 0.0038 288 B 12.00
GetStaticIntField 122.6 ns 0.04 ns 0.03 ns 1.15 0.00 0.0002 24 B 1.00
SetStaticIntField 146.0 ns 0.04 ns 0.04 ns 1.37 0.00 0.0002 24 B 1.00
GetStaticStringField 112.3 ns 0.03 ns 0.02 ns 1.06 0.00 - - 0.00
SetStaticStringField 705.2 ns 2.65 ns 2.48 ns 6.63 0.02 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.1 ns 0.07 ns 0.06 ns 1.42 0.00 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 308.3 ns 0.30 ns 0.28 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 269.7 ns 0.09 ns 0.08 ns 0.88 - - NA
InvokeStaticWithFeedback 532.6 ns 0.39 ns 0.30 ns 1.73 0.0048 344 B NA
InvokeInstanceEmpty 336.1 ns 0.12 ns 0.12 ns 1.09 - - NA
InvokeInstanceWithFeedback 541.2 ns 0.39 ns 0.33 ns 1.76 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.289 μs 0.0025 μs 0.0023 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,923.4 ns 21.87 ns 20.46 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 587.4 ns 0.30 ns 0.26 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 58,533.3 ns 144.83 ns 135.47 ns 1.00 0.3052 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 591.1 ns 0.52 ns 0.46 ns 0.01 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,884,863.4 ns 19,247.14 ns 18,003.79 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 631.1 ns 0.35 ns 0.30 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,001.1 ns 6.56 ns 6.14 ns - 104 B
PredicateRoundTrip False False True 1,003.0 ns 4.79 ns 4.25 ns - 104 B
PredicateRoundTrip False True False 1,210.1 ns 4.16 ns 3.69 ns 0.0019 200 B
PredicateRoundTrip False True True 4,472.6 ns 16.16 ns 15.12 ns 0.0076 792 B
PredicateRoundTrip True False False 425.8 ns 0.29 ns 0.25 ns - 24 B
PredicateRoundTrip True False True 421.8 ns 0.34 ns 0.27 ns - 24 B
PredicateRoundTrip True True False 613.2 ns 0.95 ns 0.80 ns 0.0010 120 B
PredicateRoundTrip True True True 3,762.5 ns 8.98 ns 7.96 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 587.90 ns 0.340 ns 0.302 ns 0.0011 80 B
PredicateSustained False False True 589.42 ns 2.915 ns 2.726 ns 0.0011 80 B
PredicateSustained False True False 778.78 ns 5.643 ns 5.002 ns 0.0014 176 B
PredicateSustained False True True 4,193.15 ns 37.925 ns 35.475 ns 0.0100 768 B
PredicateSustained True False False 52.34 ns 1.026 ns 1.181 ns - -
PredicateSustained True False True 50.98 ns 1.008 ns 1.035 ns - -
PredicateSustained True True False 239.37 ns 0.671 ns 0.595 ns 0.0013 96 B
PredicateSustained True True True 3,734.69 ns 49.076 ns 45.905 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 537.7 ns 0.36 ns 0.33 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,044.4 ns 9.55 ns 8.46 ns 13.10 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,186.9 ns 2.15 ns 2.01 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,199.1 ns 0.93 ns 0.77 ns 2.23 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,601.9 ns 38.76 ns 36.26 ns 17.86 0.07 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 538.1 ns 0.27 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 565,452.0 ns 958.35 ns 896.44 ns 1,050.91 1.68 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,889.5 ns 6.70 ns 6.27 ns 3.51 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,885.2 ns 5.30 ns 4.70 ns 3.50 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 735,540.4 ns 1,411.79 ns 1,178.91 ns 1,367.03 2.20 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 542.4 ns 0.26 ns 0.23 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,284,423.0 ns 188,680.04 ns 176,491.43 ns 111,145.15 318.38 333.3333 222.2222 222.2222 16001854 B 46,517.02
InvokeIntArrayFixed 100000 60,949.8 ns 183.01 ns 162.23 ns 112.37 0.29 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,861.9 ns 104.65 ns 92.77 ns 112.21 0.17 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 83,904,870.8 ns 669,929.61 ns 593,875.15 ns 154,693.68 1,059.68 1000.0000 833.3333 833.3333 27894484 B 81,088.62

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.121 μs 0.0120 μs 0.0112 μs 1.00 0.01 0.0038 360 B 1.00
NewWithSignature 1.121 μs 0.0084 μs 0.0079 μs 1.00 0.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.119 μs 0.0145 μs 0.0135 μs 1.00 0.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 112.7 ns 0.02 ns 0.02 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 149.3 ns 0.04 ns 0.04 ns 1.32 0.0002 24 B 1.00
GetInstanceStringField 114.5 ns 0.02 ns 0.01 ns 1.02 - - 0.00
SetInstanceStringField 705.7 ns 0.94 ns 0.88 ns 6.26 0.0038 288 B 12.00
GetStaticIntField 121.3 ns 0.03 ns 0.03 ns 1.08 0.0002 24 B 1.00
SetStaticIntField 143.2 ns 0.05 ns 0.04 ns 1.27 0.0002 24 B 1.00
GetStaticStringField 116.1 ns 0.02 ns 0.02 ns 1.03 - - 0.00
SetStaticStringField 699.9 ns 1.04 ns 0.97 ns 6.21 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 155.5 ns 0.06 ns 0.05 ns 1.38 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.5 ns 0.08 ns 0.08 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 272.3 ns 0.10 ns 0.09 ns 0.89 - - NA
InvokeStaticWithFeedback 528.0 ns 0.39 ns 0.35 ns 1.73 0.0048 344 B NA
InvokeInstanceEmpty 312.7 ns 0.06 ns 0.05 ns 1.02 - - NA
InvokeInstanceWithFeedback 549.8 ns 0.22 ns 0.19 ns 1.80 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.312 μs 0.0019 μs 0.0018 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,969.0 ns 7.90 ns 6.60 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 599.1 ns 0.36 ns 0.32 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 63,190.9 ns 218.56 ns 193.75 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 601.4 ns 0.31 ns 0.26 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,597,321.5 ns 61,686.93 ns 57,701.99 ns 1.000 78.1250 78.1250 78.1250 2400822 B 1.000
InvokeSingleStringPreallocated 100000 637.1 ns 0.17 ns 0.15 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,021.6 ns 6.27 ns 5.86 ns - 104 B
PredicateRoundTrip False False True 1,012.5 ns 0.77 ns 0.60 ns - 104 B
PredicateRoundTrip False True False 1,230.0 ns 7.35 ns 6.87 ns 0.0019 200 B
PredicateRoundTrip False True True 4,737.7 ns 27.46 ns 24.34 ns 0.0076 792 B
PredicateRoundTrip True False False 433.6 ns 0.52 ns 0.49 ns - 24 B
PredicateRoundTrip True False True 434.5 ns 0.31 ns 0.27 ns - 24 B
PredicateRoundTrip True True False 621.8 ns 1.34 ns 1.04 ns 0.0010 120 B
PredicateRoundTrip True True True 3,784.0 ns 8.66 ns 8.10 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 588.98 ns 0.631 ns 0.492 ns 0.0011 80 B
PredicateSustained False False True 597.56 ns 0.156 ns 0.122 ns 0.0011 80 B
PredicateSustained False True False 784.43 ns 5.417 ns 5.067 ns 0.0014 176 B
PredicateSustained False True True 4,312.71 ns 23.202 ns 22.788 ns 0.0100 768 B
PredicateSustained True False False 49.42 ns 0.027 ns 0.025 ns - -
PredicateSustained True False True 48.92 ns 0.025 ns 0.023 ns - -
PredicateSustained True True False 240.04 ns 0.403 ns 0.377 ns 0.0013 96 B
PredicateSustained True True True 3,473.08 ns 19.821 ns 19.467 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 545.3 ns 0.44 ns 0.39 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,378.5 ns 12.08 ns 10.09 ns 13.53 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,243.5 ns 1.69 ns 1.58 ns 2.28 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,236.1 ns 2.17 ns 2.03 ns 2.27 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,082.5 ns 15.75 ns 13.96 ns 16.65 0.03 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 545.6 ns 0.47 ns 0.42 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 585,855.0 ns 1,261.75 ns 1,118.51 ns 1,073.77 2.13 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,972.3 ns 5.83 ns 5.46 ns 3.61 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,982.2 ns 6.89 ns 6.44 ns 3.63 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 759,983.7 ns 595.97 ns 497.66 ns 1,392.92 1.35 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 552.1 ns 0.30 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 62,156,399.6 ns 344,790.90 ns 322,517.62 ns 112,588.35 567.92 250.0000 125.0000 125.0000 16000585 B 46,513.33
InvokeIntArrayFixed 100000 60,915.7 ns 389.84 ns 364.65 ns 110.34 0.64 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,718.7 ns 307.18 ns 256.51 ns 109.98 0.45 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,377,784.6 ns 871,091.69 ns 727,401.02 ns 154,650.92 1,271.42 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.168 μs 0.0015 μs 0.0012 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.182 μs 0.0088 μs 0.0082 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.154 μs 0.0030 μs 0.0023 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.9 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 146.9 ns 0.05 ns 0.04 ns 1.36 0.0002 24 B 1.00
GetInstanceStringField 121.5 ns 0.24 ns 0.22 ns 1.13 - - 0.00
SetInstanceStringField 746.0 ns 0.94 ns 0.88 ns 6.91 0.0038 288 B 12.00
GetStaticIntField 130.9 ns 0.04 ns 0.04 ns 1.21 0.0002 24 B 1.00
SetStaticIntField 152.4 ns 0.10 ns 0.09 ns 1.41 0.0002 24 B 1.00
GetStaticStringField 118.9 ns 0.05 ns 0.05 ns 1.10 - - 0.00
SetStaticStringField 745.0 ns 1.00 ns 0.94 ns 6.90 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.1 ns 0.07 ns 0.06 ns 1.40 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 379.6 ns 0.07 ns 0.06 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 341.9 ns 0.31 ns 0.29 ns 0.90 - - NA
InvokeStaticWithFeedback 544.4 ns 0.45 ns 0.40 ns 1.43 0.0048 344 B NA
InvokeInstanceEmpty 392.2 ns 0.22 ns 0.21 ns 1.03 - - NA
InvokeInstanceWithFeedback 558.2 ns 0.40 ns 0.38 ns 1.47 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.352 μs 0.0019 μs 0.0017 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,044.4 ns 1.92 ns 1.60 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 609.5 ns 0.37 ns 0.32 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,571.2 ns 311.46 ns 291.34 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 608.6 ns 0.42 ns 0.37 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,869,634.9 ns 82,549.70 ns 77,217.04 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 644.9 ns 0.34 ns 0.31 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,073.7 ns 8.27 ns 7.73 ns - 104 B
PredicateRoundTrip False False True 1,067.2 ns 4.43 ns 3.93 ns - 104 B
PredicateRoundTrip False True False 1,287.2 ns 4.31 ns 3.82 ns 0.0019 200 B
PredicateRoundTrip False True True 4,690.3 ns 2.85 ns 2.53 ns 0.0076 792 B
PredicateRoundTrip True False False 442.7 ns 1.13 ns 1.06 ns - 24 B
PredicateRoundTrip True False True 444.3 ns 0.62 ns 0.58 ns - 24 B
PredicateRoundTrip True True False 652.4 ns 0.42 ns 0.33 ns 0.0010 120 B
PredicateRoundTrip True True True 3,970.8 ns 9.72 ns 9.09 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 618.71 ns 0.347 ns 0.271 ns - 80 B
PredicateSustained False False True 618.95 ns 1.232 ns 1.092 ns - 80 B
PredicateSustained False True False 820.26 ns 6.713 ns 6.279 ns 0.0014 176 B
PredicateSustained False True True 4,202.11 ns 18.191 ns 17.016 ns 0.0100 768 B
PredicateSustained True False False 58.63 ns 1.138 ns 1.217 ns - -
PredicateSustained True False True 58.91 ns 1.122 ns 1.201 ns - -
PredicateSustained True True False 251.72 ns 0.362 ns 0.338 ns 0.0013 96 B
PredicateSustained True True True 3,599.49 ns 20.682 ns 19.346 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 530.3 ns 0.45 ns 0.38 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,057.5 ns 17.40 ns 16.27 ns 13.31 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,203.9 ns 2.15 ns 1.90 ns 2.27 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,189.3 ns 1.97 ns 1.84 ns 2.24 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,401.6 ns 34.83 ns 32.58 ns 17.73 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 523.5 ns 0.59 ns 0.55 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 578,701.2 ns 745.54 ns 660.90 ns 1,105.53 1.66 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,927.6 ns 6.20 ns 4.84 ns 3.68 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,893.6 ns 11.78 ns 11.02 ns 3.62 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 756,377.6 ns 1,550.12 ns 1,294.42 ns 1,444.96 2.80 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 532.8 ns 0.70 ns 0.62 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,672,736.4 ns 238,884.14 ns 211,764.57 ns 110,119.98 403.72 333.3333 222.2222 222.2222 16000973 B 46,514.46
InvokeIntArrayFixed 100000 60,336.5 ns 697.08 ns 652.05 ns 113.24 1.19 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,710.6 ns 533.63 ns 499.16 ns 113.94 0.92 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 87,085,390.7 ns 726,736.80 ns 644,233.24 ns 163,446.30 1,182.70 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.123 μs 0.0090 μs 0.0084 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.148 μs 0.0009 μs 0.0007 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.180 μs 0.0093 μs 0.0087 μs 1.05 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 102.0 ns 0.02 ns 0.02 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 148.2 ns 0.06 ns 0.05 ns 1.45 0.0002 24 B 1.00
GetInstanceStringField 111.9 ns 0.04 ns 0.03 ns 1.10 - - 0.00
SetInstanceStringField 708.3 ns 0.76 ns 0.68 ns 6.94 0.0038 288 B 12.00
GetStaticIntField 110.9 ns 0.01 ns 0.01 ns 1.09 0.0004 24 B 1.00
SetStaticIntField 138.6 ns 0.03 ns 0.03 ns 1.36 0.0002 24 B 1.00
GetStaticStringField 104.2 ns 0.01 ns 0.01 ns 1.02 - - 0.00
SetStaticStringField 701.2 ns 1.21 ns 1.14 ns 6.87 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.6 ns 0.04 ns 0.04 ns 1.49 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 287.6 ns 0.12 ns 0.11 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 261.9 ns 0.16 ns 0.14 ns 0.91 - - NA
InvokeStaticWithFeedback 541.3 ns 0.67 ns 0.59 ns 1.88 0.0048 344 B NA
InvokeInstanceEmpty 308.1 ns 0.16 ns 0.15 ns 1.07 - - NA
InvokeInstanceWithFeedback 536.4 ns 0.83 ns 0.78 ns 1.87 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.308 μs 0.0024 μs 0.0022 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,956.5 ns 27.53 ns 25.76 ns 1.00 0.02 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 572.8 ns 0.31 ns 0.27 ns 0.29 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 56,462.9 ns 171.25 ns 160.19 ns 1.00 0.00 0.3052 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 573.0 ns 0.18 ns 0.16 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,454,333.4 ns 168,417.17 ns 157,537.52 ns 1.000 0.03 78.1250 78.1250 78.1250 2400822 B 1.000
InvokeSingleStringPreallocated 100000 615.9 ns 0.42 ns 0.37 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 984.8 ns 6.00 ns 5.62 ns - 104 B
PredicateRoundTrip False False True 990.9 ns 5.01 ns 4.69 ns - 104 B
PredicateRoundTrip False True False 1,197.7 ns 6.02 ns 5.34 ns 0.0019 200 B
PredicateRoundTrip False True True 4,810.4 ns 20.73 ns 19.39 ns 0.0076 792 B
PredicateRoundTrip True False False 415.9 ns 1.91 ns 1.79 ns - 24 B
PredicateRoundTrip True False True 420.1 ns 0.72 ns 0.67 ns - 24 B
PredicateRoundTrip True True False 622.0 ns 2.10 ns 1.76 ns 0.0010 120 B
PredicateRoundTrip True True True 4,252.5 ns 26.99 ns 23.93 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 576.60 ns 0.416 ns 0.369 ns 0.0011 80 B
PredicateSustained False False True 566.22 ns 1.476 ns 1.381 ns 0.0011 80 B
PredicateSustained False True False 768.11 ns 7.005 ns 6.552 ns 0.0014 176 B
PredicateSustained False True True 4,233.45 ns 25.976 ns 24.298 ns 0.0100 768 B
PredicateSustained True False False 51.32 ns 1.004 ns 1.156 ns - -
PredicateSustained True False True 51.48 ns 0.939 ns 1.081 ns - -
PredicateSustained True True False 238.00 ns 0.458 ns 0.382 ns 0.0013 96 B
PredicateSustained True True True 3,751.66 ns 38.089 ns 35.628 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 538.7 ns 0.36 ns 0.32 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,067.9 ns 7.52 ns 6.67 ns 13.12 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,183.0 ns 2.21 ns 2.07 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,169.0 ns 0.82 ns 0.64 ns 2.17 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,889.7 ns 23.46 ns 21.95 ns 16.50 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 539.7 ns 0.22 ns 0.19 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 556,615.7 ns 874.02 ns 817.55 ns 1,031.31 1.51 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,910.6 ns 9.71 ns 9.08 ns 3.54 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,912.8 ns 4.85 ns 4.30 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 729,422.5 ns 1,094.87 ns 914.27 ns 1,351.49 1.70 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 540.3 ns 0.44 ns 0.39 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,440,152.4 ns 168,354.51 ns 149,241.89 ns 108,152.77 277.45 333.3333 222.2222 222.2222 16000846 B 46,514.09
InvokeIntArrayFixed 100000 60,597.4 ns 393.06 ns 367.67 ns 112.15 0.66 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,537.8 ns 495.41 ns 463.41 ns 112.03 0.83 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 83,458,792.1 ns 840,428.32 ns 786,137.17 ns 154,453.72 1,413.07 1000.0000 833.3333 833.3333 27894279 B 81,088.02

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.114 μs 0.0106 μs 0.0099 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.121 μs 0.0112 μs 0.0105 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.119 μs 0.0147 μs 0.0138 μs 1.00 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.0 ns 0.08 ns 0.08 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 155.9 ns 0.06 ns 0.05 ns 1.44 0.0002 24 B 1.00
GetInstanceStringField 115.3 ns 0.04 ns 0.03 ns 1.07 - - 0.00
SetInstanceStringField 716.7 ns 1.09 ns 1.02 ns 6.63 0.0038 288 B 12.00
GetStaticIntField 125.8 ns 0.03 ns 0.02 ns 1.16 0.0002 24 B 1.00
SetStaticIntField 143.3 ns 0.03 ns 0.03 ns 1.33 0.0002 24 B 1.00
GetStaticStringField 114.2 ns 0.04 ns 0.04 ns 1.06 - - 0.00
SetStaticStringField 705.7 ns 1.10 ns 1.03 ns 6.53 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 153.1 ns 0.05 ns 0.04 ns 1.42 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 312.9 ns 0.09 ns 0.08 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 271.4 ns 0.12 ns 0.12 ns 0.87 - - NA
InvokeStaticWithFeedback 523.8 ns 0.20 ns 0.17 ns 1.67 0.0048 344 B NA
InvokeInstanceEmpty 312.1 ns 0.18 ns 0.17 ns 1.00 - - NA
InvokeInstanceWithFeedback 534.7 ns 0.40 ns 0.34 ns 1.71 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.327 μs 0.0026 μs 0.0024 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,909.2 ns 23.64 ns 22.11 ns 1.00 0.02 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 612.8 ns 0.49 ns 0.44 ns 0.32 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 56,532.0 ns 103.48 ns 86.41 ns 1.00 0.00 0.3052 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 585.3 ns 0.31 ns 0.28 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,983,337.5 ns 99,770.80 ns 93,325.67 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 640.9 ns 0.38 ns 0.33 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,004.7 ns 5.52 ns 5.16 ns - 104 B
PredicateRoundTrip False False True 999.5 ns 5.69 ns 5.32 ns - 104 B
PredicateRoundTrip False True False 1,205.4 ns 6.05 ns 5.66 ns 0.0019 200 B
PredicateRoundTrip False True True 4,378.1 ns 9.51 ns 8.43 ns 0.0076 792 B
PredicateRoundTrip True False False 426.5 ns 0.44 ns 0.41 ns - 24 B
PredicateRoundTrip True False True 419.7 ns 0.27 ns 0.24 ns - 24 B
PredicateRoundTrip True True False 623.3 ns 0.86 ns 0.67 ns 0.0010 120 B
PredicateRoundTrip True True True 3,860.1 ns 11.84 ns 11.08 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 597.10 ns 0.418 ns 0.326 ns 0.0011 80 B
PredicateSustained False False True 581.01 ns 0.574 ns 0.479 ns 0.0011 80 B
PredicateSustained False True False 783.55 ns 5.486 ns 5.132 ns 0.0014 176 B
PredicateSustained False True True 4,009.71 ns 11.133 ns 9.296 ns 0.0100 768 B
PredicateSustained True False False 51.30 ns 0.985 ns 1.209 ns - -
PredicateSustained True False True 52.28 ns 1.112 ns 1.093 ns - -
PredicateSustained True True False 241.72 ns 0.366 ns 0.342 ns 0.0013 96 B
PredicateSustained True True True 3,340.10 ns 14.438 ns 13.505 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 548.8 ns 0.37 ns 0.31 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,087.1 ns 11.82 ns 11.05 ns 12.91 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,209.5 ns 2.25 ns 2.11 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,206.9 ns 2.32 ns 2.17 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,172.8 ns 41.67 ns 38.98 ns 16.72 0.07 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 554.2 ns 0.40 ns 0.35 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 571,820.3 ns 1,432.70 ns 1,340.15 ns 1,031.80 2.43 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,905.1 ns 8.37 ns 7.83 ns 3.44 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,917.7 ns 5.86 ns 5.48 ns 3.46 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 744,842.0 ns 1,458.17 ns 1,217.64 ns 1,344.00 2.27 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 551.6 ns 0.47 ns 0.41 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,629,633.4 ns 182,186.90 ns 170,417.74 ns 108,093.73 309.24 333.3333 222.2222 222.2222 16001677 B 46,516.50
InvokeIntArrayFixed 100000 61,245.1 ns 564.79 ns 528.31 ns 111.02 0.93 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,183.7 ns 385.91 ns 342.10 ns 110.91 0.60 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,561,739.5 ns 794,813.38 ns 743,468.93 ns 156,914.96 1,310.08 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.110 μs 0.0078 μs 0.0073 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.106 μs 0.0074 μs 0.0069 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.125 μs 0.0087 μs 0.0081 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 113.4 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 149.8 ns 0.06 ns 0.05 ns 1.32 0.0002 24 B 1.00
GetInstanceStringField 117.1 ns 0.03 ns 0.03 ns 1.03 - - 0.00
SetInstanceStringField 708.0 ns 1.61 ns 1.51 ns 6.25 0.0038 288 B 12.00
GetStaticIntField 127.2 ns 0.05 ns 0.05 ns 1.12 0.0002 24 B 1.00
SetStaticIntField 147.5 ns 0.04 ns 0.04 ns 1.30 0.0002 24 B 1.00
GetStaticStringField 115.3 ns 0.03 ns 0.03 ns 1.02 - - 0.00
SetStaticStringField 703.8 ns 0.97 ns 0.86 ns 6.21 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 153.2 ns 0.06 ns 0.05 ns 1.35 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 304.0 ns 0.12 ns 0.11 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 275.5 ns 0.11 ns 0.10 ns 0.91 - - NA
InvokeStaticWithFeedback 557.5 ns 0.41 ns 0.36 ns 1.83 0.0048 344 B NA
InvokeInstanceEmpty 316.2 ns 0.10 ns 0.09 ns 1.04 - - NA
InvokeInstanceWithFeedback 554.1 ns 0.56 ns 0.52 ns 1.82 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.320 μs 0.0021 μs 0.0019 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,950.7 ns 18.74 ns 17.53 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 591.9 ns 0.31 ns 0.27 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,299.4 ns 167.39 ns 148.39 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 589.0 ns 0.48 ns 0.43 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,756,812.8 ns 92,137.94 ns 81,677.89 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 640.4 ns 0.26 ns 0.21 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 993.1 ns 6.34 ns 5.93 ns - 104 B
PredicateRoundTrip False False True 996.4 ns 6.37 ns 5.96 ns - 104 B
PredicateRoundTrip False True False 1,232.8 ns 2.37 ns 1.85 ns 0.0019 200 B
PredicateRoundTrip False True True 4,394.0 ns 37.19 ns 32.97 ns 0.0076 792 B
PredicateRoundTrip True False False 438.0 ns 0.30 ns 0.28 ns - 24 B
PredicateRoundTrip True False True 446.3 ns 0.34 ns 0.30 ns - 24 B
PredicateRoundTrip True True False 632.5 ns 4.77 ns 4.46 ns 0.0010 120 B
PredicateRoundTrip True True True 3,780.8 ns 10.05 ns 9.40 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 578.71 ns 0.778 ns 0.607 ns 0.0011 80 B
PredicateSustained False False True 576.67 ns 0.836 ns 0.653 ns 0.0011 80 B
PredicateSustained False True False 766.93 ns 5.366 ns 5.020 ns 0.0014 176 B
PredicateSustained False True True 4,802.05 ns 51.607 ns 40.291 ns 0.0100 768 B
PredicateSustained True False False 49.04 ns 0.257 ns 0.240 ns - -
PredicateSustained True False True 49.88 ns 0.300 ns 0.266 ns - -
PredicateSustained True True False 238.83 ns 0.507 ns 0.449 ns 0.0013 96 B
PredicateSustained True True True 3,457.64 ns 40.212 ns 33.578 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 545.4 ns 0.38 ns 0.34 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,208.5 ns 8.34 ns 7.39 ns 13.22 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,227.1 ns 2.34 ns 2.08 ns 2.25 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,231.0 ns 2.38 ns 2.23 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,441.4 ns 23.98 ns 22.43 ns 17.31 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 538.1 ns 0.31 ns 0.26 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 602,191.2 ns 1,099.13 ns 1,028.13 ns 1,119.03 1.92 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,989.6 ns 4.83 ns 4.52 ns 3.70 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,991.7 ns 4.29 ns 4.01 ns 3.70 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 766,551.4 ns 921.68 ns 817.05 ns 1,424.45 1.61 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 545.3 ns 0.88 ns 0.73 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,291,533.2 ns 323,434.43 ns 286,716.19 ns 110,575.48 527.75 250.0000 125.0000 125.0000 16000532 B 46,513.17
InvokeIntArrayFixed 100000 61,663.1 ns 430.92 ns 403.08 ns 113.09 0.73 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,526.7 ns 311.94 ns 276.52 ns 112.84 0.51 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,930,637.0 ns 99,886.21 ns 77,984.58 ns 155,763.93 243.47 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.172 μs 0.0007 μs 0.0005 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.158 μs 0.0073 μs 0.0065 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.163 μs 0.0009 μs 0.0008 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 105.8 ns 0.04 ns 0.04 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 144.4 ns 0.04 ns 0.04 ns 1.37 0.00 0.0002 24 B 1.00
GetInstanceStringField 118.7 ns 0.04 ns 0.04 ns 1.12 0.00 - - 0.00
SetInstanceStringField 748.9 ns 1.12 ns 1.05 ns 7.08 0.01 0.0038 288 B 12.00
GetStaticIntField 130.3 ns 0.08 ns 0.06 ns 1.23 0.00 0.0002 24 B 1.00
SetStaticIntField 152.8 ns 0.09 ns 0.08 ns 1.44 0.00 0.0002 24 B 1.00
GetStaticStringField 115.9 ns 0.07 ns 0.07 ns 1.10 0.00 - - 0.00
SetStaticStringField 739.7 ns 3.38 ns 2.99 ns 6.99 0.03 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 145.5 ns 0.06 ns 0.05 ns 1.38 0.00 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 380.4 ns 0.22 ns 0.21 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 341.6 ns 0.26 ns 0.24 ns 0.90 - - NA
InvokeStaticWithFeedback 520.4 ns 0.37 ns 0.31 ns 1.37 0.0048 344 B NA
InvokeInstanceEmpty 390.7 ns 0.23 ns 0.22 ns 1.03 - - NA
InvokeInstanceWithFeedback 543.8 ns 0.96 ns 0.90 ns 1.43 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.356 μs 0.0026 μs 0.0024 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,991.9 ns 4.73 ns 3.95 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 601.1 ns 0.31 ns 0.27 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,210.1 ns 117.71 ns 104.34 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 601.9 ns 0.36 ns 0.32 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,547,861.4 ns 73,035.26 ns 68,317.22 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 636.4 ns 0.36 ns 0.30 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,052.8 ns 5.50 ns 5.15 ns - 104 B
PredicateRoundTrip False False True 1,062.0 ns 5.79 ns 5.41 ns - 104 B
PredicateRoundTrip False True False 1,266.2 ns 6.35 ns 5.94 ns 0.0019 200 B
PredicateRoundTrip False True True 4,756.5 ns 16.88 ns 15.79 ns 0.0076 792 B
PredicateRoundTrip True False False 445.1 ns 0.48 ns 0.45 ns - 24 B
PredicateRoundTrip True False True 445.9 ns 0.71 ns 0.56 ns - 24 B
PredicateRoundTrip True True False 643.9 ns 0.49 ns 0.38 ns 0.0010 120 B
PredicateRoundTrip True True True 4,142.7 ns 12.39 ns 11.59 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 620.71 ns 0.538 ns 0.477 ns - 80 B
PredicateSustained False False True 619.60 ns 0.377 ns 0.334 ns - 80 B
PredicateSustained False True False 814.88 ns 4.143 ns 3.875 ns 0.0014 176 B
PredicateSustained False True True 4,308.66 ns 24.333 ns 22.761 ns 0.0100 768 B
PredicateSustained True False False 58.86 ns 1.169 ns 1.300 ns - -
PredicateSustained True False True 59.04 ns 1.122 ns 1.102 ns - -
PredicateSustained True True False 250.54 ns 0.525 ns 0.491 ns 0.0013 96 B
PredicateSustained True True True 3,586.96 ns 7.514 ns 7.029 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 542.3 ns 0.44 ns 0.39 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,235.0 ns 15.52 ns 14.52 ns 13.34 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,225.3 ns 1.51 ns 1.18 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,226.0 ns 2.08 ns 1.74 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,925.1 ns 47.48 ns 44.41 ns 18.30 0.08 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 548.2 ns 0.39 ns 0.33 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 578,702.3 ns 919.48 ns 860.08 ns 1,055.59 1.64 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,927.0 ns 8.00 ns 7.48 ns 3.51 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,907.3 ns 8.70 ns 8.14 ns 3.48 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 765,329.1 ns 596.08 ns 465.38 ns 1,396.01 1.15 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 550.0 ns 1.16 ns 1.08 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,960,999.7 ns 190,660.83 ns 178,344.26 ns 107,201.31 374.66 250.0000 125.0000 125.0000 16000690 B 46,513.63
InvokeIntArrayFixed 100000 60,404.5 ns 307.09 ns 272.22 ns 109.83 0.52 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,018.7 ns 347.10 ns 324.67 ns 109.12 0.61 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 87,006,253.5 ns 477,265.90 ns 446,434.82 ns 158,192.43 841.83 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.145 μs 0.0071 μs 0.0066 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.151 μs 0.0077 μs 0.0072 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.164 μs 0.0084 μs 0.0078 μs 1.02 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 110.8 ns 0.05 ns 0.05 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 156.0 ns 0.05 ns 0.04 ns 1.41 0.0002 24 B 1.00
GetInstanceStringField 115.0 ns 0.02 ns 0.01 ns 1.04 - - 0.00
SetInstanceStringField 725.6 ns 1.37 ns 1.28 ns 6.55 0.0038 288 B 12.00
GetStaticIntField 120.9 ns 0.03 ns 0.03 ns 1.09 0.0002 24 B 1.00
SetStaticIntField 145.9 ns 0.07 ns 0.07 ns 1.32 0.0002 24 B 1.00
GetStaticStringField 109.6 ns 0.02 ns 0.02 ns 0.99 - - 0.00
SetStaticStringField 719.2 ns 1.62 ns 1.52 ns 6.49 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 150.2 ns 0.04 ns 0.03 ns 1.35 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.3 ns 0.10 ns 0.09 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 277.1 ns 0.10 ns 0.09 ns 0.91 - - NA
InvokeStaticWithFeedback 550.2 ns 0.64 ns 0.59 ns 1.80 0.0048 344 B NA
InvokeInstanceEmpty 319.3 ns 0.11 ns 0.11 ns 1.05 - - NA
InvokeInstanceWithFeedback 554.7 ns 0.93 ns 0.87 ns 1.82 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.316 μs 0.0021 μs 0.0020 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,924.8 ns 18.45 ns 17.26 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 595.7 ns 0.38 ns 0.33 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,306.5 ns 153.67 ns 143.74 ns 1.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 597.3 ns 0.35 ns 0.29 ns 0.01 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,035,756.3 ns 65,350.38 ns 61,128.78 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 631.0 ns 0.44 ns 0.39 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,073.4 ns 4.44 ns 4.15 ns - 104 B
PredicateRoundTrip False False True 1,066.2 ns 4.52 ns 4.00 ns - 104 B
PredicateRoundTrip False True False 1,291.6 ns 5.51 ns 5.16 ns 0.0019 200 B
PredicateRoundTrip False True True 5,065.0 ns 35.57 ns 31.53 ns 0.0076 792 B
PredicateRoundTrip True False False 434.3 ns 0.33 ns 0.29 ns - 24 B
PredicateRoundTrip True False True 445.8 ns 0.26 ns 0.22 ns - 24 B
PredicateRoundTrip True True False 630.2 ns 0.63 ns 0.56 ns 0.0010 120 B
PredicateRoundTrip True True True 4,255.5 ns 31.95 ns 29.88 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 616.99 ns 0.861 ns 0.719 ns 0.0011 80 B
PredicateSustained False False True 614.80 ns 5.668 ns 4.733 ns - 80 B
PredicateSustained False True False 803.90 ns 0.612 ns 0.511 ns 0.0014 176 B
PredicateSustained False True True 5,307.72 ns 92.918 ns 86.915 ns 0.0100 768 B
PredicateSustained True False False 51.38 ns 0.978 ns 1.126 ns - -
PredicateSustained True False True 51.74 ns 1.090 ns 0.966 ns - -
PredicateSustained True True False 237.11 ns 0.389 ns 0.345 ns 0.0013 96 B
PredicateSustained True True True 3,675.00 ns 21.910 ns 19.423 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 543.3 ns 1.08 ns 0.96 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,100.7 ns 10.86 ns 10.15 ns 13.07 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,211.8 ns 2.03 ns 1.90 ns 2.23 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,211.2 ns 2.68 ns 2.51 ns 2.23 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,003.9 ns 14.02 ns 13.11 ns 16.57 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 555.9 ns 0.35 ns 0.29 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 569,309.4 ns 1,170.90 ns 1,037.97 ns 1,024.07 1.88 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,893.7 ns 5.71 ns 4.77 ns 3.41 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,913.7 ns 8.76 ns 8.19 ns 3.44 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 742,880.3 ns 929.67 ns 776.32 ns 1,336.29 1.50 3.9063 0.9766 - 265889 B 772.93
InvokeIntParam 100000 554.8 ns 0.71 ns 0.63 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,686,689.8 ns 196,916.92 ns 184,196.21 ns 105,788.31 342.05 250.0000 125.0000 125.0000 16001098 B 46,514.82
InvokeIntArrayFixed 100000 60,851.9 ns 585.21 ns 547.41 ns 109.69 0.96 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,669.3 ns 636.55 ns 595.42 ns 109.36 1.05 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,307,047.4 ns 552,162.08 ns 516,492.75 ns 153,774.03 917.42 1000.0000 833.3333 833.3333 27894544 B 81,088.79

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.137 μs 0.0088 μs 0.0082 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.139 μs 0.0089 μs 0.0083 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.129 μs 0.0007 μs 0.0005 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.7 ns 0.04 ns 0.04 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 147.4 ns 0.13 ns 0.11 ns 1.36 0.0002 24 B 1.00
GetInstanceStringField 116.0 ns 0.03 ns 0.03 ns 1.07 - - 0.00
SetInstanceStringField 707.7 ns 1.19 ns 1.06 ns 6.51 0.0038 288 B 12.00
GetStaticIntField 123.4 ns 0.05 ns 0.04 ns 1.14 0.0002 24 B 1.00
SetStaticIntField 154.7 ns 0.07 ns 0.06 ns 1.42 0.0002 24 B 1.00
GetStaticStringField 111.1 ns 0.02 ns 0.02 ns 1.02 - - 0.00
SetStaticStringField 700.3 ns 1.19 ns 1.05 ns 6.44 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 157.5 ns 0.04 ns 0.03 ns 1.45 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 306.5 ns 0.16 ns 0.15 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 278.9 ns 0.11 ns 0.10 ns 0.91 - - NA
InvokeStaticWithFeedback 532.4 ns 1.16 ns 1.09 ns 1.74 0.0048 344 B NA
InvokeInstanceEmpty 323.1 ns 0.07 ns 0.06 ns 1.05 - - NA
InvokeInstanceWithFeedback 549.2 ns 0.86 ns 0.76 ns 1.79 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.306 μs 0.0013 μs 0.0012 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,923.3 ns 4.15 ns 3.24 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 600.6 ns 0.21 ns 0.19 ns 0.31 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 58,938.0 ns 252.78 ns 236.45 ns 1.00 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 593.6 ns 0.37 ns 0.31 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,262,855.8 ns 129,696.51 ns 121,318.20 ns 1.000 0.02 78.1250 78.1250 78.1250 2400718 B 1.000
InvokeSingleStringPreallocated 100000 645.0 ns 0.35 ns 0.31 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,018.1 ns 6.71 ns 6.28 ns - 104 B
PredicateRoundTrip False False True 1,030.0 ns 5.19 ns 4.86 ns - 104 B
PredicateRoundTrip False True False 1,226.5 ns 6.17 ns 5.77 ns 0.0019 200 B
PredicateRoundTrip False True True 4,654.1 ns 15.76 ns 14.74 ns 0.0076 792 B
PredicateRoundTrip True False False 438.6 ns 0.21 ns 0.17 ns - 24 B
PredicateRoundTrip True False True 430.3 ns 0.81 ns 0.76 ns - 24 B
PredicateRoundTrip True True False 629.7 ns 1.28 ns 1.00 ns 0.0010 120 B
PredicateRoundTrip True True True 4,162.6 ns 25.07 ns 23.45 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 602.77 ns 0.270 ns 0.226 ns 0.0011 80 B
PredicateSustained False False True 595.74 ns 0.423 ns 0.375 ns 0.0011 80 B
PredicateSustained False True False 785.30 ns 5.515 ns 5.159 ns 0.0014 176 B
PredicateSustained False True True 4,343.83 ns 20.187 ns 18.883 ns 0.0100 768 B
PredicateSustained True False False 50.04 ns 0.961 ns 0.899 ns - -
PredicateSustained True False True 53.06 ns 0.992 ns 0.928 ns - -
PredicateSustained True True False 242.06 ns 0.261 ns 0.231 ns 0.0013 96 B
PredicateSustained True True True 3,535.98 ns 16.307 ns 15.253 ns 0.0100 688 B

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 552.9 ns 0.36 ns 0.32 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,017.4 ns 8.83 ns 7.82 ns 12.69 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,208.9 ns 1.59 ns 1.49 ns 2.19 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,225.7 ns 1.14 ns 1.01 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,468.3 ns 41.21 ns 38.55 ns 17.13 0.07 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 543.3 ns 0.34 ns 0.30 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 560,326.8 ns 1,353.44 ns 1,266.01 ns 1,031.27 2.32 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,925.9 ns 7.17 ns 6.35 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,931.0 ns 8.13 ns 7.60 ns 3.55 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 749,644.3 ns 1,957.58 ns 1,634.67 ns 1,379.70 2.99 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 557.3 ns 0.15 ns 0.14 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,943,806.5 ns 205,910.17 ns 192,608.51 ns 105,760.59 335.59 333.3333 222.2222 222.2222 16001138 B 46,514.94
InvokeIntArrayFixed 100000 60,546.1 ns 292.74 ns 259.51 ns 108.64 0.45 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,686.7 ns 334.01 ns 278.91 ns 108.89 0.48 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,730,457.2 ns 949,637.96 ns 841,829.31 ns 153,822.84 1,459.69 1000.0000 833.3333 833.3333 27895455 B 81,091.44

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.132 μs 0.0048 μs 0.0040 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.142 μs 0.0080 μs 0.0075 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.138 μs 0.0096 μs 0.0085 μs 1.01 0.0038 360 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.2 ns 0.05 ns 0.05 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 147.3 ns 0.18 ns 0.16 ns 1.36 0.0002 24 B 1.00
GetInstanceStringField 116.3 ns 0.04 ns 0.04 ns 1.08 - - 0.00
SetInstanceStringField 701.1 ns 0.94 ns 0.88 ns 6.48 0.0038 288 B 12.00
GetStaticIntField 123.8 ns 0.05 ns 0.04 ns 1.14 0.0002 24 B 1.00
SetStaticIntField 147.6 ns 0.06 ns 0.05 ns 1.36 0.0002 24 B 1.00
GetStaticStringField 116.5 ns 0.01 ns 0.01 ns 1.08 - - 0.00
SetStaticStringField 703.5 ns 0.99 ns 0.93 ns 6.50 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 152.9 ns 0.05 ns 0.04 ns 1.41 0.0002 24 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 313.0 ns 0.09 ns 0.09 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 277.3 ns 0.07 ns 0.06 ns 0.89 - - NA
InvokeStaticWithFeedback 537.9 ns 0.68 ns 0.60 ns 1.72 0.0048 344 B NA
InvokeInstanceEmpty 321.7 ns 0.11 ns 0.11 ns 1.03 - - NA
InvokeInstanceWithFeedback 549.4 ns 0.59 ns 0.55 ns 1.76 0.0048 344 B NA

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.323 μs 0.0020 μs 0.0018 μs 1.00 0.0095 712 B 1.00

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,000.3 ns 17.47 ns 16.34 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 605.0 ns 0.39 ns 0.35 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 63,239.4 ns 292.33 ns 273.44 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 607.8 ns 0.41 ns 0.36 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,970,545.7 ns 59,717.63 ns 55,859.91 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 657.4 ns 1.47 ns 1.38 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,036.1 ns 5.64 ns 5.27 ns - 104 B
PredicateRoundTrip False False True 1,018.8 ns 5.37 ns 5.02 ns - 104 B
PredicateRoundTrip False True False 1,238.4 ns 3.93 ns 3.68 ns 0.0019 200 B
PredicateRoundTrip False True True 4,527.3 ns 10.19 ns 9.53 ns 0.0076 792 B
PredicateRoundTrip True False False 431.4 ns 0.49 ns 0.44 ns - 24 B
PredicateRoundTrip True False True 435.7 ns 0.14 ns 0.11 ns - 24 B
PredicateRoundTrip True True False 628.6 ns 3.77 ns 3.34 ns 0.0010 120 B
PredicateRoundTrip True True True 3,853.1 ns 8.20 ns 6.85 ns 0.0076 712 B

core-ubuntu-22.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Unknown processor, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 593.61 ns 0.803 ns 0.627 ns 0.0011 80 B
PredicateSustained False False True 588.08 ns 0.780 ns 0.609 ns 0.0011 80 B
PredicateSustained False True False 784.08 ns 4.359 ns 4.078 ns 0.0014 176 B
PredicateSustained False True True 4,231.99 ns 27.414 ns 26.924 ns 0.0100 768 B
PredicateSustained True False False 48.69 ns 1.194 ns 1.059 ns - -
PredicateSustained True False True 48.38 ns 0.940 ns 1.005 ns - -
PredicateSustained True True False 235.83 ns 0.419 ns 0.372 ns 0.0013 96 B
PredicateSustained True True True 3,452.02 ns 55.554 ns 57.050 ns 0.0100 688 B

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 698.0 ns 9.60 ns 8.98 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,988.3 ns 84.42 ns 74.84 ns 11.45 0.18 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,506.5 ns 20.10 ns 18.80 ns 2.16 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,491.2 ns 7.23 ns 6.04 ns 2.14 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,005.3 ns 88.27 ns 73.71 ns 14.34 0.21 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 692.5 ns 7.57 ns 6.32 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 623,293.5 ns 12,255.18 ns 11,463.51 ns 900.11 17.86 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,230.6 ns 26.69 ns 24.96 ns 3.22 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,247.6 ns 11.53 ns 9.63 ns 3.25 0.03 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 798,460.1 ns 3,443.43 ns 2,875.42 ns 1,153.07 10.86 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 693.8 ns 8.78 ns 8.22 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 70,921,110.0 ns 1,101,194.25 ns 1,030,057.79 ns 102,232.94 1,849.88 1000.0000 857.1429 285.7143 16000709 B 51,284.32
InvokeIntArrayFixed 100000 72,177.2 ns 208.94 ns 174.48 ns 104.04 1.21 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,113.6 ns 374.38 ns 350.19 ns 103.95 1.28 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 94,598,724.4 ns 1,515,553.13 ns 1,417,649.33 ns 136,364.28 2,515.18 1833.3333 1666.6667 833.3333 27894719 B 89,406.15

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.394 μs 0.0119 μs 0.0106 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.401 μs 0.0122 μs 0.0114 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.405 μs 0.0194 μs 0.0181 μs 1.01 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.8 ns 1.38 ns 1.22 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 124.9 ns 2.22 ns 2.08 ns 1.16 0.02 0.0014 24 B 1.00
GetInstanceStringField 122.6 ns 1.34 ns 1.12 ns 1.14 0.02 - - 0.00
SetInstanceStringField 813.5 ns 8.75 ns 7.76 ns 7.55 0.11 0.0153 256 B 10.67
GetStaticIntField 119.9 ns 2.09 ns 1.96 ns 1.11 0.02 0.0014 24 B 1.00
SetStaticIntField 134.7 ns 2.05 ns 1.92 ns 1.25 0.02 0.0014 24 B 1.00
GetStaticStringField 111.0 ns 1.64 ns 1.54 ns 1.03 0.02 - - 0.00
SetStaticStringField 766.0 ns 4.08 ns 3.82 ns 7.11 0.08 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 122.8 ns 2.33 ns 2.18 ns 1.14 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 404.9 ns 8.06 ns 8.96 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 386.2 ns 4.54 ns 3.79 ns 0.95 0.02 - - NA
InvokeStaticWithFeedback 668.5 ns 12.23 ns 11.44 ns 1.65 0.05 0.0181 312 B NA
InvokeInstanceEmpty 444.8 ns 8.39 ns 8.24 ns 1.10 0.03 - - NA
InvokeInstanceWithFeedback 694.7 ns 12.48 ns 11.67 ns 1.72 0.05 0.0181 312 B NA

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.790 μs 0.0151 μs 0.0142 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,475.7 ns 22.55 ns 21.09 ns 1.00 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 729.6 ns 8.12 ns 7.60 ns 0.29 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 67,808.1 ns 587.44 ns 549.49 ns 1.00 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 741.4 ns 11.98 ns 11.21 ns 0.01 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,520,919.7 ns 76,925.76 ns 64,236.49 ns 1.000 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 779.6 ns 10.01 ns 8.87 ns 0.000 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,383.0 ns 17.90 ns 16.74 ns 0.0057 104 B
PredicateRoundTrip False False True 1,363.6 ns 25.95 ns 24.27 ns 0.0057 104 B
PredicateRoundTrip False True False 1,743.8 ns 22.49 ns 19.93 ns 0.0114 200 B
PredicateRoundTrip False True True 5,544.8 ns 60.22 ns 53.38 ns 0.0381 760 B
PredicateRoundTrip True False False 514.2 ns 8.90 ns 8.32 ns 0.0010 24 B
PredicateRoundTrip True False True 496.7 ns 8.36 ns 7.82 ns 0.0010 24 B
PredicateRoundTrip True True False 830.8 ns 10.24 ns 9.08 ns 0.0067 120 B
PredicateRoundTrip True True True 4,619.7 ns 57.50 ns 50.97 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 688.55 ns 11.883 ns 13.208 ns 0.0038 80 B
PredicateSustained False False True 708.17 ns 11.842 ns 11.077 ns 0.0043 80 B
PredicateSustained False True False 1,001.84 ns 14.187 ns 13.270 ns 0.0100 176 B
PredicateSustained False True True 4,925.74 ns 70.672 ns 66.107 ns 0.0400 736 B
PredicateSustained True False False 33.50 ns 0.277 ns 0.246 ns - -
PredicateSustained True False True 34.81 ns 0.403 ns 0.377 ns - -
PredicateSustained True True False 253.10 ns 3.086 ns 2.887 ns 0.0056 96 B
PredicateSustained True True True 4,059.84 ns 51.335 ns 48.019 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 687.8 ns 11.06 ns 10.34 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,512.4 ns 107.61 ns 100.65 ns 10.92 0.21 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,464.3 ns 5.85 ns 4.88 ns 2.13 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,476.6 ns 16.43 ns 15.37 ns 2.15 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,960.1 ns 150.77 ns 133.65 ns 14.48 0.28 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 671.4 ns 7.09 ns 6.29 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 553,970.7 ns 4,326.48 ns 3,612.81 ns 825.12 9.06 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,201.1 ns 23.31 ns 20.67 ns 3.28 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,243.1 ns 26.89 ns 23.84 ns 3.34 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 765,961.8 ns 9,883.02 ns 9,244.58 ns 1,140.88 16.83 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 673.3 ns 7.92 ns 7.02 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 68,850,979.2 ns 1,140,877.72 ns 1,011,358.39 ns 102,265.37 1,774.83 1000.0000 857.1429 285.7143 16001261 B 51,286.09
InvokeIntArrayFixed 100000 71,752.3 ns 651.14 ns 609.08 ns 106.57 1.38 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,258.7 ns 449.75 ns 420.69 ns 107.33 1.23 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 95,715,104.7 ns 1,277,710.14 ns 1,195,170.86 ns 142,167.05 2,229.80 1833.3333 1666.6667 833.3333 27894505 B 89,405.46

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.371 μs 0.0186 μs 0.0174 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.333 μs 0.0184 μs 0.0173 μs 0.97 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.375 μs 0.0208 μs 0.0194 μs 1.00 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 106.0 ns 1.91 ns 1.79 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 131.0 ns 1.64 ns 1.54 ns 1.24 0.02 0.0014 24 B 1.00
GetInstanceStringField 113.2 ns 1.78 ns 1.67 ns 1.07 0.02 - - 0.00
SetInstanceStringField 766.6 ns 10.11 ns 9.45 ns 7.23 0.15 0.0153 256 B 10.67
GetStaticIntField 115.4 ns 2.15 ns 2.01 ns 1.09 0.03 0.0014 24 B 1.00
SetStaticIntField 116.7 ns 2.00 ns 1.77 ns 1.10 0.02 0.0014 24 B 1.00
GetStaticStringField 107.2 ns 1.27 ns 1.12 ns 1.01 0.02 - - 0.00
SetStaticStringField 754.0 ns 6.86 ns 5.73 ns 7.12 0.13 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 119.2 ns 2.12 ns 1.88 ns 1.13 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 338.2 ns 2.81 ns 2.19 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 327.2 ns 6.28 ns 6.98 ns 0.97 0.02 - - NA
InvokeStaticWithFeedback 657.9 ns 10.44 ns 9.76 ns 1.95 0.03 0.0181 312 B NA
InvokeInstanceEmpty 345.3 ns 6.60 ns 6.48 ns 1.02 0.02 - - NA
InvokeInstanceWithFeedback 703.7 ns 9.30 ns 8.70 ns 2.08 0.03 0.0181 312 B NA

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.708 μs 0.0177 μs 0.0148 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,446.2 ns 24.71 ns 23.11 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 715.2 ns 13.78 ns 13.53 ns 0.29 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 67,333.8 ns 1,314.40 ns 1,229.49 ns 1.00 0.03 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 697.9 ns 13.32 ns 14.25 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,904,285.8 ns 176,189.95 ns 188,521.27 ns 1.000 0.03 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 748.5 ns 12.58 ns 11.76 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,321.8 ns 25.74 ns 27.54 ns 0.0057 104 B
PredicateRoundTrip False False True 1,311.8 ns 17.46 ns 16.33 ns 0.0057 104 B
PredicateRoundTrip False True False 1,631.7 ns 13.12 ns 12.27 ns 0.0114 200 B
PredicateRoundTrip False True True 5,483.6 ns 106.93 ns 100.02 ns 0.0381 760 B
PredicateRoundTrip True False False 507.3 ns 6.16 ns 5.76 ns 0.0010 24 B
PredicateRoundTrip True False True 497.6 ns 7.10 ns 6.29 ns 0.0010 24 B
PredicateRoundTrip True True False 791.4 ns 12.66 ns 11.85 ns 0.0067 120 B
PredicateRoundTrip True True True 4,575.3 ns 39.51 ns 35.03 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 667.68 ns 13.124 ns 14.587 ns 0.0038 80 B
PredicateSustained False False True 678.82 ns 13.296 ns 13.654 ns 0.0038 80 B
PredicateSustained False True False 970.31 ns 12.771 ns 10.664 ns 0.0100 176 B
PredicateSustained False True True 4,815.94 ns 69.006 ns 64.549 ns 0.0400 736 B
PredicateSustained True False False 32.31 ns 0.335 ns 0.297 ns - -
PredicateSustained True False True 32.77 ns 0.617 ns 0.577 ns - -
PredicateSustained True True False 260.33 ns 2.784 ns 2.604 ns 0.0056 96 B
PredicateSustained True True True 3,986.73 ns 60.983 ns 57.044 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 656.1 ns 9.62 ns 9.00 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,286.6 ns 78.71 ns 73.62 ns 11.11 0.18 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,399.7 ns 24.41 ns 22.84 ns 2.13 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,445.4 ns 21.43 ns 20.04 ns 2.20 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,617.4 ns 95.74 ns 84.87 ns 14.66 0.23 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 647.6 ns 5.49 ns 5.13 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 559,387.7 ns 4,329.59 ns 3,615.40 ns 863.79 8.53 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,145.8 ns 20.29 ns 18.98 ns 3.31 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,136.1 ns 16.95 ns 15.86 ns 3.30 0.03 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 782,154.1 ns 7,744.29 ns 6,865.12 ns 1,207.78 13.80 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 667.1 ns 9.35 ns 8.75 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 69,016,242.7 ns 714,247.86 ns 668,107.90 ns 103,468.77 1,638.05 1000.0000 857.1429 285.7143 16001219 B 51,285.96
InvokeIntArrayFixed 100000 71,275.1 ns 301.91 ns 267.64 ns 106.86 1.42 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 71,194.3 ns 233.02 ns 206.56 ns 106.73 1.39 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 95,620,359.0 ns 1,409,198.10 ns 1,249,217.41 ns 143,353.51 2,572.73 1833.3333 1666.6667 833.3333 27893644 B 89,402.71

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.294 μs 0.0206 μs 0.0193 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.323 μs 0.0200 μs 0.0177 μs 1.02 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.308 μs 0.0158 μs 0.0148 μs 1.01 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 106.9 ns 1.66 ns 1.55 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 113.0 ns 1.88 ns 1.67 ns 1.06 0.02 0.0014 24 B 1.00
GetInstanceStringField 119.2 ns 1.81 ns 1.70 ns 1.12 0.02 - - 0.00
SetInstanceStringField 752.2 ns 10.03 ns 9.38 ns 7.04 0.13 0.0153 256 B 10.67
GetStaticIntField 116.4 ns 2.06 ns 1.93 ns 1.09 0.02 0.0014 24 B 1.00
SetStaticIntField 119.3 ns 2.20 ns 2.05 ns 1.12 0.02 0.0014 24 B 1.00
GetStaticStringField 109.6 ns 1.87 ns 1.75 ns 1.03 0.02 - - 0.00
SetStaticStringField 733.1 ns 8.05 ns 7.53 ns 6.86 0.12 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 114.3 ns 1.60 ns 1.49 ns 1.07 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 345.3 ns 5.79 ns 5.41 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 330.7 ns 5.13 ns 4.55 ns 0.96 0.02 - - NA
InvokeStaticWithFeedback 637.3 ns 5.11 ns 4.27 ns 1.85 0.03 0.0181 312 B NA
InvokeInstanceEmpty 339.7 ns 3.95 ns 3.50 ns 0.98 0.02 - - NA
InvokeInstanceWithFeedback 672.6 ns 11.41 ns 10.68 ns 1.95 0.04 0.0181 312 B NA

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.620 μs 0.0197 μs 0.0184 μs 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,380.7 ns 23.75 ns 22.21 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 711.2 ns 12.46 ns 11.65 ns 0.30 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 65,774.6 ns 1,040.10 ns 922.03 ns 1.00 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 673.7 ns 9.01 ns 8.42 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,641,118.6 ns 169,716.65 ns 166,684.45 ns 1.000 0.03 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 733.3 ns 11.63 ns 10.88 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,305.2 ns 18.94 ns 17.71 ns 0.0057 104 B
PredicateRoundTrip False False True 1,287.4 ns 20.92 ns 18.55 ns 0.0057 104 B
PredicateRoundTrip False True False 1,638.1 ns 12.80 ns 11.35 ns 0.0114 200 B
PredicateRoundTrip False True True 5,393.4 ns 75.65 ns 63.17 ns 0.0381 760 B
PredicateRoundTrip True False False 488.9 ns 8.01 ns 7.49 ns 0.0010 24 B
PredicateRoundTrip True False True 506.2 ns 10.00 ns 9.82 ns 0.0010 24 B
PredicateRoundTrip True True False 804.4 ns 4.12 ns 3.44 ns 0.0067 120 B
PredicateRoundTrip True True True 4,419.3 ns 44.45 ns 41.58 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.22GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 674.68 ns 13.365 ns 15.392 ns 0.0038 80 B
PredicateSustained False False True 680.51 ns 9.320 ns 8.718 ns 0.0038 80 B
PredicateSustained False True False 995.76 ns 14.148 ns 12.542 ns 0.0100 176 B
PredicateSustained False True True 4,660.11 ns 62.823 ns 58.764 ns 0.0400 736 B
PredicateSustained True False False 34.28 ns 0.567 ns 0.530 ns - -
PredicateSustained True False True 32.72 ns 0.541 ns 0.506 ns - -
PredicateSustained True True False 250.03 ns 1.517 ns 1.419 ns 0.0056 96 B
PredicateSustained True True True 3,815.04 ns 60.732 ns 56.809 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 670.2 ns 10.50 ns 9.82 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,377.6 ns 41.12 ns 36.46 ns 11.01 0.16 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,483.8 ns 15.77 ns 14.75 ns 2.21 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,470.8 ns 22.18 ns 20.75 ns 2.20 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,041.5 ns 99.44 ns 93.02 ns 14.99 0.25 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 682.1 ns 11.55 ns 10.81 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 553,568.6 ns 6,204.02 ns 5,803.24 ns 811.79 14.96 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,200.5 ns 21.17 ns 19.80 ns 3.23 0.06 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,223.1 ns 21.64 ns 20.25 ns 3.26 0.06 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 779,144.9 ns 7,960.12 ns 6,647.06 ns 1,142.59 19.93 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 690.6 ns 12.71 ns 11.27 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 67,044,174.9 ns 690,234.66 ns 611,875.04 ns 97,105.61 1,764.59 1000.0000 857.1429 285.7143 16000789 B 51,284.58
InvokeIntArrayFixed 100000 71,668.1 ns 314.22 ns 262.39 ns 103.80 1.69 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,175.7 ns 326.37 ns 305.29 ns 104.54 1.72 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 99,374,412.1 ns 1,404,264.09 ns 1,244,843.54 ns 143,932.16 2,874.87 2000.0000 1800.0000 1000.0000 27893581 B 89,402.50

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.334 μs 0.0122 μs 0.0108 μs 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 1.345 μs 0.0146 μs 0.0137 μs 1.01 0.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.333 μs 0.0190 μs 0.0177 μs 1.00 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 101.6 ns 1.26 ns 1.17 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 116.7 ns 1.09 ns 1.02 ns 1.15 0.02 0.0014 24 B 1.00
GetInstanceStringField 108.6 ns 0.73 ns 0.68 ns 1.07 0.01 - - 0.00
SetInstanceStringField 711.1 ns 6.89 ns 6.11 ns 7.00 0.10 0.0153 256 B 10.67
GetStaticIntField 110.7 ns 2.08 ns 1.95 ns 1.09 0.02 0.0014 24 B 1.00
SetStaticIntField 111.1 ns 1.97 ns 1.84 ns 1.09 0.02 0.0014 24 B 1.00
GetStaticStringField 107.0 ns 1.83 ns 1.72 ns 1.05 0.02 - - 0.00
SetStaticStringField 739.3 ns 7.83 ns 7.33 ns 7.28 0.11 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 107.1 ns 2.12 ns 1.99 ns 1.05 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 314.0 ns 6.12 ns 7.52 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 344.6 ns 4.35 ns 3.39 ns 1.10 0.03 - - NA
InvokeStaticWithFeedback 674.6 ns 12.83 ns 14.77 ns 2.15 0.07 0.0181 312 B NA
InvokeInstanceEmpty 357.0 ns 5.81 ns 5.44 ns 1.14 0.03 - - NA
InvokeInstanceWithFeedback 670.7 ns 6.04 ns 5.65 ns 2.14 0.05 0.0181 312 B NA

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.705 μs 0.0222 μs 0.0208 μs 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,484.3 ns 37.10 ns 34.71 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 728.0 ns 5.97 ns 5.29 ns 0.29 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 71,537.5 ns 1,408.29 ns 1,317.32 ns 1.00 0.03 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 735.3 ns 13.11 ns 12.26 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,923,540.1 ns 175,247.48 ns 245,672.52 ns 1.001 0.04 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 754.4 ns 11.51 ns 10.21 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,321.6 ns 25.95 ns 25.48 ns 0.0057 104 B
PredicateRoundTrip False False True 1,273.2 ns 25.19 ns 23.56 ns 0.0057 104 B
PredicateRoundTrip False True False 1,576.6 ns 11.38 ns 10.09 ns 0.0114 200 B
PredicateRoundTrip False True True 5,315.0 ns 82.59 ns 77.26 ns 0.0381 760 B
PredicateRoundTrip True False False 491.8 ns 9.77 ns 10.46 ns 0.0010 24 B
PredicateRoundTrip True False True 499.0 ns 9.75 ns 11.23 ns 0.0010 24 B
PredicateRoundTrip True True False 806.3 ns 3.33 ns 2.60 ns 0.0067 120 B
PredicateRoundTrip True True True 4,494.3 ns 58.27 ns 54.51 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 686.66 ns 8.588 ns 7.613 ns 0.0038 80 B
PredicateSustained False False True 648.75 ns 11.044 ns 10.330 ns 0.0038 80 B
PredicateSustained False True False 945.70 ns 16.697 ns 15.618 ns 0.0100 176 B
PredicateSustained False True True 4,711.20 ns 54.874 ns 48.644 ns 0.0400 736 B
PredicateSustained True False False 35.69 ns 0.474 ns 0.443 ns - -
PredicateSustained True False True 35.07 ns 0.484 ns 0.453 ns - -
PredicateSustained True True False 274.87 ns 3.727 ns 3.486 ns 0.0056 96 B
PredicateSustained True True True 3,859.19 ns 55.330 ns 51.755 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 663.9 ns 9.14 ns 8.55 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,666.1 ns 145.87 ns 136.45 ns 11.55 0.25 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,435.3 ns 20.72 ns 19.39 ns 2.16 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,451.0 ns 12.64 ns 11.82 ns 2.19 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,065.2 ns 111.05 ns 103.87 ns 15.16 0.24 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 646.7 ns 9.76 ns 9.13 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 572,721.9 ns 7,255.94 ns 6,787.21 ns 885.81 15.77 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,931.4 ns 21.09 ns 19.72 ns 2.99 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,911.5 ns 17.76 ns 15.74 ns 2.96 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 786,630.0 ns 8,019.44 ns 7,109.02 ns 1,216.65 19.68 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 650.1 ns 7.30 ns 6.10 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 68,618,335.2 ns 753,721.77 ns 705,031.81 ns 105,555.16 1,415.67 1000.0000 857.1429 285.7143 16001522 B 51,286.93
InvokeIntArrayFixed 100000 45,418.0 ns 266.98 ns 249.73 ns 69.87 0.73 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 44,998.0 ns 286.50 ns 267.99 ns 69.22 0.74 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 94,555,740.4 ns 1,432,674.26 ns 1,270,028.42 ns 145,454.51 2,296.69 1833.3333 1666.6667 833.3333 27893823 B 89,403.28

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.349 μs 0.0206 μs 0.0182 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.317 μs 0.0218 μs 0.0204 μs 0.98 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.308 μs 0.0094 μs 0.0084 μs 0.97 0.01 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 101.3 ns 1.96 ns 1.92 ns 1.00 0.03 0.0014 24 B 1.00
SetInstanceIntField 112.7 ns 1.94 ns 1.82 ns 1.11 0.03 0.0014 24 B 1.00
GetInstanceStringField 104.9 ns 2.01 ns 2.07 ns 1.04 0.03 - - 0.00
SetInstanceStringField 750.8 ns 10.61 ns 9.92 ns 7.41 0.16 0.0153 256 B 10.67
GetStaticIntField 109.8 ns 1.51 ns 1.34 ns 1.08 0.02 0.0014 24 B 1.00
SetStaticIntField 116.2 ns 2.37 ns 2.91 ns 1.15 0.03 0.0014 24 B 1.00
GetStaticStringField 105.2 ns 2.07 ns 1.93 ns 1.04 0.03 - - 0.00
SetStaticStringField 775.3 ns 7.62 ns 7.13 ns 7.65 0.15 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 120.0 ns 1.67 ns 1.56 ns 1.18 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 326.8 ns 5.67 ns 5.30 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 317.7 ns 6.23 ns 6.12 ns 0.97 0.02 - - NA
InvokeStaticWithFeedback 642.2 ns 12.57 ns 12.91 ns 1.97 0.05 0.0181 312 B NA
InvokeInstanceEmpty 336.8 ns 5.09 ns 4.51 ns 1.03 0.02 - - NA
InvokeInstanceWithFeedback 699.2 ns 13.33 ns 13.09 ns 2.14 0.05 0.0181 312 B NA

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.666 μs 0.0210 μs 0.0196 μs 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,299.8 ns 22.97 ns 20.36 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 705.5 ns 13.94 ns 13.04 ns 0.31 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,923.9 ns 1,010.28 ns 945.01 ns 1.00 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 681.2 ns 7.56 ns 6.70 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,989,437.3 ns 125,010.13 ns 116,934.56 ns 1.000 0.02 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 722.6 ns 10.60 ns 9.91 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,272.8 ns 24.28 ns 22.71 ns 0.0057 104 B
PredicateRoundTrip False False True 1,299.8 ns 20.27 ns 18.96 ns 0.0057 104 B
PredicateRoundTrip False True False 1,568.2 ns 13.21 ns 12.36 ns 0.0114 200 B
PredicateRoundTrip False True True 5,231.5 ns 57.44 ns 53.73 ns 0.0381 760 B
PredicateRoundTrip True False False 506.5 ns 7.51 ns 6.66 ns 0.0010 24 B
PredicateRoundTrip True False True 494.6 ns 8.03 ns 7.11 ns 0.0010 24 B
PredicateRoundTrip True True False 770.2 ns 4.06 ns 3.39 ns 0.0067 120 B
PredicateRoundTrip True True True 4,473.0 ns 63.28 ns 59.19 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.64GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 656.53 ns 10.258 ns 9.595 ns 0.0038 80 B
PredicateSustained False False True 657.48 ns 8.029 ns 7.117 ns 0.0038 80 B
PredicateSustained False True False 936.82 ns 8.176 ns 7.248 ns 0.0100 176 B
PredicateSustained False True True 4,635.41 ns 54.352 ns 50.840 ns 0.0400 736 B
PredicateSustained True False False 32.17 ns 0.568 ns 0.532 ns - -
PredicateSustained True False True 34.02 ns 0.486 ns 0.431 ns - -
PredicateSustained True True False 250.16 ns 3.343 ns 3.127 ns 0.0056 96 B
PredicateSustained True True True 3,751.64 ns 67.908 ns 63.521 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 687.2 ns 10.46 ns 9.79 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,778.4 ns 91.52 ns 81.13 ns 11.32 0.19 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,520.6 ns 18.34 ns 17.16 ns 2.21 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,492.9 ns 20.60 ns 19.27 ns 2.17 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,794.1 ns 85.80 ns 80.26 ns 14.25 0.23 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 650.4 ns 11.86 ns 11.09 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 594,069.7 ns 6,366.21 ns 5,954.95 ns 913.70 17.46 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,973.2 ns 27.04 ns 25.29 ns 3.03 0.06 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,963.3 ns 30.62 ns 28.64 ns 3.02 0.07 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 779,602.9 ns 7,350.73 ns 6,516.23 ns 1,199.06 21.99 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 658.5 ns 8.65 ns 7.66 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 66,682,277.9 ns 829,908.48 ns 735,692.25 ns 101,276.83 1,565.40 1000.0000 875.0000 250.0000 16001707 B 51,287.52
InvokeIntArrayFixed 100000 48,943.4 ns 197.57 ns 184.81 ns 74.34 0.88 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 48,563.3 ns 198.71 ns 176.15 ns 73.76 0.87 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 94,796,714.5 ns 913,389.46 ns 809,695.96 ns 143,976.95 2,002.19 1833.3333 1666.6667 833.3333 27894479 B 89,405.38

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.326 μs 0.0143 μs 0.0127 μs 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 1.342 μs 0.0185 μs 0.0173 μs 1.01 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.312 μs 0.0177 μs 0.0166 μs 0.99 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 102.3 ns 2.08 ns 1.95 ns 1.00 0.03 0.0014 24 B 1.00
SetInstanceIntField 113.3 ns 1.63 ns 1.45 ns 1.11 0.02 0.0014 24 B 1.00
GetInstanceStringField 112.2 ns 1.13 ns 1.00 ns 1.10 0.02 - - 0.00
SetInstanceStringField 741.9 ns 6.56 ns 6.13 ns 7.25 0.14 0.0153 256 B 10.67
GetStaticIntField 111.9 ns 1.44 ns 1.28 ns 1.09 0.02 0.0014 24 B 1.00
SetStaticIntField 122.9 ns 2.44 ns 2.40 ns 1.20 0.03 0.0014 24 B 1.00
GetStaticStringField 102.9 ns 1.67 ns 1.56 ns 1.01 0.02 - - 0.00
SetStaticStringField 737.4 ns 9.50 ns 8.88 ns 7.21 0.16 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 115.6 ns 2.00 ns 1.87 ns 1.13 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 334.1 ns 5.16 ns 4.82 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 325.4 ns 6.22 ns 6.11 ns 0.97 0.02 - - NA
InvokeStaticWithFeedback 673.5 ns 8.48 ns 7.93 ns 2.02 0.04 0.0181 312 B NA
InvokeInstanceEmpty 330.8 ns 5.83 ns 5.45 ns 0.99 0.02 - - NA
InvokeInstanceWithFeedback 693.2 ns 13.45 ns 14.39 ns 2.08 0.05 0.0181 312 B NA

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.709 μs 0.0146 μs 0.0130 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,359.4 ns 26.45 ns 20.65 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 706.5 ns 13.72 ns 16.33 ns 0.30 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 65,127.1 ns 854.46 ns 713.52 ns 1.00 0.01 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 695.0 ns 9.33 ns 8.73 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,579,172.0 ns 162,922.69 ns 193,947.89 ns 1.000 0.03 78.1250 78.1250 78.1250 2400533 B 1.000
InvokeSingleStringPreallocated 100000 749.7 ns 14.18 ns 13.27 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,253.9 ns 24.14 ns 25.82 ns 0.0057 104 B
PredicateRoundTrip False False True 1,276.7 ns 11.09 ns 10.37 ns 0.0057 104 B
PredicateRoundTrip False True False 1,623.8 ns 27.51 ns 25.73 ns 0.0114 200 B
PredicateRoundTrip False True True 5,210.3 ns 50.92 ns 47.64 ns 0.0381 760 B
PredicateRoundTrip True False False 480.6 ns 4.05 ns 3.59 ns 0.0010 24 B
PredicateRoundTrip True False True 484.6 ns 9.61 ns 10.68 ns 0.0010 24 B
PredicateRoundTrip True True False 815.2 ns 10.87 ns 10.16 ns 0.0067 120 B
PredicateRoundTrip True True True 4,429.8 ns 62.87 ns 58.81 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 656.26 ns 10.647 ns 9.959 ns 0.0038 80 B
PredicateSustained False False True 634.51 ns 11.948 ns 11.176 ns 0.0038 80 B
PredicateSustained False True False 954.58 ns 13.369 ns 11.851 ns 0.0100 176 B
PredicateSustained False True True 4,646.90 ns 63.087 ns 59.012 ns 0.0400 736 B
PredicateSustained True False False 37.03 ns 0.499 ns 0.466 ns - -
PredicateSustained True False True 32.68 ns 0.256 ns 0.227 ns - -
PredicateSustained True True False 259.54 ns 3.581 ns 3.350 ns 0.0056 96 B
PredicateSustained True True True 3,750.88 ns 48.833 ns 43.289 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 554.5 ns 3.03 ns 2.83 ns 1.00 0.01 0.0029 - - 312 B 1.00
InvokeStringArrayFixed 10 6,895.1 ns 51.99 ns 48.63 ns 12.44 0.11 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,085.7 ns 9.60 ns 8.98 ns 1.96 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,092.7 ns 11.02 ns 9.77 ns 1.97 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,345.9 ns 192.48 ns 180.04 ns 18.66 0.33 0.0305 - - 3488 B 11.18
InvokeIntParam 1000 547.3 ns 7.15 ns 6.69 ns 1.00 0.02 0.0029 - - 312 B 1.00
InvokeStringArrayFixed 1000 534,196.3 ns 5,483.06 ns 4,860.59 ns 976.24 14.37 0.9766 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,647.5 ns 14.31 ns 13.39 ns 3.01 0.04 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,646.5 ns 8.74 ns 7.75 ns 3.01 0.04 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 913,544.7 ns 17,890.02 ns 25,079.31 ns 1,669.50 49.15 2.9297 - - 265856 B 852.10
InvokeIntParam 100000 568.5 ns 4.92 ns 4.60 ns 1.00 0.01 0.0029 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,857,914.5 ns 556,467.00 ns 493,293.50 ns 103,546.47 1,167.56 333.3333 222.2222 222.2222 16001498 B 51,286.85
InvokeIntArrayFixed 100000 53,339.1 ns 325.16 ns 288.25 ns 93.84 0.88 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 53,244.8 ns 487.91 ns 456.39 ns 93.67 1.07 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 101,191,757.4 ns 1,612,016.13 ns 1,429,010.31 ns 178,022.78 2,801.69 1200.0000 1000.0000 1000.0000 27897794 B 89,416.01

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.074 μs 0.0107 μs 0.0100 μs 1.00 0.01 0.0038 360 B 1.00
NewWithSignature 1.203 μs 0.0144 μs 0.0135 μs 1.12 0.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.192 μs 0.0105 μs 0.0099 μs 1.11 0.01 0.0038 360 B 1.00

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 91.75 ns 0.454 ns 0.425 ns 1.00 0.01 0.0002 24 B 1.00
SetInstanceIntField 102.78 ns 0.705 ns 0.625 ns 1.12 0.01 0.0002 24 B 1.00
GetInstanceStringField 92.77 ns 0.895 ns 0.838 ns 1.01 0.01 - - 0.00
SetInstanceStringField 637.99 ns 5.980 ns 5.594 ns 6.95 0.07 0.0029 256 B 10.67
GetStaticIntField 101.50 ns 1.044 ns 0.977 ns 1.11 0.01 0.0002 24 B 1.00
SetStaticIntField 103.03 ns 0.638 ns 0.533 ns 1.12 0.01 0.0002 24 B 1.00
GetStaticStringField 92.12 ns 0.981 ns 0.917 ns 1.00 0.01 - - 0.00
SetStaticStringField 643.91 ns 6.963 ns 6.513 ns 7.02 0.08 0.0029 256 B 10.67
GetInstanceIntFieldGeneric 96.38 ns 0.804 ns 0.752 ns 1.05 0.01 0.0002 24 B 1.00

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 255.5 ns 2.65 ns 2.47 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 265.8 ns 1.84 ns 1.63 ns 1.04 0.01 - - NA
InvokeStaticWithFeedback 555.7 ns 5.22 ns 4.88 ns 2.18 0.03 0.0029 312 B NA
InvokeInstanceEmpty 272.5 ns 2.61 ns 2.44 ns 1.07 0.01 - - NA
InvokeInstanceWithFeedback 554.7 ns 5.91 ns 5.53 ns 2.17 0.03 0.0029 312 B NA

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.308 μs 0.0124 μs 0.0116 μs 1.00 0.0076 680 B 1.00

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,977.4 ns 19.42 ns 16.22 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 570.5 ns 6.32 ns 5.60 ns 0.29 0.00 0.0029 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 63,226.1 ns 368.49 ns 326.65 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 586.8 ns 4.07 ns 3.81 ns 0.009 0.00 0.0029 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,745,810.3 ns 123,394.83 ns 115,423.60 ns 1.000 0.02 78.1250 78.1250 78.1250 2400590 B 1.000
InvokeSingleStringPreallocated 100000 608.8 ns 3.59 ns 3.36 ns 0.000 0.00 0.0029 - - 288 B 0.000

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,040.0 ns 10.95 ns 10.25 ns - 104 B
PredicateRoundTrip False False True 1,048.5 ns 12.78 ns 11.95 ns - 104 B
PredicateRoundTrip False True False 1,333.4 ns 16.48 ns 15.42 ns 0.0019 200 B
PredicateRoundTrip False True True 4,716.9 ns 94.36 ns 78.80 ns 0.0076 760 B
PredicateRoundTrip True False False 402.0 ns 2.18 ns 2.04 ns - 24 B
PredicateRoundTrip True False True 399.0 ns 4.26 ns 3.99 ns - 24 B
PredicateRoundTrip True True False 687.6 ns 6.85 ns 6.40 ns 0.0010 120 B
PredicateRoundTrip True True True 3,938.3 ns 71.80 ns 67.16 ns 0.0076 680 B

core-ubuntu-22.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 595.80 ns 7.492 ns 6.641 ns - 80 B
PredicateSustained False False True 590.87 ns 5.457 ns 5.105 ns - 80 B
PredicateSustained False True False 828.75 ns 10.018 ns 9.371 ns 0.0014 176 B
PredicateSustained False True True 4,209.78 ns 45.416 ns 42.482 ns - 736 B
PredicateSustained True False False 51.36 ns 0.993 ns 1.546 ns - -
PredicateSustained True False True 51.33 ns 1.026 ns 1.876 ns - -
PredicateSustained True True False 234.62 ns 1.718 ns 1.435 ns 0.0009 96 B
PredicateSustained True True True 3,496.72 ns 68.870 ns 67.639 ns - 656 B

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 353.9 ns 6.96 ns 6.51 ns 1.00 0.02 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 4,828.3 ns 36.93 ns 34.55 ns 13.65 0.26 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 823.1 ns 7.34 ns 6.13 ns 2.33 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 809.5 ns 7.15 ns 5.97 ns 2.29 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 5,791.3 ns 115.11 ns 118.21 ns 16.37 0.43 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 364.4 ns 6.91 ns 8.99 ns 1.00 0.03 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 359,463.7 ns 3,843.16 ns 3,594.89 ns 986.89 25.16 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,265.0 ns 14.42 ns 12.04 ns 3.47 0.09 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,291.2 ns 15.15 ns 12.65 ns 3.54 0.09 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 452,280.1 ns 8,652.39 ns 8,885.37 ns 1,241.71 37.67 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 348.8 ns 4.12 ns 3.44 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 43,737,116.7 ns 706,209.91 ns 626,036.69 ns 125,401.19 2,103.26 1083.3333 1000.0000 333.3333 16001405 B 51,286.55
InvokeIntArrayFixed 100000 38,496.8 ns 248.36 ns 220.16 ns 110.38 1.21 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 38,931.6 ns 424.91 ns 376.67 ns 111.62 1.49 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 58,784,270.8 ns 1,145,420.00 ns 1,319,067.38 ns 168,543.74 4,024.19 2111.1111 2000.0000 1000.0000 27893903 B 89,403.54

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Median Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 780.3 ns 8.93 ns 6.97 ns 781.8 ns 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 767.6 ns 7.74 ns 6.04 ns 765.0 ns 0.98 0.01 0.0210 360 B 1.00
DeclaredNewEmpty 793.3 ns 14.51 ns 27.61 ns 780.3 ns 1.02 0.04 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 60.39 ns 0.903 ns 0.801 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 68.72 ns 0.607 ns 0.507 ns 1.14 0.02 0.0014 24 B 1.00
GetInstanceStringField 62.25 ns 0.647 ns 0.505 ns 1.03 0.02 - - 0.00
SetInstanceStringField 460.20 ns 5.818 ns 5.975 ns 7.62 0.14 0.0153 256 B 10.67
GetStaticIntField 66.73 ns 0.438 ns 0.366 ns 1.11 0.02 0.0014 24 B 1.00
SetStaticIntField 67.45 ns 0.899 ns 0.797 ns 1.12 0.02 0.0014 24 B 1.00
GetStaticStringField 60.89 ns 0.446 ns 0.372 ns 1.01 0.01 - - 0.00
SetStaticStringField 446.40 ns 7.438 ns 6.957 ns 7.39 0.15 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 63.22 ns 0.489 ns 0.434 ns 1.05 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 198.2 ns 3.87 ns 3.62 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 199.7 ns 2.90 ns 2.71 ns 1.01 0.02 - - NA
InvokeStaticWithFeedback 333.1 ns 4.35 ns 4.07 ns 1.68 0.04 0.0186 312 B NA
InvokeInstanceEmpty 203.7 ns 2.54 ns 2.37 ns 1.03 0.02 - - NA
InvokeInstanceWithFeedback 363.5 ns 5.61 ns 5.25 ns 1.83 0.04 0.0186 312 B NA

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 953.5 ns 12.73 ns 11.91 ns 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,419.2 ns 16.64 ns 15.56 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 386.0 ns 4.15 ns 3.89 ns 0.27 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 39,301.4 ns 518.38 ns 459.53 ns 1.000 0.02 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 362.5 ns 7.25 ns 8.63 ns 0.009 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 5,383,489.0 ns 104,486.70 ns 124,383.99 ns 1.001 0.03 70.3125 70.3125 70.3125 2400921 B 1.000
InvokeSingleStringPreallocated 100000 408.9 ns 7.01 ns 6.55 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 719.8 ns 7.54 ns 6.69 ns 0.0057 104 B
PredicateRoundTrip False False True 750.2 ns 11.94 ns 11.17 ns 0.0057 104 B
PredicateRoundTrip False True False 941.9 ns 15.24 ns 14.25 ns 0.0114 200 B
PredicateRoundTrip False True True 3,122.1 ns 59.05 ns 52.34 ns 0.0420 760 B
PredicateRoundTrip True False False 257.8 ns 4.98 ns 6.12 ns 0.0014 24 B
PredicateRoundTrip True False True 257.6 ns 2.69 ns 2.38 ns 0.0014 24 B
PredicateRoundTrip True True False 464.2 ns 6.60 ns 5.85 ns 0.0072 120 B
PredicateRoundTrip True True True 2,632.5 ns 26.69 ns 20.84 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 380.01 ns 3.990 ns 3.332 ns 0.0043 80 B
PredicateSustained False False True 394.21 ns 6.192 ns 5.489 ns 0.0046 80 B
PredicateSustained False True False 530.74 ns 7.873 ns 6.575 ns 0.0100 176 B
PredicateSustained False True True 2,679.92 ns 44.475 ns 41.602 ns 0.0400 736 B
PredicateSustained True False False 31.98 ns 0.204 ns 0.159 ns - -
PredicateSustained True False True 32.12 ns 0.225 ns 0.199 ns - -
PredicateSustained True True False 147.88 ns 1.140 ns 0.952 ns 0.0056 96 B
PredicateSustained True True True 2,315.26 ns 46.017 ns 45.195 ns 0.0367 656 B

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 689.3 ns 9.32 ns 8.26 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,734.8 ns 116.84 ns 109.29 ns 11.22 0.20 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,482.5 ns 20.65 ns 18.31 ns 2.15 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,463.5 ns 13.64 ns 12.76 ns 2.12 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,801.7 ns 67.11 ns 56.04 ns 14.22 0.18 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 669.7 ns 7.16 ns 6.69 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 568,674.9 ns 4,908.36 ns 4,351.13 ns 849.28 10.38 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,226.6 ns 22.02 ns 19.52 ns 3.33 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,222.4 ns 15.52 ns 13.76 ns 3.32 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 797,899.4 ns 11,583.20 ns 10,834.93 ns 1,191.61 19.49 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 669.4 ns 7.95 ns 7.44 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 68,080,510.2 ns 790,554.85 ns 739,485.50 ns 101,714.19 1,531.64 1000.0000 857.1429 285.7143 16000712 B 51,284.33
InvokeIntArrayFixed 100000 72,525.2 ns 267.63 ns 237.25 ns 108.35 1.22 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,797.5 ns 268.02 ns 237.60 ns 108.76 1.22 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 94,985,632.1 ns 1,661,867.07 ns 1,554,511.49 ns 141,911.19 2,719.59 1833.3333 1666.6667 833.3333 27893548 B 89,402.40

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.367 μs 0.0147 μs 0.0137 μs 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 1.372 μs 0.0119 μs 0.0105 μs 1.00 0.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.391 μs 0.0178 μs 0.0166 μs 1.02 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 104.13 ns 1.908 ns 1.785 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 111.44 ns 2.181 ns 2.142 ns 1.07 0.03 0.0014 24 B 1.00
GetInstanceStringField 106.73 ns 1.748 ns 1.635 ns 1.03 0.02 - - 0.00
SetInstanceStringField 759.90 ns 5.927 ns 5.254 ns 7.30 0.13 0.0153 256 B 10.67
GetStaticIntField 110.69 ns 1.225 ns 1.146 ns 1.06 0.02 0.0014 24 B 1.00
SetStaticIntField 117.56 ns 2.254 ns 2.213 ns 1.13 0.03 0.0014 24 B 1.00
GetStaticStringField 99.92 ns 1.688 ns 1.578 ns 0.96 0.02 - - 0.00
SetStaticStringField 743.62 ns 5.886 ns 5.217 ns 7.14 0.13 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 124.40 ns 1.856 ns 1.736 ns 1.19 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 334.0 ns 6.68 ns 6.86 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 331.4 ns 6.31 ns 6.75 ns 0.99 0.03 - - NA
InvokeStaticWithFeedback 655.4 ns 7.27 ns 6.07 ns 1.96 0.04 0.0181 312 B NA
InvokeInstanceEmpty 336.3 ns 6.48 ns 6.65 ns 1.01 0.03 - - NA
InvokeInstanceWithFeedback 696.6 ns 13.90 ns 13.00 ns 2.09 0.06 0.0181 312 B NA

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.735 μs 0.0096 μs 0.0085 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,425.6 ns 28.56 ns 26.71 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 714.5 ns 10.32 ns 9.15 ns 0.29 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 66,797.3 ns 1,198.67 ns 1,121.24 ns 1.00 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 708.1 ns 7.23 ns 6.76 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,408,743.9 ns 164,701.24 ns 225,444.94 ns 1.001 0.04 78.1250 78.1250 78.1250 2400551 B 1.000
InvokeSingleStringPreallocated 100000 757.0 ns 14.16 ns 13.25 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,316.4 ns 25.51 ns 23.86 ns 0.0057 104 B
PredicateRoundTrip False False True 1,281.6 ns 14.43 ns 13.50 ns 0.0057 104 B
PredicateRoundTrip False True False 1,640.6 ns 18.56 ns 17.36 ns 0.0114 200 B
PredicateRoundTrip False True True 5,391.1 ns 42.32 ns 37.51 ns 0.0381 760 B
PredicateRoundTrip True False False 487.4 ns 9.52 ns 11.69 ns 0.0010 24 B
PredicateRoundTrip True False True 492.1 ns 9.48 ns 8.86 ns 0.0010 24 B
PredicateRoundTrip True True False 805.5 ns 11.22 ns 9.95 ns 0.0067 120 B
PredicateRoundTrip True True True 4,423.0 ns 54.02 ns 50.53 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 665.28 ns 6.981 ns 6.189 ns 0.0038 80 B
PredicateSustained False False True 692.12 ns 12.924 ns 12.693 ns 0.0038 80 B
PredicateSustained False True False 962.38 ns 10.516 ns 9.322 ns 0.0100 176 B
PredicateSustained False True True 4,657.38 ns 27.892 ns 23.291 ns 0.0400 736 B
PredicateSustained True False False 33.19 ns 0.403 ns 0.377 ns - -
PredicateSustained True False True 32.83 ns 0.394 ns 0.369 ns - -
PredicateSustained True True False 253.06 ns 1.273 ns 0.994 ns 0.0056 96 B
PredicateSustained True True True 3,848.33 ns 73.642 ns 72.326 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 521.0 ns 10.15 ns 9.49 ns 1.00 0.02 0.0029 - - 312 B 1.00
InvokeStringArrayFixed 10 6,320.7 ns 71.89 ns 67.25 ns 12.13 0.25 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,003.5 ns 15.24 ns 14.25 ns 1.93 0.04 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,013.1 ns 19.78 ns 21.99 ns 1.95 0.05 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,611.1 ns 182.57 ns 210.24 ns 18.45 0.51 0.0305 - - 3488 B 11.18
InvokeIntParam 1000 509.0 ns 10.21 ns 9.55 ns 1.00 0.03 0.0029 - - 312 B 1.00
InvokeStringArrayFixed 1000 494,219.2 ns 7,758.32 ns 7,257.14 ns 971.19 22.48 0.9766 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,784.9 ns 22.38 ns 20.94 ns 3.51 0.08 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,807.8 ns 28.61 ns 26.76 ns 3.55 0.08 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 819,150.8 ns 16,051.42 ns 24,990.13 ns 1,609.71 56.61 2.9297 - - 265856 B 852.10
InvokeIntParam 100000 507.5 ns 8.91 ns 8.33 ns 1.00 0.02 0.0029 - - 312 B 1.00
InvokeStringArrayFixed 100000 53,797,139.7 ns 1,070,125.47 ns 1,189,441.62 ns 106,041.18 2,840.38 300.0000 200.0000 200.0000 16001760 B 51,287.69
InvokeIntArrayFixed 100000 76,776.3 ns 1,171.83 ns 1,096.13 ns 151.34 3.19 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 76,551.1 ns 949.39 ns 888.06 ns 150.89 2.94 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 91,366,226.8 ns 1,766,632.62 ns 2,297,121.61 ns 180,094.75 5,281.54 1200.0000 1000.0000 1000.0000 27896379 B 89,411.47

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1,020.4 ns 13.79 ns 11.52 ns 1.00 0.02 0.0038 360 B 1.00
NewWithSignature 998.6 ns 19.04 ns 17.81 ns 0.98 0.02 0.0038 360 B 1.00
DeclaredNewEmpty 1,109.6 ns 19.72 ns 18.44 ns 1.09 0.02 0.0038 360 B 1.00

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 86.81 ns 1.319 ns 1.233 ns 1.00 0.02 0.0002 24 B 1.00
SetInstanceIntField 91.95 ns 1.385 ns 1.295 ns 1.06 0.02 0.0002 24 B 1.00
GetInstanceStringField 85.84 ns 1.092 ns 0.968 ns 0.99 0.02 - - 0.00
SetInstanceStringField 615.67 ns 7.702 ns 6.827 ns 7.09 0.12 0.0029 256 B 10.67
GetStaticIntField 91.87 ns 1.353 ns 1.266 ns 1.06 0.02 0.0002 24 B 1.00
SetStaticIntField 96.86 ns 1.281 ns 1.136 ns 1.12 0.02 0.0002 24 B 1.00
GetStaticStringField 85.34 ns 1.130 ns 1.057 ns 0.98 0.02 - - 0.00
SetStaticStringField 614.31 ns 11.388 ns 10.653 ns 7.08 0.15 0.0029 256 B 10.67
GetInstanceIntFieldGeneric 88.45 ns 1.356 ns 1.269 ns 1.02 0.02 0.0002 24 B 1.00

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 244.8 ns 4.80 ns 4.49 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 243.9 ns 3.00 ns 2.50 ns 1.00 0.02 - - NA
InvokeStaticWithFeedback 512.9 ns 8.01 ns 6.69 ns 2.10 0.05 0.0029 312 B NA
InvokeInstanceEmpty 249.6 ns 4.94 ns 5.07 ns 1.02 0.03 - - NA
InvokeInstanceWithFeedback 493.1 ns 7.73 ns 7.23 ns 2.01 0.05 0.0029 312 B NA

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.199 μs 0.0164 μs 0.0145 μs 1.00 0.02 0.0076 680 B 1.00

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,826.8 ns 29.55 ns 27.64 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 551.1 ns 6.43 ns 5.37 ns 0.30 0.01 0.0029 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 51,587.1 ns 864.51 ns 808.67 ns 1.00 0.02 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 532.3 ns 8.17 ns 7.64 ns 0.01 0.00 0.0029 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,347,562.8 ns 97,945.39 ns 91,618.18 ns 1.000 0.02 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 550.2 ns 10.52 ns 9.84 ns 0.000 0.00 0.0029 - - 288 B 0.000

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,008.8 ns 18.96 ns 18.63 ns - 104 B
PredicateRoundTrip False False True 997.1 ns 19.87 ns 19.51 ns - 104 B
PredicateRoundTrip False True False 1,238.7 ns 20.72 ns 18.37 ns 0.0019 200 B
PredicateRoundTrip False True True 4,354.8 ns 81.72 ns 72.44 ns 0.0076 760 B
PredicateRoundTrip True False False 378.3 ns 5.20 ns 4.87 ns - 24 B
PredicateRoundTrip True False True 402.1 ns 5.97 ns 5.29 ns - 24 B
PredicateRoundTrip True True False 622.7 ns 9.26 ns 8.21 ns 0.0010 120 B
PredicateRoundTrip True True True 3,654.8 ns 72.16 ns 85.90 ns 0.0076 680 B

core-ubuntu-22.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 2.97GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 558.60 ns 6.516 ns 5.776 ns - 80 B
PredicateSustained False False True 568.30 ns 10.845 ns 9.056 ns - 80 B
PredicateSustained False True False 814.75 ns 11.997 ns 10.635 ns 0.0014 176 B
PredicateSustained False True True 3,856.79 ns 73.538 ns 75.518 ns - 736 B
PredicateSustained True False False 48.61 ns 0.953 ns 1.455 ns - -
PredicateSustained True False True 48.29 ns 0.946 ns 1.294 ns - -
PredicateSustained True True False 221.83 ns 2.480 ns 2.320 ns 0.0009 96 B
PredicateSustained True True True 3,173.46 ns 61.680 ns 92.320 ns - 656 B

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 681.8 ns 13.45 ns 16.52 ns 1.00 0.03 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,482.1 ns 52.06 ns 46.15 ns 10.98 0.27 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,469.9 ns 12.53 ns 11.11 ns 2.16 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,477.4 ns 15.19 ns 14.21 ns 2.17 0.06 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,858.7 ns 145.85 ns 129.29 ns 14.47 0.39 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 667.2 ns 9.37 ns 8.77 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 555,250.8 ns 6,553.91 ns 5,472.81 ns 832.32 13.28 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,174.0 ns 25.88 ns 24.21 ns 3.26 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,162.7 ns 18.99 ns 17.76 ns 3.24 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 774,075.4 ns 8,603.15 ns 8,047.39 ns 1,160.34 18.92 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 668.4 ns 7.93 ns 7.03 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 66,471,916.0 ns 811,033.72 ns 758,641.45 ns 99,458.07 1,495.53 1000.0000 875.0000 250.0000 16001764 B 51,287.71
InvokeIntArrayFixed 100000 71,586.1 ns 273.18 ns 242.17 ns 107.11 1.15 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 71,324.6 ns 393.67 ns 368.24 ns 106.72 1.21 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 96,486,622.5 ns 1,721,080.78 ns 1,609,900.03 ns 144,367.33 2,758.30 1833.3333 1666.6667 833.3333 27894872 B 89,406.64

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.312 μs 0.0127 μs 0.0119 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.344 μs 0.0145 μs 0.0135 μs 1.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.334 μs 0.0118 μs 0.0110 μs 1.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 105.8 ns 1.99 ns 1.86 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 112.7 ns 1.98 ns 1.86 ns 1.07 0.02 0.0014 24 B 1.00
GetInstanceStringField 104.1 ns 2.12 ns 2.08 ns 0.98 0.03 - - 0.00
SetInstanceStringField 754.5 ns 7.26 ns 6.07 ns 7.13 0.13 0.0153 256 B 10.67
GetStaticIntField 107.3 ns 1.40 ns 1.24 ns 1.01 0.02 0.0014 24 B 1.00
SetStaticIntField 108.6 ns 1.56 ns 1.30 ns 1.03 0.02 0.0014 24 B 1.00
GetStaticStringField 109.1 ns 1.67 ns 1.56 ns 1.03 0.02 - - 0.00
SetStaticStringField 737.0 ns 7.18 ns 6.72 ns 6.97 0.13 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 117.9 ns 1.63 ns 1.53 ns 1.11 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 338.6 ns 4.13 ns 3.87 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 324.6 ns 5.64 ns 5.54 ns 0.96 0.02 - - NA
InvokeStaticWithFeedback 664.3 ns 5.58 ns 4.36 ns 1.96 0.02 0.0181 312 B NA
InvokeInstanceEmpty 341.3 ns 6.12 ns 5.72 ns 1.01 0.02 - - NA
InvokeInstanceWithFeedback 675.7 ns 3.80 ns 3.17 ns 2.00 0.02 0.0181 312 B NA

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.684 μs 0.0198 μs 0.0185 μs 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,488.3 ns 28.80 ns 26.94 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 727.5 ns 8.86 ns 8.28 ns 0.29 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 74,579.0 ns 522.54 ns 463.22 ns 1.000 0.01 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 725.1 ns 11.31 ns 10.58 ns 0.010 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,611,774.9 ns 171,408.82 ns 216,777.29 ns 1.001 0.03 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 753.9 ns 13.81 ns 12.92 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,271.4 ns 24.55 ns 24.11 ns 0.0057 104 B
PredicateRoundTrip False False True 1,369.7 ns 27.25 ns 25.49 ns 0.0057 104 B
PredicateRoundTrip False True False 1,639.1 ns 18.05 ns 16.00 ns 0.0114 200 B
PredicateRoundTrip False True True 5,205.2 ns 41.58 ns 38.90 ns 0.0381 760 B
PredicateRoundTrip True False False 522.9 ns 8.04 ns 6.71 ns 0.0010 24 B
PredicateRoundTrip True False True 496.0 ns 5.94 ns 5.56 ns 0.0010 24 B
PredicateRoundTrip True True False 818.3 ns 9.98 ns 9.34 ns 0.0067 120 B
PredicateRoundTrip True True True 4,463.1 ns 54.73 ns 45.70 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 676.09 ns 8.168 ns 7.640 ns 0.0038 80 B
PredicateSustained False False True 652.41 ns 6.999 ns 6.205 ns 0.0038 80 B
PredicateSustained False True False 915.45 ns 11.361 ns 10.627 ns 0.0100 176 B
PredicateSustained False True True 4,605.14 ns 35.622 ns 29.746 ns 0.0400 736 B
PredicateSustained True False False 33.66 ns 0.639 ns 0.656 ns - -
PredicateSustained True False True 34.34 ns 0.502 ns 0.445 ns - -
PredicateSustained True True False 268.39 ns 2.664 ns 2.492 ns 0.0056 96 B
PredicateSustained True True True 3,780.84 ns 31.416 ns 26.234 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 477.1 ns 6.16 ns 5.76 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,591.4 ns 48.22 ns 45.11 ns 11.72 0.16 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,086.0 ns 8.77 ns 7.77 ns 2.28 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,074.4 ns 8.82 ns 7.82 ns 2.25 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,489.1 ns 28.80 ns 26.94 ns 15.70 0.19 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 470.2 ns 6.91 ns 6.47 ns 1.00 0.02 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 427,593.1 ns 5,344.92 ns 4,999.64 ns 909.58 15.85 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,791.6 ns 21.19 ns 19.82 ns 3.81 0.06 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,823.6 ns 11.10 ns 9.84 ns 3.88 0.06 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 589,134.5 ns 5,571.14 ns 4,652.16 ns 1,253.21 19.14 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 459.8 ns 5.38 ns 5.03 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 51,754,491.8 ns 459,186.64 ns 407,056.99 ns 112,560.87 1,462.00 1100.0000 1000.0000 300.0000 16001246 B 51,286.04
InvokeIntArrayFixed 100000 51,072.6 ns 219.21 ns 205.05 ns 111.08 1.25 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 51,173.1 ns 244.05 ns 228.28 ns 111.30 1.27 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 72,722,726.2 ns 1,425,135.00 ns 1,263,345.06 ns 158,164.69 3,133.83 2142.8571 2000.0000 1000.0000 27895182 B 89,407.63

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.001 μs 0.0099 μs 0.0082 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.055 μs 0.0115 μs 0.0108 μs 1.05 0.0210 360 B 1.00
DeclaredNewEmpty 1.006 μs 0.0087 μs 0.0073 μs 1.00 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 85.71 ns 0.937 ns 0.876 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 91.61 ns 1.149 ns 1.075 ns 1.07 0.02 0.0014 24 B 1.00
GetInstanceStringField 87.05 ns 1.222 ns 1.143 ns 1.02 0.02 - - 0.00
SetInstanceStringField 597.71 ns 5.651 ns 5.286 ns 6.97 0.09 0.0153 256 B 10.67
GetStaticIntField 89.98 ns 1.305 ns 1.220 ns 1.05 0.02 0.0014 24 B 1.00
SetStaticIntField 90.87 ns 1.263 ns 1.182 ns 1.06 0.02 0.0014 24 B 1.00
GetStaticStringField 81.23 ns 1.404 ns 1.313 ns 0.95 0.02 - - 0.00
SetStaticStringField 537.16 ns 2.391 ns 1.867 ns 6.27 0.07 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 89.82 ns 0.958 ns 0.800 ns 1.05 0.01 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 228.6 ns 1.95 ns 1.73 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 234.6 ns 3.45 ns 3.23 ns 1.03 0.02 - - NA
InvokeStaticWithFeedback 477.1 ns 4.29 ns 4.01 ns 2.09 0.02 0.0186 312 B NA
InvokeInstanceEmpty 231.6 ns 4.30 ns 4.02 ns 1.01 0.02 - - NA
InvokeInstanceWithFeedback 482.8 ns 5.44 ns 5.09 ns 2.11 0.03 0.0181 312 B NA

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.254 μs 0.0078 μs 0.0073 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,782.3 ns 17.14 ns 16.03 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 512.5 ns 8.87 ns 8.30 ns 0.29 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 49,496.7 ns 516.25 ns 457.64 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 518.4 ns 10.37 ns 9.70 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,234,573.7 ns 114,761.09 ns 107,347.60 ns 1.000 0.02 70.3125 70.3125 70.3125 2400897 B 1.000
InvokeSingleStringPreallocated 100000 518.5 ns 7.77 ns 7.27 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,022.8 ns 19.96 ns 20.49 ns 0.0057 104 B
PredicateRoundTrip False False True 1,003.6 ns 14.83 ns 13.87 ns 0.0057 104 B
PredicateRoundTrip False True False 1,225.9 ns 8.95 ns 8.37 ns 0.0114 200 B
PredicateRoundTrip False True True 3,963.4 ns 30.03 ns 26.62 ns 0.0381 760 B
PredicateRoundTrip True False False 337.7 ns 4.67 ns 4.37 ns 0.0014 24 B
PredicateRoundTrip True False True 343.1 ns 5.96 ns 5.58 ns 0.0014 24 B
PredicateRoundTrip True True False 600.3 ns 8.03 ns 7.51 ns 0.0067 120 B
PredicateRoundTrip True True True 3,265.0 ns 10.87 ns 8.49 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 550.93 ns 9.798 ns 9.165 ns 0.0044 80 B
PredicateSustained False False True 550.18 ns 9.392 ns 8.785 ns 0.0044 80 B
PredicateSustained False True False 747.94 ns 9.203 ns 8.158 ns 0.0100 176 B
PredicateSustained False True True 3,513.47 ns 58.231 ns 54.470 ns 0.0400 736 B
PredicateSustained True False False 34.71 ns 0.273 ns 0.256 ns - -
PredicateSustained True False True 26.85 ns 0.435 ns 0.407 ns - -
PredicateSustained True True False 186.89 ns 2.229 ns 2.085 ns 0.0056 96 B
PredicateSustained True True True 2,871.72 ns 25.061 ns 23.443 ns 0.0350 656 B

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Median Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 379.5 ns 5.77 ns 4.82 ns 378.5 ns 1.00 0.02 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 10 4,879.9 ns 96.98 ns 162.03 ns 4,789.1 ns 12.86 0.45 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 736.2 ns 4.52 ns 3.53 ns 736.1 ns 1.94 0.03 0.0048 - - 416 B 1.33
InvokeVarArgsWholeArray 10 761.1 ns 15.14 ns 17.44 ns 756.5 ns 2.01 0.05 0.0048 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,270.6 ns 135.53 ns 126.77 ns 7,240.6 ns 19.16 0.40 0.0381 - - 3488 B 11.18
InvokeIntParam 1000 382.4 ns 7.64 ns 10.96 ns 379.2 ns 1.00 0.04 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 1000 393,383.6 ns 7,721.58 ns 8,892.19 ns 391,071.7 ns 1,029.59 35.83 1.4648 0.4883 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,433.7 ns 26.32 ns 23.33 ns 1,426.4 ns 3.75 0.12 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,446.8 ns 21.57 ns 18.01 ns 1,447.8 ns 3.79 0.11 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 622,673.7 ns 12,140.87 ns 15,786.57 ns 623,053.4 ns 1,629.70 59.69 2.9297 - - 265856 B 852.10
InvokeIntParam 100000 379.8 ns 5.37 ns 4.76 ns 378.8 ns 1.00 0.02 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 100000 42,607,328.4 ns 586,033.90 ns 489,364.85 ns 42,690,969.6 ns 112,206.07 1,828.12 250.0000 166.6667 166.6667 16000819 B 51,284.68
InvokeIntArrayFixed 100000 75,438.2 ns 424.92 ns 397.47 ns 75,366.7 ns 198.67 2.58 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 76,021.6 ns 1,342.31 ns 1,189.92 ns 75,683.0 ns 200.20 3.86 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 72,571,083.6 ns 1,417,098.56 ns 2,077,164.86 ns 73,111,907.7 ns 191,115.38 5,845.81 714.2857 571.4286 571.4286 27894703 B 89,406.10

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 829.3 ns 6.68 ns 5.21 ns 1.00 0.0038 360 B 1.00
NewWithSignature 819.8 ns 9.54 ns 7.97 ns 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 739.3 ns 4.69 ns 3.91 ns 0.89 0.0038 360 B 1.00

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Median Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 65.64 ns 0.752 ns 0.587 ns 65.79 ns 1.00 0.01 0.0002 24 B 1.00
SetInstanceIntField 66.68 ns 1.298 ns 1.333 ns 66.13 ns 1.02 0.02 0.0002 24 B 1.00
GetInstanceStringField 65.10 ns 0.743 ns 0.580 ns 65.08 ns 0.99 0.01 - - 0.00
SetInstanceStringField 460.55 ns 5.442 ns 4.825 ns 460.66 ns 7.02 0.09 0.0029 256 B 10.67
GetStaticIntField 69.39 ns 1.321 ns 2.757 ns 67.93 ns 1.06 0.04 0.0002 24 B 1.00
SetStaticIntField 70.34 ns 0.534 ns 0.417 ns 70.26 ns 1.07 0.01 0.0002 24 B 1.00
GetStaticStringField 61.36 ns 0.465 ns 0.363 ns 61.28 ns 0.93 0.01 - - 0.00
SetStaticStringField 464.59 ns 9.235 ns 13.822 ns 459.79 ns 7.08 0.22 0.0029 256 B 10.67
GetInstanceIntFieldGeneric 68.31 ns 1.283 ns 1.921 ns 67.58 ns 1.04 0.03 0.0002 24 B 1.00

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 186.8 ns 1.19 ns 0.93 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 186.4 ns 1.02 ns 0.85 ns 1.00 0.01 - - NA
InvokeStaticWithFeedback 377.8 ns 7.37 ns 7.88 ns 2.02 0.04 0.0033 312 B NA
InvokeInstanceEmpty 191.1 ns 2.15 ns 1.80 ns 1.02 0.01 - - NA
InvokeInstanceWithFeedback 390.1 ns 4.38 ns 3.88 ns 2.09 0.02 0.0033 312 B NA

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 894.1 ns 9.68 ns 8.08 ns 1.00 0.0076 680 B 1.00

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Median Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,368.5 ns 26.00 ns 44.84 ns 1,348.4 ns 1.00 0.04 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 384.5 ns 5.35 ns 4.47 ns 382.8 ns 0.28 0.01 0.0033 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 39,783.8 ns 276.66 ns 245.25 ns 39,791.1 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 382.8 ns 7.62 ns 8.78 ns 378.9 ns 0.010 0.00 0.0033 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 5,181,653.3 ns 98,956.62 ns 132,104.26 ns 5,204,188.3 ns 1.001 0.04 70.3125 70.3125 70.3125 2400462 B 1.000
InvokeSingleStringPreallocated 100000 391.4 ns 7.73 ns 13.93 ns 383.4 ns 0.000 0.00 0.0033 - - 288 B 0.000

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Median Gen0 Allocated
PredicateRoundTrip False False False 707.9 ns 14.43 ns 42.55 ns 682.9 ns 0.0010 104 B
PredicateRoundTrip False False True 692.8 ns 13.50 ns 18.48 ns 682.7 ns 0.0010 104 B
PredicateRoundTrip False True False 864.1 ns 12.50 ns 12.28 ns 860.1 ns 0.0019 200 B
PredicateRoundTrip False True True 3,197.8 ns 57.79 ns 70.98 ns 3,178.1 ns 0.0076 760 B
PredicateRoundTrip True False False 273.3 ns 1.94 ns 1.62 ns 273.7 ns - 24 B
PredicateRoundTrip True False True 266.3 ns 1.03 ns 0.86 ns 266.4 ns - 24 B
PredicateRoundTrip True True False 454.9 ns 8.98 ns 14.25 ns 447.4 ns 0.0014 120 B
PredicateRoundTrip True True True 2,687.0 ns 49.41 ns 43.80 ns 2,702.6 ns 0.0076 680 B

core-ubuntu-22.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.92GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 405.05 ns 3.047 ns 2.544 ns 0.0008 80 B
PredicateSustained False False True 409.38 ns 6.763 ns 5.647 ns 0.0008 80 B
PredicateSustained False True False 570.50 ns 4.537 ns 3.789 ns 0.0011 176 B
PredicateSustained False True True 2,884.66 ns 52.476 ns 51.539 ns 0.0050 736 B
PredicateSustained True False False 35.79 ns 0.448 ns 0.397 ns - -
PredicateSustained True False True 35.46 ns 0.357 ns 0.298 ns - -
PredicateSustained True True False 160.43 ns 1.102 ns 0.920 ns 0.0009 96 B
PredicateSustained True True True 2,385.85 ns 32.799 ns 29.076 ns 0.0067 656 B

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 664.8 ns 11.75 ns 11.00 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,400.2 ns 45.18 ns 37.73 ns 11.13 0.19 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,475.2 ns 14.83 ns 12.38 ns 2.22 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,480.9 ns 11.53 ns 10.78 ns 2.23 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,947.0 ns 95.37 ns 84.54 ns 14.97 0.27 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 695.2 ns 8.12 ns 7.20 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 540,631.1 ns 7,260.37 ns 6,436.13 ns 777.80 11.87 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,230.6 ns 29.59 ns 27.68 ns 3.21 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,204.3 ns 17.75 ns 15.73 ns 3.17 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 756,264.2 ns 11,073.41 ns 10,358.08 ns 1,088.02 18.09 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 699.7 ns 13.51 ns 12.64 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 66,071,912.6 ns 801,219.62 ns 749,461.33 ns 94,456.53 1,957.27 1000.0000 875.0000 250.0000 16001050 B 51,285.42
InvokeIntArrayFixed 100000 72,485.1 ns 291.59 ns 272.75 ns 103.62 1.86 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,302.5 ns 425.47 ns 397.99 ns 103.36 1.90 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 92,625,632.7 ns 1,621,432.78 ns 1,665,092.09 ns 132,417.78 3,281.16 1833.3333 1666.6667 833.3333 27894484 B 89,405.40

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.335 μs 0.0158 μs 0.0147 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.317 μs 0.0210 μs 0.0196 μs 0.99 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.308 μs 0.0125 μs 0.0110 μs 0.98 0.01 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 101.3 ns 1.87 ns 1.75 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 119.0 ns 2.09 ns 1.95 ns 1.18 0.03 0.0014 24 B 1.00
GetInstanceStringField 103.7 ns 1.63 ns 1.52 ns 1.02 0.02 - - 0.00
SetInstanceStringField 750.9 ns 6.40 ns 5.99 ns 7.41 0.14 0.0153 256 B 10.67
GetStaticIntField 117.0 ns 1.92 ns 1.80 ns 1.16 0.03 0.0014 24 B 1.00
SetStaticIntField 108.2 ns 1.58 ns 1.48 ns 1.07 0.02 0.0014 24 B 1.00
GetStaticStringField 105.4 ns 1.87 ns 1.75 ns 1.04 0.02 - - 0.00
SetStaticStringField 721.1 ns 7.07 ns 6.27 ns 7.12 0.13 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 115.0 ns 1.34 ns 1.19 ns 1.14 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 316.5 ns 4.71 ns 4.18 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 328.3 ns 5.53 ns 5.17 ns 1.04 0.02 - - NA
InvokeStaticWithFeedback 632.2 ns 12.57 ns 11.76 ns 2.00 0.04 0.0181 312 B NA
InvokeInstanceEmpty 357.2 ns 6.90 ns 6.77 ns 1.13 0.03 - - NA
InvokeInstanceWithFeedback 707.0 ns 12.65 ns 11.84 ns 2.23 0.05 0.0181 312 B NA

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.704 μs 0.0182 μs 0.0170 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,418.4 ns 28.75 ns 26.89 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 701.8 ns 13.77 ns 12.88 ns 0.29 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 69,460.6 ns 1,042.80 ns 975.44 ns 1.00 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 723.0 ns 7.88 ns 7.37 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,798,675.2 ns 171,038.88 ns 167,983.05 ns 1.000 0.03 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 734.4 ns 13.77 ns 12.88 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,342.8 ns 22.34 ns 20.89 ns 0.0057 104 B
PredicateRoundTrip False False True 1,325.9 ns 24.17 ns 22.61 ns 0.0057 104 B
PredicateRoundTrip False True False 1,657.5 ns 28.77 ns 26.91 ns 0.0114 200 B
PredicateRoundTrip False True True 5,354.8 ns 53.50 ns 44.67 ns 0.0381 760 B
PredicateRoundTrip True False False 512.6 ns 10.01 ns 10.28 ns 0.0010 24 B
PredicateRoundTrip True False True 498.9 ns 8.79 ns 8.22 ns 0.0010 24 B
PredicateRoundTrip True True False 829.3 ns 8.84 ns 7.83 ns 0.0067 120 B
PredicateRoundTrip True True True 4,443.1 ns 39.10 ns 34.66 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.58GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 1,088.07 ns 11.560 ns 10.248 ns 0.0033 80 B
PredicateSustained False False True 656.06 ns 12.174 ns 11.388 ns 0.0038 80 B
PredicateSustained False True False 938.48 ns 11.011 ns 9.761 ns 0.0100 176 B
PredicateSustained False True True 4,762.10 ns 74.288 ns 69.489 ns 0.0400 736 B
PredicateSustained True False False 33.92 ns 0.391 ns 0.366 ns - -
PredicateSustained True False True 33.59 ns 0.494 ns 0.438 ns - -
PredicateSustained True True False 261.53 ns 1.703 ns 1.330 ns 0.0056 96 B
PredicateSustained True True True 3,828.65 ns 45.059 ns 42.148 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 660.1 ns 10.03 ns 8.89 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 8,324.3 ns 72.29 ns 67.62 ns 12.61 0.19 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,473.5 ns 13.62 ns 11.38 ns 2.23 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,533.1 ns 13.80 ns 12.91 ns 2.32 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,246.2 ns 158.46 ns 148.22 ns 15.52 0.30 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 713.4 ns 8.81 ns 8.24 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 628,363.4 ns 7,077.23 ns 6,620.04 ns 880.90 13.36 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,280.5 ns 20.73 ns 19.39 ns 3.20 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,278.6 ns 25.47 ns 23.82 ns 3.19 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 796,779.9 ns 5,626.30 ns 4,987.57 ns 1,117.00 14.24 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 702.4 ns 11.13 ns 10.41 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 72,383,665.9 ns 756,064.18 ns 707,222.90 ns 103,077.71 1,758.42 1000.0000 857.1429 285.7143 16002145 B 51,288.93
InvokeIntArrayFixed 100000 75,071.3 ns 217.92 ns 193.18 ns 106.91 1.54 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,502.2 ns 354.94 ns 314.65 ns 103.25 1.53 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 97,771,476.1 ns 1,480,587.31 ns 1,384,942.29 ns 139,231.14 2,748.35 1833.3333 1666.6667 833.3333 27893179 B 89,401.21

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.383 μs 0.0141 μs 0.0132 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.379 μs 0.0170 μs 0.0159 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.426 μs 0.0155 μs 0.0145 μs 1.03 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 119.0 ns 1.71 ns 1.43 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 128.0 ns 1.56 ns 1.38 ns 1.08 0.02 0.0014 24 B 1.00
GetInstanceStringField 125.5 ns 1.85 ns 1.73 ns 1.05 0.02 - - 0.00
SetInstanceStringField 815.0 ns 4.75 ns 3.97 ns 6.85 0.08 0.0153 256 B 10.67
GetStaticIntField 122.3 ns 2.44 ns 2.40 ns 1.03 0.02 0.0014 24 B 1.00
SetStaticIntField 119.9 ns 1.08 ns 1.01 ns 1.01 0.01 0.0014 24 B 1.00
GetStaticStringField 117.5 ns 2.19 ns 1.94 ns 0.99 0.02 - - 0.00
SetStaticStringField 814.7 ns 6.10 ns 5.40 ns 6.85 0.09 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 124.9 ns 1.91 ns 1.69 ns 1.05 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 394.1 ns 3.76 ns 3.51 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 404.2 ns 6.94 ns 6.15 ns 1.03 0.02 - - NA
InvokeStaticWithFeedback 655.6 ns 12.45 ns 11.64 ns 1.66 0.03 0.0181 312 B NA
InvokeInstanceEmpty 418.3 ns 6.22 ns 5.81 ns 1.06 0.02 - - NA
InvokeInstanceWithFeedback 692.0 ns 8.82 ns 7.37 ns 1.76 0.02 0.0181 312 B NA

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.776 μs 0.0114 μs 0.0106 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,511.8 ns 31.63 ns 28.04 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 719.4 ns 7.03 ns 5.87 ns 0.29 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 71,644.1 ns 617.19 ns 547.13 ns 1.000 0.01 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 702.5 ns 13.41 ns 13.17 ns 0.010 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,855,490.5 ns 175,195.27 ns 233,880.67 ns 1.001 0.04 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 761.4 ns 9.19 ns 8.59 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,428.7 ns 28.40 ns 27.89 ns 0.0057 104 B
PredicateRoundTrip False False True 1,373.5 ns 23.45 ns 21.94 ns 0.0057 104 B
PredicateRoundTrip False True False 1,715.2 ns 28.53 ns 26.69 ns 0.0114 200 B
PredicateRoundTrip False True True 5,696.6 ns 73.96 ns 69.19 ns 0.0381 760 B
PredicateRoundTrip True False False 500.2 ns 9.42 ns 10.08 ns 0.0010 24 B
PredicateRoundTrip True False True 518.9 ns 10.18 ns 10.45 ns 0.0010 24 B
PredicateRoundTrip True True False 827.3 ns 4.54 ns 3.55 ns 0.0067 120 B
PredicateRoundTrip True True True 4,707.9 ns 45.74 ns 40.55 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.61GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 696.12 ns 2.669 ns 2.084 ns 0.0038 80 B
PredicateSustained False False True 744.71 ns 14.677 ns 13.729 ns 0.0043 80 B
PredicateSustained False True False 1,023.58 ns 19.139 ns 18.797 ns 0.0100 176 B
PredicateSustained False True True 5,034.76 ns 83.483 ns 78.090 ns 0.0400 736 B
PredicateSustained True False False 34.54 ns 0.672 ns 0.629 ns - -
PredicateSustained True False True 33.98 ns 0.531 ns 0.496 ns - -
PredicateSustained True True False 275.74 ns 4.917 ns 4.599 ns 0.0056 96 B
PredicateSustained True True True 4,032.34 ns 34.719 ns 30.778 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 390.8 ns 7.65 ns 9.94 ns 1.00 0.03 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 10 5,154.9 ns 101.45 ns 138.87 ns 13.20 0.48 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 810.3 ns 16.06 ns 18.49 ns 2.07 0.07 0.0048 - - 416 B 1.33
InvokeVarArgsWholeArray 10 808.3 ns 8.71 ns 7.28 ns 2.07 0.05 0.0048 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,724.5 ns 149.30 ns 146.64 ns 19.78 0.61 0.0381 - - 3488 B 11.18
InvokeIntParam 1000 382.5 ns 5.63 ns 4.39 ns 1.00 0.02 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 1000 415,848.8 ns 7,998.58 ns 10,115.65 ns 1,087.24 28.50 1.4648 0.4883 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,511.3 ns 26.97 ns 25.23 ns 3.95 0.08 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,539.8 ns 27.30 ns 25.53 ns 4.03 0.08 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 666,495.9 ns 13,308.05 ns 31,628.00 ns 1,742.55 84.29 2.9297 - - 265856 B 852.10
InvokeIntParam 100000 386.0 ns 5.29 ns 4.42 ns 1.00 0.02 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 100000 45,079,582.0 ns 451,680.13 ns 422,501.88 ns 116,791.61 1,654.29 272.7273 181.8182 181.8182 16001146 B 51,285.72
InvokeIntArrayFixed 100000 76,972.3 ns 551.82 ns 489.17 ns 199.42 2.49 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 76,453.8 ns 632.01 ns 560.26 ns 198.08 2.57 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 75,149,889.2 ns 1,260,254.75 ns 1,237,738.68 ns 194,697.38 3,764.02 1000.0000 857.1429 857.1429 27897099 B 89,413.78

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 898.3 ns 6.15 ns 5.14 ns 1.00 0.0038 360 B 1.00
NewWithSignature 766.7 ns 5.95 ns 5.27 ns 0.85 0.0038 360 B 1.00
DeclaredNewEmpty 762.1 ns 3.93 ns 3.68 ns 0.85 0.0038 360 B 1.00

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 67.43 ns 0.543 ns 0.481 ns 1.00 0.01 0.0002 24 B 1.00
SetInstanceIntField 72.12 ns 1.418 ns 1.633 ns 1.07 0.02 0.0002 24 B 1.00
GetInstanceStringField 63.76 ns 1.291 ns 1.809 ns 0.95 0.03 - - 0.00
SetInstanceStringField 484.46 ns 9.647 ns 11.847 ns 7.18 0.18 0.0029 256 B 10.67
GetStaticIntField 72.50 ns 1.481 ns 1.926 ns 1.08 0.03 0.0002 24 B 1.00
SetStaticIntField 74.46 ns 1.508 ns 1.549 ns 1.10 0.02 0.0002 24 B 1.00
GetStaticStringField 65.53 ns 0.619 ns 0.579 ns 0.97 0.01 - - 0.00
SetStaticStringField 497.54 ns 9.234 ns 12.640 ns 7.38 0.19 0.0029 256 B 10.67
GetInstanceIntFieldGeneric 72.19 ns 1.328 ns 1.242 ns 1.07 0.02 0.0002 24 B 1.00

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 200.1 ns 3.92 ns 5.37 ns 1.00 0.04 - - NA
InvokeStaticEmptyWithSignature 201.8 ns 3.99 ns 3.53 ns 1.01 0.03 - - NA
InvokeStaticWithFeedback 402.8 ns 8.03 ns 14.27 ns 2.01 0.09 0.0033 312 B NA
InvokeInstanceEmpty 202.9 ns 4.00 ns 4.45 ns 1.01 0.03 - - NA
InvokeInstanceWithFeedback 384.8 ns 7.39 ns 9.34 ns 1.92 0.07 0.0033 312 B NA

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 930.1 ns 18.34 ns 17.15 ns 1.00 0.03 0.0076 680 B 1.00

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,329.8 ns 13.69 ns 12.13 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 393.5 ns 2.50 ns 2.09 ns 0.30 0.00 0.0033 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 41,096.1 ns 232.60 ns 206.19 ns 1.00 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 441.1 ns 5.44 ns 4.54 ns 0.01 0.00 0.0033 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 5,346,152.6 ns 105,076.51 ns 166,662.49 ns 1.001 0.04 70.3125 70.3125 70.3125 2400525 B 1.000
InvokeSingleStringPreallocated 100000 414.6 ns 8.24 ns 9.81 ns 0.000 0.00 0.0033 - - 288 B 0.000

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 715.6 ns 10.21 ns 7.97 ns 0.0010 104 B
PredicateRoundTrip False False True 731.1 ns 4.55 ns 4.25 ns 0.0010 104 B
PredicateRoundTrip False True False 929.0 ns 17.51 ns 16.38 ns 0.0019 200 B
PredicateRoundTrip False True True 3,363.0 ns 66.69 ns 68.48 ns 0.0076 760 B
PredicateRoundTrip True False False 270.5 ns 1.54 ns 1.36 ns - 24 B
PredicateRoundTrip True False True 292.4 ns 5.76 ns 5.10 ns - 24 B
PredicateRoundTrip True True False 460.3 ns 2.53 ns 2.12 ns 0.0014 120 B
PredicateRoundTrip True True True 2,841.8 ns 45.68 ns 40.50 ns 0.0076 680 B

core-ubuntu-22.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon 6973P-C 3.49GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 430.29 ns 4.369 ns 4.487 ns 0.0008 80 B
PredicateSustained False False True 434.15 ns 2.682 ns 2.240 ns 0.0008 80 B
PredicateSustained False True False 601.81 ns 5.799 ns 5.140 ns 0.0011 176 B
PredicateSustained False True True 2,995.95 ns 55.442 ns 51.860 ns 0.0050 736 B
PredicateSustained True False False 35.91 ns 0.187 ns 0.156 ns - -
PredicateSustained True False True 36.22 ns 0.491 ns 0.435 ns - -
PredicateSustained True True False 165.52 ns 2.223 ns 1.735 ns 0.0009 96 B
PredicateSustained True True True 2,487.14 ns 46.357 ns 45.528 ns 0.0050 656 B

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 658.4 ns 8.01 ns 7.50 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,103.2 ns 91.71 ns 85.78 ns 10.79 0.17 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,403.9 ns 19.36 ns 18.11 ns 2.13 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,414.9 ns 19.42 ns 18.17 ns 2.15 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,374.0 ns 81.77 ns 72.49 ns 14.24 0.19 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 629.3 ns 9.07 ns 8.49 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 516,751.0 ns 2,815.45 ns 2,198.12 ns 821.26 11.24 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,258.3 ns 18.36 ns 16.28 ns 3.59 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,266.8 ns 29.10 ns 27.22 ns 3.60 0.06 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 735,323.0 ns 10,992.39 ns 9,744.47 ns 1,168.63 21.37 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 607.4 ns 8.46 ns 7.50 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 63,896,130.5 ns 587,700.48 ns 490,756.52 ns 105,215.39 1,467.20 1000.0000 875.0000 250.0000 16000974 B 51,285.17
InvokeIntArrayFixed 100000 64,258.7 ns 355.83 ns 315.43 ns 105.81 1.35 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 63,656.0 ns 121.29 ns 107.52 ns 104.82 1.25 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 91,590,982.9 ns 1,829,437.89 ns 1,878,698.02 ns 150,819.47 3,495.71 1833.3333 1666.6667 833.3333 27894156 B 89,404.35

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.272 μs 0.0145 μs 0.0136 μs 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 1.280 μs 0.0142 μs 0.0133 μs 1.01 0.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.278 μs 0.0190 μs 0.0178 μs 1.00 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 109.4 ns 1.25 ns 1.17 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 115.3 ns 1.82 ns 1.70 ns 1.05 0.02 0.0014 24 B 1.00
GetInstanceStringField 107.8 ns 1.09 ns 0.96 ns 0.98 0.01 - - 0.00
SetInstanceStringField 674.5 ns 9.40 ns 8.79 ns 6.17 0.10 0.0153 256 B 10.67
GetStaticIntField 122.6 ns 1.18 ns 1.11 ns 1.12 0.02 0.0014 24 B 1.00
SetStaticIntField 119.0 ns 2.42 ns 2.48 ns 1.09 0.02 0.0014 24 B 1.00
GetStaticStringField 103.9 ns 0.97 ns 0.91 ns 0.95 0.01 - - 0.00
SetStaticStringField 713.8 ns 11.22 ns 10.49 ns 6.52 0.11 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 113.0 ns 1.22 ns 1.14 ns 1.03 0.01 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 297.8 ns 4.71 ns 4.40 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 295.1 ns 3.11 ns 2.76 ns 0.99 0.02 - - NA
InvokeStaticWithFeedback 582.5 ns 5.65 ns 5.01 ns 1.96 0.03 0.0181 312 B NA
InvokeInstanceEmpty 298.1 ns 5.12 ns 5.03 ns 1.00 0.02 - - NA
InvokeInstanceWithFeedback 603.5 ns 5.66 ns 5.29 ns 2.03 0.03 0.0181 312 B NA

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.618 μs 0.0138 μs 0.0123 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,321.6 ns 33.12 ns 30.98 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 652.8 ns 10.28 ns 9.62 ns 0.28 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 65,747.7 ns 767.14 ns 717.59 ns 1.00 0.01 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 678.7 ns 10.66 ns 9.97 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 9,330,644.2 ns 182,966.80 ns 187,893.44 ns 1.000 0.03 78.1250 78.1250 78.1250 2401017 B 1.000
InvokeSingleStringPreallocated 100000 681.5 ns 6.69 ns 5.93 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,203.5 ns 18.36 ns 17.17 ns 0.0057 104 B
PredicateRoundTrip False False True 1,238.8 ns 15.26 ns 13.52 ns 0.0057 104 B
PredicateRoundTrip False True False 1,564.5 ns 22.00 ns 20.58 ns 0.0114 200 B
PredicateRoundTrip False True True 5,033.7 ns 21.54 ns 19.10 ns 0.0381 760 B
PredicateRoundTrip True False False 470.0 ns 9.01 ns 9.26 ns 0.0010 24 B
PredicateRoundTrip True False True 454.1 ns 7.60 ns 7.11 ns 0.0014 24 B
PredicateRoundTrip True True False 765.3 ns 8.83 ns 8.26 ns 0.0067 120 B
PredicateRoundTrip True True True 4,171.6 ns 51.04 ns 45.24 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 606.42 ns 8.920 ns 7.908 ns 0.0038 80 B
PredicateSustained False False True 611.06 ns 10.368 ns 10.183 ns 0.0038 80 B
PredicateSustained False True False 852.31 ns 14.580 ns 13.638 ns 0.0100 176 B
PredicateSustained False True True 4,277.69 ns 26.183 ns 20.442 ns 0.0400 736 B
PredicateSustained True False False 35.77 ns 0.342 ns 0.303 ns - -
PredicateSustained True False True 35.84 ns 0.462 ns 0.432 ns - -
PredicateSustained True True False 243.62 ns 2.368 ns 2.215 ns 0.0056 96 B
PredicateSustained True True True 3,616.92 ns 65.125 ns 60.918 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 738.6 ns 9.00 ns 8.42 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,322.6 ns 51.33 ns 45.50 ns 9.91 0.12 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,460.3 ns 17.88 ns 16.73 ns 1.98 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,484.3 ns 8.66 ns 6.76 ns 2.01 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,208.9 ns 89.71 ns 79.52 ns 13.82 0.18 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 658.2 ns 5.79 ns 5.13 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 551,595.3 ns 7,174.33 ns 6,359.86 ns 838.02 11.26 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,162.8 ns 17.13 ns 16.02 ns 3.29 0.03 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,201.6 ns 23.18 ns 21.68 ns 3.34 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 780,275.9 ns 5,879.13 ns 4,909.34 ns 1,185.45 11.45 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 690.2 ns 9.68 ns 8.58 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 65,472,842.7 ns 1,013,199.55 ns 947,747.48 ns 94,879.00 1,744.91 1000.0000 875.0000 250.0000 16001766 B 51,287.71
InvokeIntArrayFixed 100000 71,553.9 ns 430.53 ns 402.72 ns 103.69 1.36 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 71,073.1 ns 383.97 ns 320.63 ns 102.99 1.31 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 96,908,048.6 ns 882,898.47 ns 782,666.49 ns 140,432.86 1,999.04 1833.3333 1666.6667 833.3333 27893632 B 89,402.67

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.355 μs 0.0189 μs 0.0177 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.347 μs 0.0263 μs 0.0246 μs 0.99 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.352 μs 0.0133 μs 0.0118 μs 1.00 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 105.8 ns 1.33 ns 1.25 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 120.6 ns 1.60 ns 1.33 ns 1.14 0.02 0.0014 24 B 1.00
GetInstanceStringField 105.6 ns 1.55 ns 1.45 ns 1.00 0.02 - - 0.00
SetInstanceStringField 717.7 ns 7.68 ns 7.19 ns 6.78 0.10 0.0153 256 B 10.67
GetStaticIntField 112.5 ns 1.73 ns 1.62 ns 1.06 0.02 0.0014 24 B 1.00
SetStaticIntField 112.4 ns 2.25 ns 2.11 ns 1.06 0.02 0.0014 24 B 1.00
GetStaticStringField 108.4 ns 1.51 ns 1.41 ns 1.02 0.02 - - 0.00
SetStaticStringField 729.6 ns 5.65 ns 5.29 ns 6.89 0.09 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 115.4 ns 1.99 ns 1.86 ns 1.09 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 329.6 ns 5.86 ns 5.48 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 313.3 ns 6.01 ns 5.62 ns 0.95 0.02 - - NA
InvokeStaticWithFeedback 657.2 ns 8.23 ns 7.69 ns 1.99 0.04 0.0181 312 B NA
InvokeInstanceEmpty 345.5 ns 6.40 ns 5.98 ns 1.05 0.02 - - NA
InvokeInstanceWithFeedback 689.4 ns 9.65 ns 9.03 ns 2.09 0.04 0.0181 312 B NA

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.730 μs 0.0236 μs 0.0221 μs 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,413.1 ns 38.10 ns 33.77 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 735.2 ns 9.29 ns 8.69 ns 0.30 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 67,605.7 ns 732.18 ns 684.88 ns 1.00 0.01 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 714.8 ns 11.49 ns 10.75 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,866,823.4 ns 172,869.92 ns 230,776.40 ns 1.001 0.04 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 770.0 ns 7.59 ns 6.73 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,277.1 ns 25.10 ns 25.78 ns 0.0057 104 B
PredicateRoundTrip False False True 1,304.4 ns 25.46 ns 27.24 ns 0.0057 104 B
PredicateRoundTrip False True False 1,647.6 ns 22.22 ns 20.79 ns 0.0114 200 B
PredicateRoundTrip False True True 5,308.5 ns 60.02 ns 53.20 ns 0.0381 760 B
PredicateRoundTrip True False False 505.6 ns 7.92 ns 8.13 ns 0.0010 24 B
PredicateRoundTrip True False True 509.0 ns 9.87 ns 10.14 ns 0.0010 24 B
PredicateRoundTrip True True False 866.4 ns 15.68 ns 14.66 ns 0.0067 120 B
PredicateRoundTrip True True True 4,548.0 ns 62.57 ns 58.52 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 635.08 ns 12.125 ns 12.451 ns 0.0038 80 B
PredicateSustained False False True 646.34 ns 10.652 ns 9.964 ns 0.0038 80 B
PredicateSustained False True False 902.25 ns 9.184 ns 8.590 ns 0.0100 176 B
PredicateSustained False True True 4,652.20 ns 52.974 ns 49.552 ns 0.0400 736 B
PredicateSustained True False False 33.93 ns 0.603 ns 0.564 ns - -
PredicateSustained True False True 33.39 ns 0.404 ns 0.377 ns - -
PredicateSustained True True False 256.68 ns 2.393 ns 2.239 ns 0.0056 96 B
PredicateSustained True True True 3,902.75 ns 64.980 ns 63.819 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 673.6 ns 6.95 ns 6.50 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 8,016.0 ns 98.10 ns 91.76 ns 11.90 0.17 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,468.3 ns 21.12 ns 18.72 ns 2.18 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,499.3 ns 15.97 ns 14.94 ns 2.23 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,082.9 ns 134.00 ns 125.34 ns 14.97 0.23 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 674.7 ns 6.59 ns 5.84 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 602,712.7 ns 11,253.59 ns 10,526.62 ns 893.31 16.86 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,257.5 ns 44.42 ns 43.63 ns 3.35 0.07 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,256.4 ns 31.97 ns 28.34 ns 3.34 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 792,489.0 ns 9,542.97 ns 8,926.50 ns 1,174.58 16.16 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 659.8 ns 11.03 ns 10.32 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 72,191,437.5 ns 1,123,079.11 ns 1,050,528.90 ns 109,447.01 2,267.46 1000.0000 857.1429 285.7143 16002361 B 51,289.62
InvokeIntArrayFixed 100000 74,587.7 ns 599.01 ns 560.31 ns 113.08 1.90 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 73,138.0 ns 438.99 ns 389.16 ns 110.88 1.78 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 96,152,639.9 ns 1,847,710.98 ns 2,269,155.22 ns 145,773.79 4,028.41 1833.3333 1666.6667 833.3333 27893353 B 89,401.77

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.381 μs 0.0166 μs 0.0155 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.383 μs 0.0140 μs 0.0131 μs 1.00 0.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.331 μs 0.0199 μs 0.0187 μs 0.96 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 106.2 ns 1.84 ns 1.63 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 133.1 ns 1.69 ns 1.58 ns 1.25 0.02 0.0014 24 B 1.00
GetInstanceStringField 113.7 ns 0.97 ns 0.86 ns 1.07 0.02 - - 0.00
SetInstanceStringField 789.7 ns 7.22 ns 6.75 ns 7.44 0.13 0.0153 256 B 10.67
GetStaticIntField 117.4 ns 1.89 ns 1.77 ns 1.11 0.02 0.0014 24 B 1.00
SetStaticIntField 125.1 ns 1.71 ns 1.52 ns 1.18 0.02 0.0014 24 B 1.00
GetStaticStringField 122.2 ns 1.51 ns 1.34 ns 1.15 0.02 - - 0.00
SetStaticStringField 790.0 ns 8.76 ns 8.20 ns 7.44 0.13 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 122.7 ns 1.27 ns 1.18 ns 1.16 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 400.1 ns 7.12 ns 6.66 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 401.4 ns 8.07 ns 7.55 ns 1.00 0.02 - - NA
InvokeStaticWithFeedback 655.8 ns 12.61 ns 11.80 ns 1.64 0.04 0.0181 312 B NA
InvokeInstanceEmpty 412.8 ns 8.17 ns 8.74 ns 1.03 0.03 - - NA
InvokeInstanceWithFeedback 663.4 ns 13.25 ns 13.61 ns 1.66 0.04 0.0181 312 B NA

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.763 μs 0.0197 μs 0.0184 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,557.8 ns 24.34 ns 21.58 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 713.4 ns 12.65 ns 11.83 ns 0.28 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 68,259.4 ns 965.80 ns 903.41 ns 1.00 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 721.4 ns 14.09 ns 15.66 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,588,933.1 ns 168,796.19 ns 207,296.90 ns 1.001 0.03 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 733.5 ns 13.42 ns 12.55 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,378.5 ns 22.38 ns 20.94 ns 0.0057 104 B
PredicateRoundTrip False False True 1,375.0 ns 25.38 ns 23.74 ns 0.0057 104 B
PredicateRoundTrip False True False 1,683.2 ns 29.81 ns 27.88 ns 0.0114 200 B
PredicateRoundTrip False True True 5,496.3 ns 84.73 ns 79.26 ns 0.0381 760 B
PredicateRoundTrip True False False 509.6 ns 10.15 ns 12.08 ns 0.0010 24 B
PredicateRoundTrip True False True 491.4 ns 9.72 ns 9.98 ns 0.0010 24 B
PredicateRoundTrip True True False 802.9 ns 8.46 ns 7.50 ns 0.0067 120 B
PredicateRoundTrip True True True 4,607.5 ns 54.34 ns 48.17 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 800.25 ns 15.868 ns 15.585 ns 0.0043 80 B
PredicateSustained False False True 727.49 ns 12.581 ns 11.152 ns 0.0043 80 B
PredicateSustained False True False 999.68 ns 13.484 ns 12.612 ns 0.0100 176 B
PredicateSustained False True True 4,933.28 ns 79.488 ns 74.353 ns 0.0400 736 B
PredicateSustained True False False 33.15 ns 0.432 ns 0.383 ns - -
PredicateSustained True False True 33.70 ns 0.664 ns 0.621 ns - -
PredicateSustained True True False 254.38 ns 2.481 ns 2.321 ns 0.0056 96 B
PredicateSustained True True True 3,954.02 ns 77.872 ns 76.480 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 687.0 ns 7.85 ns 6.56 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,519.8 ns 84.57 ns 70.62 ns 10.95 0.14 0.1068 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,494.1 ns 20.42 ns 19.10 ns 2.17 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,479.7 ns 12.70 ns 11.26 ns 2.15 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,149.3 ns 162.10 ns 143.70 ns 14.77 0.24 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 741.5 ns 10.97 ns 10.26 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 576,462.4 ns 7,643.95 ns 7,150.16 ns 777.61 13.93 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,281.6 ns 18.54 ns 17.34 ns 3.08 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,262.0 ns 19.69 ns 18.42 ns 3.05 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 793,253.0 ns 11,359.83 ns 10,626.00 ns 1,070.04 19.87 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 709.7 ns 4.32 ns 3.60 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 70,790,395.0 ns 1,286,998.24 ns 1,203,858.95 ns 99,748.58 1,714.11 1000.0000 857.1429 285.7143 16001638 B 51,287.30
InvokeIntArrayFixed 100000 73,786.2 ns 455.69 ns 403.95 ns 103.97 0.75 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 74,152.5 ns 646.18 ns 572.82 ns 104.49 0.93 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 97,641,749.9 ns 1,911,536.44 ns 2,485,537.53 ns 137,584.00 3,499.44 2000.0000 1800.0000 1000.0000 27895546 B 89,408.80

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.367 μs 0.0208 μs 0.0195 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.397 μs 0.0133 μs 0.0118 μs 1.02 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.404 μs 0.0118 μs 0.0111 μs 1.03 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 104.5 ns 1.62 ns 1.52 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 122.6 ns 2.49 ns 3.15 ns 1.17 0.03 0.0014 24 B 1.00
GetInstanceStringField 116.1 ns 1.97 ns 1.84 ns 1.11 0.02 - - 0.00
SetInstanceStringField 798.0 ns 13.48 ns 12.61 ns 7.64 0.16 0.0153 256 B 10.67
GetStaticIntField 117.8 ns 2.02 ns 1.79 ns 1.13 0.02 0.0014 24 B 1.00
SetStaticIntField 120.3 ns 2.06 ns 1.92 ns 1.15 0.02 0.0014 24 B 1.00
GetStaticStringField 112.2 ns 2.28 ns 2.13 ns 1.07 0.02 - - 0.00
SetStaticStringField 762.3 ns 5.10 ns 3.98 ns 7.30 0.11 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 113.1 ns 1.65 ns 1.54 ns 1.08 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 351.2 ns 5.50 ns 4.87 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 334.4 ns 5.21 ns 4.88 ns 0.95 0.02 - - NA
InvokeStaticWithFeedback 657.2 ns 4.22 ns 3.53 ns 1.87 0.03 0.0181 312 B NA
InvokeInstanceEmpty 325.7 ns 6.44 ns 6.90 ns 0.93 0.02 - - NA
InvokeInstanceWithFeedback 686.0 ns 6.85 ns 6.41 ns 1.95 0.03 0.0181 312 B NA

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.717 μs 0.0158 μs 0.0148 μs 1.00 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,503.4 ns 44.87 ns 41.97 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 744.9 ns 11.27 ns 10.54 ns 0.30 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 68,518.1 ns 1,024.47 ns 958.29 ns 1.00 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 712.4 ns 7.77 ns 6.89 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 9,683,483.1 ns 158,466.70 ns 140,476.60 ns 1.000 0.02 78.1250 78.1250 78.1250 2400532 B 1.000
InvokeSingleStringPreallocated 100000 761.6 ns 6.14 ns 5.74 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,333.5 ns 24.09 ns 22.54 ns 0.0057 104 B
PredicateRoundTrip False False True 1,319.0 ns 20.40 ns 19.08 ns 0.0057 104 B
PredicateRoundTrip False True False 1,717.2 ns 12.04 ns 10.05 ns 0.0114 200 B
PredicateRoundTrip False True True 5,576.3 ns 63.84 ns 59.72 ns 0.0381 760 B
PredicateRoundTrip True False False 487.7 ns 9.21 ns 9.86 ns 0.0010 24 B
PredicateRoundTrip True False True 521.6 ns 5.55 ns 4.92 ns 0.0010 24 B
PredicateRoundTrip True True False 821.3 ns 14.26 ns 13.34 ns 0.0067 120 B
PredicateRoundTrip True True True 4,619.1 ns 61.82 ns 54.80 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.67GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 665.18 ns 13.143 ns 15.646 ns 0.0038 80 B
PredicateSustained False False True 695.57 ns 12.897 ns 12.667 ns 0.0038 80 B
PredicateSustained False True False 999.21 ns 17.054 ns 15.952 ns 0.0100 176 B
PredicateSustained False True True 4,779.38 ns 73.510 ns 68.761 ns 0.0400 736 B
PredicateSustained True False False 34.38 ns 0.508 ns 0.450 ns - -
PredicateSustained True False True 33.20 ns 0.626 ns 0.721 ns - -
PredicateSustained True True False 266.36 ns 3.376 ns 3.158 ns 0.0056 96 B
PredicateSustained True True True 3,898.17 ns 45.705 ns 38.166 ns 0.0300 656 B

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 331.4 ns 6.16 ns 5.46 ns 1.00 0.02 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 4,282.2 ns 73.92 ns 65.52 ns 12.92 0.28 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 786.9 ns 13.85 ns 14.22 ns 2.37 0.06 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 796.5 ns 11.34 ns 10.05 ns 2.40 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 5,411.3 ns 87.87 ns 73.37 ns 16.33 0.33 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 335.3 ns 3.80 ns 3.55 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 331,614.9 ns 6,368.24 ns 7,078.29 ns 989.10 22.91 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,282.1 ns 18.05 ns 15.07 ns 3.82 0.06 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,239.6 ns 17.96 ns 15.00 ns 3.70 0.06 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 425,051.4 ns 8,213.25 ns 9,129.01 ns 1,267.79 29.51 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 336.4 ns 6.02 ns 6.69 ns 1.00 0.03 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 38,043,709.4 ns 466,876.72 ns 413,874.05 ns 113,120.23 2,471.15 1142.8571 1000.0000 357.1429 16001318 B 51,286.28
InvokeIntArrayFixed 100000 38,115.3 ns 707.31 ns 590.63 ns 113.33 2.75 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 37,684.1 ns 702.98 ns 548.84 ns 112.05 2.66 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 51,519,183.9 ns 928,132.45 ns 775,032.63 ns 153,188.58 3,679.08 1900.0000 1800.0000 800.0000 27893707 B 89,402.91

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 756.1 ns 7.00 ns 6.20 ns 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 778.5 ns 14.90 ns 15.95 ns 1.03 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 779.1 ns 15.52 ns 17.25 ns 1.03 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 58.99 ns 0.685 ns 0.534 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 64.01 ns 0.869 ns 0.726 ns 1.09 0.02 0.0014 24 B 1.00
GetInstanceStringField 61.09 ns 0.877 ns 0.820 ns 1.04 0.02 - - 0.00
SetInstanceStringField 401.58 ns 5.920 ns 5.538 ns 6.81 0.11 0.0153 256 B 10.67
GetStaticIntField 63.85 ns 1.146 ns 1.274 ns 1.08 0.02 0.0014 24 B 1.00
SetStaticIntField 62.02 ns 0.712 ns 0.595 ns 1.05 0.01 0.0014 24 B 1.00
GetStaticStringField 58.17 ns 1.174 ns 1.256 ns 0.99 0.02 - - 0.00
SetStaticStringField 401.64 ns 6.869 ns 6.425 ns 6.81 0.12 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 62.96 ns 1.019 ns 0.903 ns 1.07 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 166.9 ns 2.28 ns 2.13 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 170.8 ns 2.35 ns 2.08 ns 1.02 0.02 - - NA
InvokeStaticWithFeedback 328.0 ns 5.26 ns 4.67 ns 1.97 0.04 0.0186 312 B NA
InvokeInstanceEmpty 170.7 ns 3.31 ns 3.25 ns 1.02 0.02 - - NA
InvokeInstanceWithFeedback 335.1 ns 6.02 ns 5.03 ns 2.01 0.04 0.0186 312 B NA

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 942.3 ns 13.96 ns 11.66 ns 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,318.7 ns 17.37 ns 14.50 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 387.6 ns 7.49 ns 8.92 ns 0.29 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 34,969.8 ns 514.00 ns 455.65 ns 1.000 0.02 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 348.4 ns 6.97 ns 10.64 ns 0.010 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 5,191,117.4 ns 97,505.18 ns 151,803.83 ns 1.001 0.04 70.3125 70.3125 70.3125 2400933 B 1.000
InvokeSingleStringPreallocated 100000 372.0 ns 7.21 ns 10.10 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 723.3 ns 14.00 ns 14.37 ns 0.0057 104 B
PredicateRoundTrip False False True 690.0 ns 11.61 ns 12.90 ns 0.0057 104 B
PredicateRoundTrip False True False 877.7 ns 9.41 ns 8.34 ns 0.0114 200 B
PredicateRoundTrip False True True 2,930.5 ns 30.37 ns 25.36 ns 0.0420 760 B
PredicateRoundTrip True False False 230.8 ns 2.30 ns 2.04 ns 0.0014 24 B
PredicateRoundTrip True False True 242.5 ns 4.82 ns 5.92 ns 0.0014 24 B
PredicateRoundTrip True True False 452.3 ns 7.88 ns 7.74 ns 0.0072 120 B
PredicateRoundTrip True True True 2,476.5 ns 24.49 ns 20.45 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 345.45 ns 5.012 ns 4.688 ns 0.0047 80 B
PredicateSustained False False True 353.39 ns 3.475 ns 3.250 ns 0.0046 80 B
PredicateSustained False True False 487.75 ns 3.882 ns 3.441 ns 0.0100 176 B
PredicateSustained False True True 2,608.85 ns 50.652 ns 47.380 ns 0.0400 736 B
PredicateSustained True False False 32.35 ns 0.517 ns 0.508 ns - -
PredicateSustained True False True 32.42 ns 0.497 ns 0.553 ns - -
PredicateSustained True True False 150.43 ns 2.734 ns 3.921 ns 0.0056 96 B
PredicateSustained True True True 2,174.26 ns 28.108 ns 24.917 ns 0.0367 656 B

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 703.3 ns 4.96 ns 4.40 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 7,461.1 ns 35.08 ns 29.29 ns 10.61 0.08 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,480.6 ns 20.04 ns 18.75 ns 2.11 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,467.2 ns 11.22 ns 9.95 ns 2.09 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,027.8 ns 88.68 ns 78.62 ns 14.26 0.14 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 692.2 ns 11.81 ns 11.05 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 550,235.6 ns 7,394.01 ns 6,554.60 ns 795.10 15.27 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 2,169.7 ns 19.24 ns 17.06 ns 3.14 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 2,212.1 ns 27.69 ns 25.90 ns 3.20 0.06 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 774,467.4 ns 10,695.03 ns 10,004.14 ns 1,119.13 22.18 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 705.6 ns 7.17 ns 6.36 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 70,494,717.5 ns 1,013,475.98 ns 948,006.06 ns 99,916.03 1,562.41 1000.0000 857.1429 285.7143 16001123 B 51,285.65
InvokeIntArrayFixed 100000 75,298.9 ns 519.19 ns 485.65 ns 106.73 1.14 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,510.5 ns 389.30 ns 325.08 ns 102.77 0.99 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 99,131,774.4 ns 1,700,687.44 ns 1,590,824.08 ns 140,504.90 2,499.40 2000.0000 1800.0000 1000.0000 27894950 B 89,406.89

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.300 μs 0.0183 μs 0.0171 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.320 μs 0.0136 μs 0.0127 μs 1.02 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.317 μs 0.0174 μs 0.0163 μs 1.01 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 103.5 ns 1.21 ns 1.13 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 115.2 ns 1.15 ns 1.07 ns 1.11 0.02 0.0014 24 B 1.00
GetInstanceStringField 102.2 ns 1.28 ns 1.07 ns 0.99 0.01 - - 0.00
SetInstanceStringField 773.3 ns 7.89 ns 7.00 ns 7.47 0.10 0.0153 256 B 10.67
GetStaticIntField 107.8 ns 1.44 ns 1.20 ns 1.04 0.02 0.0014 24 B 1.00
SetStaticIntField 112.9 ns 2.20 ns 2.25 ns 1.09 0.02 0.0014 24 B 1.00
GetStaticStringField 100.4 ns 2.00 ns 2.38 ns 0.97 0.02 - - 0.00
SetStaticStringField 736.4 ns 5.20 ns 4.34 ns 7.12 0.09 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 117.4 ns 1.13 ns 1.06 ns 1.13 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 317.5 ns 5.49 ns 5.14 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 323.6 ns 5.37 ns 5.02 ns 1.02 0.02 - - NA
InvokeStaticWithFeedback 667.6 ns 8.71 ns 7.72 ns 2.10 0.04 0.0181 312 B NA
InvokeInstanceEmpty 341.2 ns 6.45 ns 6.90 ns 1.08 0.03 - - NA
InvokeInstanceWithFeedback 730.8 ns 11.99 ns 11.22 ns 2.30 0.05 0.0181 312 B NA

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.718 μs 0.0219 μs 0.0205 μs 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,430.7 ns 31.72 ns 29.67 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 729.8 ns 13.48 ns 12.61 ns 0.30 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 70,642.1 ns 958.59 ns 896.66 ns 1.00 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 730.8 ns 11.05 ns 10.33 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 9,532,978.2 ns 146,324.49 ns 136,872.02 ns 1.000 0.02 78.1250 78.1250 78.1250 2400467 B 1.000
InvokeSingleStringPreallocated 100000 772.5 ns 6.10 ns 5.10 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,274.6 ns 13.32 ns 11.12 ns 0.0057 104 B
PredicateRoundTrip False False True 1,263.4 ns 24.90 ns 27.68 ns 0.0057 104 B
PredicateRoundTrip False True False 1,606.8 ns 17.41 ns 16.28 ns 0.0114 200 B
PredicateRoundTrip False True True 5,350.9 ns 50.98 ns 45.19 ns 0.0381 760 B
PredicateRoundTrip True False False 497.5 ns 9.73 ns 10.41 ns 0.0010 24 B
PredicateRoundTrip True False True 494.6 ns 9.69 ns 10.36 ns 0.0010 24 B
PredicateRoundTrip True True False 817.3 ns 11.31 ns 10.58 ns 0.0067 120 B
PredicateRoundTrip True True True 4,453.3 ns 25.98 ns 23.03 ns 0.0381 680 B

core-ubuntu-22.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.65GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 650.58 ns 12.120 ns 11.337 ns 0.0038 80 B
PredicateSustained False False True 658.35 ns 5.765 ns 4.814 ns 0.0038 80 B
PredicateSustained False True False 931.99 ns 13.089 ns 12.243 ns 0.0100 176 B
PredicateSustained False True True 4,673.69 ns 64.020 ns 59.884 ns 0.0400 736 B
PredicateSustained True False False 33.59 ns 0.409 ns 0.342 ns - -
PredicateSustained True False True 34.68 ns 0.512 ns 0.479 ns - -
PredicateSustained True True False 269.15 ns 1.502 ns 1.332 ns 0.0056 96 B
PredicateSustained True True True 3,875.73 ns 74.362 ns 65.920 ns 0.0300 656 B

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 540.4 ns 7.06 ns 6.26 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,298.2 ns 62.17 ns 58.16 ns 11.66 0.17 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,236.7 ns 15.79 ns 14.77 ns 2.29 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,224.3 ns 13.12 ns 12.27 ns 2.27 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,296.3 ns 151.70 ns 141.90 ns 15.35 0.31 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 546.5 ns 9.59 ns 8.97 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 492,551.6 ns 7,677.90 ns 7,181.91 ns 901.45 19.11 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,956.0 ns 19.06 ns 17.82 ns 3.58 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,044.4 ns 13.52 ns 12.64 ns 3.74 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 631,768.3 ns 7,481.83 ns 6,998.51 ns 1,156.23 22.09 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 516.0 ns 3.75 ns 3.13 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,784,151.7 ns 525,982.79 ns 492,004.62 ns 113,921.95 1,137.43 1111.1111 1000.0000 333.3333 16002865 B 46,519.96
InvokeIntArrayFixed 100000 51,614.2 ns 177.95 ns 157.75 ns 100.03 0.65 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 51,469.2 ns 129.71 ns 114.99 ns 99.75 0.62 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 81,509,929.0 ns 866,055.53 ns 810,108.88 ns 157,963.84 1,777.62 2000.0000 1857.1429 857.1429 27893713 B 81,086.38

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.141 μs 0.0114 μs 0.0107 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.115 μs 0.0151 μs 0.0141 μs 0.98 0.0210 360 B 1.00
DeclaredNewEmpty 1.107 μs 0.0125 μs 0.0117 μs 0.97 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 112.0 ns 1.33 ns 1.25 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 124.5 ns 2.37 ns 2.43 ns 1.11 0.02 0.0014 24 B 1.00
GetInstanceStringField 110.7 ns 1.24 ns 1.16 ns 0.99 0.01 - - 0.00
SetInstanceStringField 666.8 ns 5.30 ns 4.96 ns 5.96 0.08 0.0172 288 B 12.00
GetStaticIntField 114.8 ns 1.25 ns 1.17 ns 1.03 0.01 0.0014 24 B 1.00
SetStaticIntField 127.0 ns 1.62 ns 1.44 ns 1.13 0.02 0.0014 24 B 1.00
GetStaticStringField 106.5 ns 1.55 ns 1.45 ns 0.95 0.02 - - 0.00
SetStaticStringField 635.9 ns 8.69 ns 8.13 ns 5.68 0.09 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 133.7 ns 0.67 ns 0.52 ns 1.19 0.01 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 337.0 ns 5.05 ns 4.72 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 278.4 ns 5.13 ns 4.80 ns 0.83 0.02 - - NA
InvokeStaticWithFeedback 533.5 ns 10.43 ns 9.75 ns 1.58 0.04 0.0200 344 B NA
InvokeInstanceEmpty 324.2 ns 1.71 ns 1.42 ns 0.96 0.01 - - NA
InvokeInstanceWithFeedback 536.5 ns 9.09 ns 8.06 ns 1.59 0.03 0.0200 344 B NA

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.387 μs 0.0147 μs 0.0130 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,933.2 ns 24.78 ns 21.97 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 582.2 ns 7.14 ns 6.68 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 56,178.0 ns 523.88 ns 490.04 ns 1.00 0.01 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 592.0 ns 1.87 ns 1.46 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,791,570.4 ns 106,925.89 ns 94,787.02 ns 1.000 0.02 78.1250 78.1250 78.1250 2400862 B 1.000
InvokeSingleStringPreallocated 100000 641.2 ns 10.37 ns 9.70 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,028.0 ns 16.74 ns 15.66 ns 0.0057 104 B
PredicateRoundTrip False False True 1,053.0 ns 20.93 ns 20.55 ns 0.0057 104 B
PredicateRoundTrip False True False 1,279.7 ns 10.80 ns 10.10 ns 0.0114 200 B
PredicateRoundTrip False True True 4,359.4 ns 41.41 ns 36.71 ns 0.0458 792 B
PredicateRoundTrip True False False 367.5 ns 5.50 ns 5.15 ns 0.0014 24 B
PredicateRoundTrip True False True 382.8 ns 6.26 ns 5.85 ns 0.0014 24 B
PredicateRoundTrip True True False 610.9 ns 9.21 ns 8.62 ns 0.0067 120 B
PredicateRoundTrip True True True 3,638.3 ns 33.80 ns 31.62 ns 0.0420 712 B

core-ubuntu-22.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 542.01 ns 6.398 ns 5.985 ns 0.0040 80 B
PredicateSustained False False True 541.25 ns 9.936 ns 9.294 ns 0.0040 80 B
PredicateSustained False True False 721.39 ns 14.317 ns 15.913 ns 0.0100 176 B
PredicateSustained False True True 3,814.19 ns 74.296 ns 65.862 ns 0.0400 768 B
PredicateSustained True False False 35.81 ns 0.407 ns 0.361 ns - -
PredicateSustained True False True 36.93 ns 0.528 ns 0.493 ns - -
PredicateSustained True True False 188.12 ns 2.326 ns 2.176 ns 0.0056 96 B
PredicateSustained True True True 3,161.43 ns 42.855 ns 40.087 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 584.5 ns 4.59 ns 4.07 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 10 7,134.3 ns 49.71 ns 46.50 ns 12.21 0.11 0.0229 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,223.2 ns 19.72 ns 17.48 ns 2.09 0.03 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,189.9 ns 9.83 ns 9.20 ns 2.04 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,974.9 ns 86.21 ns 80.64 ns 15.36 0.17 0.0305 - - 3520 B 10.23
InvokeIntParam 1000 576.4 ns 4.99 ns 4.66 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 1000 569,931.9 ns 3,070.01 ns 2,721.49 ns 988.76 8.98 0.9766 - - 160448 B 466.42
InvokeIntArrayFixed 1000 2,015.0 ns 9.78 ns 9.15 ns 3.50 0.03 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,017.2 ns 12.14 ns 10.77 ns 3.50 0.03 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 732,285.2 ns 8,692.17 ns 8,130.66 ns 1,270.42 16.89 2.9297 0.9766 - 265888 B 772.93
InvokeIntParam 100000 563.4 ns 6.86 ns 6.42 ns 1.00 0.02 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,492,264.8 ns 347,284.17 ns 307,858.38 ns 107,384.57 1,305.96 250.0000 125.0000 125.0000 16001282 B 46,515.35
InvokeIntArrayFixed 100000 77,750.0 ns 542.23 ns 507.21 ns 138.02 1.77 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 77,413.1 ns 524.86 ns 465.28 ns 137.42 1.72 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,204,703.9 ns 1,690,847.26 ns 1,581,619.58 ns 151,253.56 3,197.03 1000.0000 833.3333 833.3333 27895873 B 81,092.65

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.319 μs 0.0115 μs 0.0102 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.153 μs 0.0167 μs 0.0156 μs 0.87 0.0038 360 B 1.00
DeclaredNewEmpty 1.308 μs 0.0136 μs 0.0127 μs 0.99 0.0038 360 B 1.00

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 102.4 ns 1.14 ns 1.07 ns 1.00 0.01 0.0002 24 B 1.00
SetInstanceIntField 123.5 ns 0.60 ns 0.56 ns 1.21 0.01 0.0002 24 B 1.00
GetInstanceStringField 107.8 ns 0.74 ns 0.66 ns 1.05 0.01 - - 0.00
SetInstanceStringField 733.0 ns 6.09 ns 5.40 ns 7.16 0.09 0.0029 288 B 12.00
GetStaticIntField 113.7 ns 0.91 ns 0.86 ns 1.11 0.01 0.0002 24 B 1.00
SetStaticIntField 122.5 ns 0.90 ns 0.79 ns 1.20 0.01 0.0002 24 B 1.00
GetStaticStringField 100.1 ns 0.45 ns 0.40 ns 0.98 0.01 - - 0.00
SetStaticStringField 732.6 ns 5.35 ns 4.74 ns 7.15 0.09 0.0029 288 B 12.00
GetInstanceIntFieldGeneric 136.2 ns 1.12 ns 1.05 ns 1.33 0.02 0.0002 24 B 1.00

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 293.0 ns 2.80 ns 2.48 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 264.0 ns 2.27 ns 2.13 ns 0.90 0.01 - - NA
InvokeStaticWithFeedback 561.5 ns 4.97 ns 4.65 ns 1.92 0.02 0.0038 344 B NA
InvokeInstanceEmpty 294.7 ns 1.85 ns 1.73 ns 1.01 0.01 - - NA
InvokeInstanceWithFeedback 574.8 ns 4.91 ns 4.60 ns 1.96 0.02 0.0038 344 B NA

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.443 μs 0.0068 μs 0.0064 μs 1.00 0.0076 712 B 1.00

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,978.1 ns 27.67 ns 25.88 ns 1.00 0.02 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 590.0 ns 5.90 ns 5.23 ns 0.30 0.00 0.0038 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 63,904.0 ns 328.62 ns 291.32 ns 1.000 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 581.6 ns 4.57 ns 3.81 ns 0.009 0.00 0.0038 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 6,923,140.6 ns 136,632.23 ns 228,281.77 ns 1.001 0.05 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 647.7 ns 5.66 ns 5.30 ns 0.000 0.00 0.0038 - - 320 B 0.000

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,019.4 ns 12.35 ns 11.55 ns - 104 B
PredicateRoundTrip False False True 1,025.9 ns 8.66 ns 8.10 ns - 104 B
PredicateRoundTrip False True False 1,228.9 ns 5.92 ns 5.25 ns 0.0019 200 B
PredicateRoundTrip False True True 4,132.8 ns 26.99 ns 23.92 ns 0.0076 792 B
PredicateRoundTrip True False False 378.1 ns 2.22 ns 2.07 ns - 24 B
PredicateRoundTrip True False True 381.6 ns 2.57 ns 2.28 ns - 24 B
PredicateRoundTrip True True False 608.9 ns 3.97 ns 3.71 ns 0.0010 120 B
PredicateRoundTrip True True True 3,476.8 ns 68.04 ns 69.88 ns 0.0076 712 B

core-ubuntu-22.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.20GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 534.28 ns 5.454 ns 4.835 ns - 80 B
PredicateSustained False False True 530.16 ns 4.387 ns 4.104 ns - 80 B
PredicateSustained False True False 746.35 ns 6.369 ns 5.957 ns 0.0014 176 B
PredicateSustained False True True 3,428.23 ns 47.402 ns 44.340 ns - 768 B
PredicateSustained True False False 50.64 ns 1.000 ns 1.615 ns - -
PredicateSustained True False True 51.00 ns 0.277 ns 0.259 ns - -
PredicateSustained True True False 202.76 ns 1.656 ns 1.549 ns 0.0009 96 B
PredicateSustained True True True 2,868.99 ns 21.729 ns 20.325 ns 0.0050 688 B

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 733.2 ns 11.93 ns 11.16 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,697.8 ns 147.87 ns 145.23 ns 10.50 0.25 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,573.5 ns 17.12 ns 16.01 ns 2.15 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,519.5 ns 13.93 ns 13.03 ns 2.07 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,504.9 ns 131.91 ns 123.39 ns 14.33 0.27 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 724.2 ns 4.47 ns 3.49 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 605,845.8 ns 7,295.60 ns 6,467.36 ns 836.54 9.46 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,272.7 ns 14.81 ns 12.37 ns 3.14 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,260.3 ns 13.21 ns 12.36 ns 3.12 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 822,173.0 ns 13,151.64 ns 12,302.05 ns 1,135.24 17.27 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 718.7 ns 12.32 ns 11.53 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 75,545,010.8 ns 910,906.30 ns 852,062.32 ns 105,136.51 1,985.45 1000.0000 857.1429 285.7143 16002518 B 46,518.95
InvokeIntArrayFixed 100000 71,439.9 ns 331.85 ns 294.18 ns 99.42 1.58 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 71,286.5 ns 263.75 ns 246.71 ns 99.21 1.56 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 103,329,624.4 ns 1,490,013.27 ns 1,393,759.34 ns 143,804.55 2,904.51 1800.0000 1600.0000 800.0000 27894696 B 81,089.23

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.381 μs 0.0156 μs 0.0138 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.382 μs 0.0086 μs 0.0072 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.448 μs 0.0141 μs 0.0132 μs 1.05 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 119.7 ns 2.08 ns 1.95 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 144.1 ns 2.41 ns 2.26 ns 1.20 0.03 0.0014 24 B 1.00
GetInstanceStringField 130.2 ns 2.34 ns 2.18 ns 1.09 0.02 - - 0.00
SetInstanceStringField 821.4 ns 8.28 ns 7.75 ns 6.87 0.12 0.0172 288 B 12.00
GetStaticIntField 127.9 ns 0.86 ns 0.76 ns 1.07 0.02 0.0014 24 B 1.00
SetStaticIntField 145.7 ns 2.44 ns 2.28 ns 1.22 0.03 0.0014 24 B 1.00
GetStaticStringField 119.3 ns 2.39 ns 2.23 ns 1.00 0.02 - - 0.00
SetStaticStringField 838.3 ns 7.34 ns 6.86 ns 7.01 0.12 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 165.5 ns 1.58 ns 1.48 ns 1.38 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 345.2 ns 4.35 ns 4.06 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 324.0 ns 5.09 ns 4.76 ns 0.94 0.02 - - NA
InvokeStaticWithFeedback 760.0 ns 14.11 ns 13.20 ns 2.20 0.04 0.0200 344 B NA
InvokeInstanceEmpty 370.8 ns 6.75 ns 6.31 ns 1.07 0.02 - - NA
InvokeInstanceWithFeedback 728.4 ns 9.61 ns 8.98 ns 2.11 0.03 0.0200 344 B NA

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.751 μs 0.0228 μs 0.0214 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,512.7 ns 27.59 ns 25.81 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 798.7 ns 14.04 ns 13.13 ns 0.32 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 72,116.7 ns 1,423.46 ns 1,331.51 ns 1.00 0.03 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 772.5 ns 13.17 ns 12.32 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,243,878.8 ns 179,014.56 ns 198,974.21 ns 1.000 0.03 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 858.1 ns 16.54 ns 16.24 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,291.5 ns 17.95 ns 16.79 ns 0.0057 104 B
PredicateRoundTrip False False True 1,295.7 ns 13.30 ns 11.79 ns 0.0057 104 B
PredicateRoundTrip False True False 1,544.9 ns 19.91 ns 17.65 ns 0.0114 200 B
PredicateRoundTrip False True True 5,558.5 ns 69.96 ns 65.44 ns 0.0458 792 B
PredicateRoundTrip True False False 512.4 ns 9.78 ns 9.61 ns 0.0010 24 B
PredicateRoundTrip True False True 522.3 ns 9.20 ns 8.61 ns 0.0010 24 B
PredicateRoundTrip True True False 770.9 ns 7.96 ns 7.06 ns 0.0067 120 B
PredicateRoundTrip True True True 4,609.6 ns 29.64 ns 26.28 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 702.75 ns 14.041 ns 13.134 ns 0.0043 80 B
PredicateSustained False False True 706.80 ns 12.481 ns 11.675 ns 0.0038 80 B
PredicateSustained False True False 972.72 ns 18.080 ns 16.913 ns 0.0100 176 B
PredicateSustained False True True 4,771.01 ns 54.763 ns 51.225 ns 0.0400 768 B
PredicateSustained True False False 41.97 ns 0.749 ns 0.700 ns - -
PredicateSustained True False True 42.18 ns 0.684 ns 0.640 ns - -
PredicateSustained True True False 245.12 ns 3.140 ns 2.937 ns 0.0056 96 B
PredicateSustained True True True 3,916.03 ns 34.509 ns 32.280 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 742.1 ns 12.21 ns 11.42 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,845.1 ns 107.20 ns 100.28 ns 10.57 0.20 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,629.2 ns 28.40 ns 26.56 ns 2.20 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,602.6 ns 13.75 ns 11.48 ns 2.16 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,866.7 ns 148.43 ns 138.84 ns 14.65 0.28 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 743.3 ns 11.07 ns 10.36 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 616,179.1 ns 6,753.25 ns 6,316.99 ns 829.13 13.88 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,345.9 ns 38.70 ns 34.30 ns 3.16 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,395.4 ns 19.02 ns 16.86 ns 3.22 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 859,091.1 ns 9,816.28 ns 8,701.88 ns 1,155.99 19.26 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 736.4 ns 7.41 ns 6.57 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 72,305,715.5 ns 950,451.06 ns 842,550.11 ns 98,192.04 1,392.26 1000.0000 857.1429 285.7143 16002142 B 46,517.85
InvokeIntArrayFixed 100000 73,206.1 ns 831.22 ns 736.85 ns 99.41 1.29 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 72,194.1 ns 368.27 ns 344.48 ns 98.04 0.96 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 103,953,099.8 ns 2,024,423.05 ns 2,166,109.98 ns 141,169.58 3,112.00 1800.0000 1600.0000 800.0000 27894474 B 81,088.59

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.458 μs 0.0248 μs 0.0232 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.458 μs 0.0136 μs 0.0127 μs 1.00 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.465 μs 0.0106 μs 0.0094 μs 1.01 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 117.0 ns 1.63 ns 1.52 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 141.1 ns 2.76 ns 2.58 ns 1.21 0.03 0.0014 24 B 1.00
GetInstanceStringField 128.6 ns 2.58 ns 2.76 ns 1.10 0.03 - - 0.00
SetInstanceStringField 820.3 ns 8.66 ns 8.10 ns 7.01 0.11 0.0172 288 B 12.00
GetStaticIntField 124.2 ns 1.76 ns 1.64 ns 1.06 0.02 0.0014 24 B 1.00
SetStaticIntField 146.8 ns 2.94 ns 2.89 ns 1.25 0.03 0.0014 24 B 1.00
GetStaticStringField 118.1 ns 2.15 ns 2.01 ns 1.01 0.02 - - 0.00
SetStaticStringField 825.0 ns 5.95 ns 5.57 ns 7.05 0.10 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 164.7 ns 3.21 ns 3.01 ns 1.41 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 368.9 ns 6.44 ns 6.03 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 327.2 ns 4.46 ns 3.95 ns 0.89 0.02 - - NA
InvokeStaticWithFeedback 748.5 ns 12.76 ns 11.94 ns 2.03 0.04 0.0200 344 B NA
InvokeInstanceEmpty 384.6 ns 5.45 ns 4.55 ns 1.04 0.02 - - NA
InvokeInstanceWithFeedback 727.4 ns 12.57 ns 11.14 ns 1.97 0.04 0.0200 344 B NA

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.799 μs 0.0163 μs 0.0152 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,501.7 ns 23.40 ns 21.89 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 830.5 ns 9.30 ns 8.25 ns 0.33 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 70,737.6 ns 890.51 ns 789.41 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 809.8 ns 14.05 ns 13.14 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,609,206.0 ns 184,737.32 ns 252,870.55 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 887.0 ns 15.63 ns 14.62 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,278.1 ns 21.76 ns 19.29 ns 0.0057 104 B
PredicateRoundTrip False False True 1,304.1 ns 19.72 ns 18.45 ns 0.0057 104 B
PredicateRoundTrip False True False 1,583.6 ns 21.86 ns 20.45 ns 0.0114 200 B
PredicateRoundTrip False True True 5,597.8 ns 89.78 ns 83.98 ns 0.0458 792 B
PredicateRoundTrip True False False 510.8 ns 9.53 ns 8.92 ns 0.0010 24 B
PredicateRoundTrip True False True 516.3 ns 10.01 ns 10.28 ns 0.0010 24 B
PredicateRoundTrip True True False 801.3 ns 14.22 ns 12.60 ns 0.0067 120 B
PredicateRoundTrip True True True 4,761.7 ns 79.25 ns 74.13 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 668.27 ns 12.505 ns 12.282 ns 0.0038 80 B
PredicateSustained False False True 668.96 ns 9.644 ns 8.549 ns 0.0038 80 B
PredicateSustained False True False 930.03 ns 16.392 ns 14.531 ns 0.0100 176 B
PredicateSustained False True True 4,933.91 ns 71.236 ns 66.634 ns 0.0400 768 B
PredicateSustained True False False 43.38 ns 0.674 ns 0.631 ns - -
PredicateSustained True False True 43.37 ns 0.618 ns 0.548 ns - -
PredicateSustained True True False 243.38 ns 2.772 ns 2.593 ns 0.0056 96 B
PredicateSustained True True True 4,029.04 ns 30.053 ns 23.463 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 545.0 ns 8.57 ns 8.02 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,256.9 ns 67.30 ns 62.96 ns 11.48 0.20 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,222.9 ns 20.82 ns 19.48 ns 2.24 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,234.2 ns 18.70 ns 17.49 ns 2.27 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 7,918.5 ns 81.75 ns 76.47 ns 14.53 0.25 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 524.1 ns 5.98 ns 5.60 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 473,185.7 ns 8,813.21 ns 9,050.52 ns 902.99 19.18 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,725.5 ns 14.64 ns 13.69 ns 3.29 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,736.1 ns 7.77 ns 6.07 ns 3.31 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 659,332.7 ns 8,818.60 ns 8,248.93 ns 1,258.21 19.98 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 498.7 ns 3.01 ns 2.35 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,697,465.8 ns 572,449.81 ns 535,469.91 ns 117,704.13 1,169.98 1111.1111 1000.0000 333.3333 16001919 B 46,517.21
InvokeIntArrayFixed 100000 27,111.8 ns 124.73 ns 116.67 ns 54.37 0.34 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 27,171.9 ns 183.98 ns 163.09 ns 54.49 0.40 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 81,220,118.7 ns 952,253.09 ns 890,738.14 ns 162,868.08 1,882.38 2142.8571 2000.0000 1000.0000 27897509 B 81,097.41

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.085 μs 0.0152 μs 0.0135 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.110 μs 0.0154 μs 0.0136 μs 1.02 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.091 μs 0.0113 μs 0.0100 μs 1.01 0.01 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.6 ns 1.14 ns 1.07 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 120.3 ns 1.36 ns 1.28 ns 1.11 0.02 0.0014 24 B 1.00
GetInstanceStringField 106.6 ns 1.23 ns 1.15 ns 0.98 0.01 - - 0.00
SetInstanceStringField 642.9 ns 5.54 ns 4.91 ns 5.92 0.07 0.0172 288 B 12.00
GetStaticIntField 111.9 ns 0.79 ns 0.66 ns 1.03 0.01 0.0014 24 B 1.00
SetStaticIntField 120.3 ns 1.13 ns 0.94 ns 1.11 0.01 0.0014 24 B 1.00
GetStaticStringField 102.7 ns 1.06 ns 0.99 ns 0.95 0.01 - - 0.00
SetStaticStringField 651.8 ns 8.17 ns 7.64 ns 6.01 0.09 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 136.2 ns 1.70 ns 1.59 ns 1.25 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 266.0 ns 4.83 ns 4.28 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 249.0 ns 3.38 ns 3.16 ns 0.94 0.02 - - NA
InvokeStaticWithFeedback 516.4 ns 8.60 ns 8.05 ns 1.94 0.04 0.0200 344 B NA
InvokeInstanceEmpty 268.5 ns 4.03 ns 3.77 ns 1.01 0.02 - - NA
InvokeInstanceWithFeedback 510.7 ns 8.26 ns 7.72 ns 1.92 0.04 0.0200 344 B NA

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.332 μs 0.0105 μs 0.0087 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,914.2 ns 27.73 ns 25.94 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 553.1 ns 10.15 ns 9.50 ns 0.29 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 51,799.4 ns 624.36 ns 584.02 ns 1.00 0.02 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 553.9 ns 9.57 ns 8.95 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,051,776.1 ns 140,934.96 ns 150,798.83 ns 1.000 0.03 78.1250 78.1250 78.1250 2400868 B 1.000
InvokeSingleStringPreallocated 100000 602.4 ns 11.85 ns 11.09 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,038.7 ns 16.10 ns 15.06 ns 0.0057 104 B
PredicateRoundTrip False False True 1,005.0 ns 11.96 ns 10.60 ns 0.0057 104 B
PredicateRoundTrip False True False 1,243.3 ns 13.17 ns 12.32 ns 0.0114 200 B
PredicateRoundTrip False True True 4,292.8 ns 66.28 ns 62.00 ns 0.0458 792 B
PredicateRoundTrip True False False 376.4 ns 6.09 ns 5.70 ns 0.0014 24 B
PredicateRoundTrip True False True 368.8 ns 5.20 ns 4.86 ns 0.0014 24 B
PredicateRoundTrip True True False 595.1 ns 11.44 ns 10.70 ns 0.0067 120 B
PredicateRoundTrip True True True 3,601.5 ns 25.22 ns 21.06 ns 0.0420 712 B

core-ubuntu-22.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 530.08 ns 8.640 ns 8.082 ns 0.0040 80 B
PredicateSustained False False True 520.29 ns 6.755 ns 5.988 ns 0.0040 80 B
PredicateSustained False True False 719.11 ns 12.698 ns 11.877 ns 0.0100 176 B
PredicateSustained False True True 3,771.71 ns 55.135 ns 51.573 ns 0.0400 768 B
PredicateSustained True False False 34.62 ns 0.211 ns 0.164 ns - -
PredicateSustained True False True 34.86 ns 0.502 ns 0.470 ns - -
PredicateSustained True True False 185.74 ns 1.935 ns 1.810 ns 0.0056 96 B
PredicateSustained True True True 3,182.75 ns 42.821 ns 40.055 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 695.2 ns 13.55 ns 13.31 ns 1.00 0.03 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,678.4 ns 128.75 ns 120.44 ns 11.05 0.27 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,537.5 ns 19.35 ns 17.15 ns 2.21 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,539.0 ns 13.66 ns 12.11 ns 2.21 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,326.2 ns 125.68 ns 117.56 ns 14.86 0.32 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 711.7 ns 6.33 ns 5.29 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 617,290.5 ns 5,492.21 ns 4,868.70 ns 867.35 9.09 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,054.6 ns 32.65 ns 30.54 ns 2.89 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,076.6 ns 25.31 ns 23.68 ns 2.92 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 809,095.1 ns 6,115.25 ns 4,774.38 ns 1,136.85 10.41 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 699.3 ns 13.00 ns 11.53 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 72,817,205.5 ns 1,045,321.07 ns 926,649.90 ns 104,161.83 2,085.79 1000.0000 857.1429 285.7143 16002334 B 46,518.41
InvokeIntArrayFixed 100000 47,906.7 ns 246.55 ns 205.88 ns 68.53 1.12 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 48,093.0 ns 426.47 ns 398.92 ns 68.79 1.22 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 101,246,226.6 ns 1,926,354.55 ns 1,978,224.29 ns 144,828.30 3,578.41 1800.0000 1600.0000 800.0000 27895614 B 81,091.90

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.408 μs 0.0177 μs 0.0166 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.388 μs 0.0216 μs 0.0202 μs 0.99 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.363 μs 0.0140 μs 0.0116 μs 0.97 0.01 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 121.1 ns 2.06 ns 1.93 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 138.9 ns 2.66 ns 2.61 ns 1.15 0.03 0.0014 24 B 1.00
GetInstanceStringField 123.4 ns 2.45 ns 2.52 ns 1.02 0.03 - - 0.00
SetInstanceStringField 821.1 ns 8.22 ns 7.69 ns 6.78 0.12 0.0172 288 B 12.00
GetStaticIntField 123.9 ns 1.73 ns 1.44 ns 1.02 0.02 0.0014 24 B 1.00
SetStaticIntField 144.9 ns 2.85 ns 2.67 ns 1.20 0.03 0.0014 24 B 1.00
GetStaticStringField 118.8 ns 2.31 ns 2.16 ns 0.98 0.02 - - 0.00
SetStaticStringField 838.1 ns 14.03 ns 13.13 ns 6.92 0.15 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 157.4 ns 2.82 ns 2.63 ns 1.30 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 342.0 ns 6.52 ns 7.51 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 322.3 ns 4.74 ns 4.44 ns 0.94 0.02 - - NA
InvokeStaticWithFeedback 681.2 ns 4.95 ns 4.63 ns 1.99 0.04 0.0200 344 B NA
InvokeInstanceEmpty 372.4 ns 6.49 ns 6.07 ns 1.09 0.03 - - NA
InvokeInstanceWithFeedback 733.0 ns 10.24 ns 9.58 ns 2.14 0.05 0.0200 344 B NA

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.708 μs 0.0242 μs 0.0227 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,440.4 ns 47.97 ns 44.87 ns 1.00 0.03 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 756.4 ns 6.92 ns 5.77 ns 0.31 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 69,027.7 ns 944.75 ns 883.72 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 755.1 ns 12.77 ns 11.95 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,709,314.6 ns 171,914.71 ns 272,674.96 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 805.5 ns 12.85 ns 12.02 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,278.0 ns 25.26 ns 24.80 ns 0.0057 104 B
PredicateRoundTrip False False True 1,261.0 ns 19.89 ns 18.61 ns 0.0057 104 B
PredicateRoundTrip False True False 1,551.9 ns 30.48 ns 29.93 ns 0.0114 200 B
PredicateRoundTrip False True True 5,339.0 ns 85.95 ns 80.39 ns 0.0458 792 B
PredicateRoundTrip True False False 486.4 ns 9.70 ns 12.26 ns 0.0010 24 B
PredicateRoundTrip True False True 484.5 ns 8.56 ns 7.59 ns 0.0010 24 B
PredicateRoundTrip True True False 757.1 ns 13.30 ns 12.44 ns 0.0067 120 B
PredicateRoundTrip True True True 4,407.2 ns 49.72 ns 46.50 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.73GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 660.22 ns 12.836 ns 15.280 ns 0.0038 80 B
PredicateSustained False False True 667.09 ns 10.684 ns 9.993 ns 0.0038 80 B
PredicateSustained False True False 917.23 ns 12.955 ns 11.484 ns 0.0100 176 B
PredicateSustained False True True 4,629.01 ns 78.029 ns 72.989 ns 0.0400 768 B
PredicateSustained True False False 42.06 ns 0.792 ns 0.814 ns - -
PredicateSustained True False True 42.81 ns 0.783 ns 0.732 ns - -
PredicateSustained True True False 241.24 ns 2.658 ns 2.487 ns 0.0056 96 B
PredicateSustained True True True 3,858.25 ns 60.181 ns 56.293 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 701.4 ns 10.26 ns 9.60 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,803.9 ns 83.97 ns 70.12 ns 11.13 0.18 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,581.3 ns 21.56 ns 20.16 ns 2.25 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,611.9 ns 17.58 ns 16.44 ns 2.30 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,599.0 ns 78.84 ns 61.55 ns 15.11 0.22 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 742.4 ns 14.10 ns 13.84 ns 1.00 0.03 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 601,194.6 ns 3,302.43 ns 2,578.32 ns 810.01 14.92 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,054.9 ns 21.63 ns 20.24 ns 2.77 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,077.9 ns 31.61 ns 29.57 ns 2.80 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 831,847.3 ns 8,850.72 ns 7,845.93 ns 1,120.77 22.55 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 751.9 ns 11.69 ns 10.94 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 72,682,384.0 ns 1,148,138.62 ns 1,073,969.58 ns 96,684.63 1,942.26 1000.0000 857.1429 285.7143 16002870 B 46,519.97
InvokeIntArrayFixed 100000 44,872.0 ns 123.37 ns 109.36 ns 59.69 0.85 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 44,614.8 ns 280.76 ns 248.88 ns 59.35 0.90 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 98,649,227.6 ns 862,060.39 ns 719,859.47 ns 131,226.63 2,068.13 1800.0000 1600.0000 800.0000 27894000 B 81,087.21

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.410 μs 0.0199 μs 0.0186 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.415 μs 0.0161 μs 0.0151 μs 1.00 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.450 μs 0.0222 μs 0.0197 μs 1.03 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 117.3 ns 0.95 ns 0.79 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 148.4 ns 2.28 ns 2.13 ns 1.27 0.02 0.0014 24 B 1.00
GetInstanceStringField 118.5 ns 2.27 ns 2.33 ns 1.01 0.02 - - 0.00
SetInstanceStringField 823.9 ns 2.94 ns 2.45 ns 7.02 0.05 0.0172 288 B 12.00
GetStaticIntField 130.1 ns 2.62 ns 2.45 ns 1.11 0.02 0.0014 24 B 1.00
SetStaticIntField 150.3 ns 2.85 ns 2.67 ns 1.28 0.02 0.0014 24 B 1.00
GetStaticStringField 116.6 ns 2.02 ns 1.89 ns 0.99 0.02 - - 0.00
SetStaticStringField 829.7 ns 11.55 ns 10.80 ns 7.07 0.10 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 160.6 ns 1.95 ns 1.73 ns 1.37 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 341.9 ns 6.44 ns 6.03 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 315.0 ns 6.11 ns 7.73 ns 0.92 0.03 - - NA
InvokeStaticWithFeedback 709.1 ns 7.39 ns 6.55 ns 2.07 0.04 0.0200 344 B NA
InvokeInstanceEmpty 363.7 ns 5.09 ns 4.25 ns 1.06 0.02 - - NA
InvokeInstanceWithFeedback 738.9 ns 14.16 ns 14.54 ns 2.16 0.05 0.0200 344 B NA

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.764 μs 0.0230 μs 0.0215 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,651.5 ns 35.09 ns 32.82 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 780.9 ns 13.25 ns 12.40 ns 0.29 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 73,501.6 ns 801.90 ns 710.87 ns 1.00 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 803.2 ns 13.94 ns 13.04 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,071,447.8 ns 154,979.13 ns 144,967.58 ns 1.000 0.02 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 888.6 ns 9.57 ns 8.48 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,316.7 ns 23.94 ns 22.39 ns 0.0057 104 B
PredicateRoundTrip False False True 1,308.5 ns 12.58 ns 9.82 ns 0.0057 104 B
PredicateRoundTrip False True False 1,655.3 ns 30.78 ns 28.79 ns 0.0114 200 B
PredicateRoundTrip False True True 5,660.1 ns 77.00 ns 72.03 ns 0.0458 792 B
PredicateRoundTrip True False False 519.7 ns 9.32 ns 8.26 ns 0.0010 24 B
PredicateRoundTrip True False True 516.5 ns 9.83 ns 10.09 ns 0.0010 24 B
PredicateRoundTrip True True False 777.4 ns 11.42 ns 9.54 ns 0.0067 120 B
PredicateRoundTrip True True True 4,736.0 ns 45.49 ns 37.99 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.23GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 682.55 ns 13.425 ns 14.365 ns 0.0038 80 B
PredicateSustained False False True 705.31 ns 13.902 ns 14.875 ns 0.0038 80 B
PredicateSustained False True False 924.43 ns 18.170 ns 18.659 ns 0.0100 176 B
PredicateSustained False True True 4,883.58 ns 71.756 ns 67.121 ns 0.0400 768 B
PredicateSustained True False False 44.33 ns 0.852 ns 0.875 ns - -
PredicateSustained True False True 44.23 ns 0.592 ns 0.525 ns - -
PredicateSustained True True False 246.60 ns 1.357 ns 1.269 ns 0.0056 96 B
PredicateSustained True True True 4,091.82 ns 75.956 ns 81.272 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Median Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 374.5 ns 7.44 ns 6.96 ns 371.5 ns 1.00 0.03 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 10 5,046.5 ns 98.02 ns 104.88 ns 5,074.0 ns 13.48 0.36 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 908.7 ns 6.79 ns 6.35 ns 908.3 ns 2.43 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 921.9 ns 8.15 ns 7.22 ns 923.6 ns 2.46 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 6,138.6 ns 81.50 ns 68.05 ns 6,156.8 ns 16.40 0.34 0.2060 - - 3520 B 10.23
InvokeIntParam 1000 392.4 ns 4.81 ns 4.26 ns 392.5 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 1000 399,521.9 ns 2,057.05 ns 1,606.01 ns 399,974.8 ns 1,018.23 11.32 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,464.4 ns 28.99 ns 76.38 ns 1,440.9 ns 3.73 0.20 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,381.4 ns 12.00 ns 10.02 ns 1,379.5 ns 3.52 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 487,162.7 ns 5,302.60 ns 4,427.91 ns 486,814.2 ns 1,241.59 16.90 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 396.9 ns 4.97 ns 3.88 ns 396.0 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 100000 45,201,878.3 ns 486,994.84 ns 406,662.75 ns 45,225,855.1 ns 113,885.65 1,454.13 1083.3333 1000.0000 333.3333 16002280 B 46,518.26
InvokeIntArrayFixed 100000 38,680.0 ns 340.43 ns 284.28 ns 38,740.9 ns 97.45 1.14 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 38,544.4 ns 129.78 ns 108.37 ns 38,559.8 ns 97.11 0.95 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 60,570,512.5 ns 830,806.42 ns 736,488.25 ns 60,405,211.3 ns 152,606.76 2,293.72 1888.8889 1777.7778 777.7778 27895072 B 81,090.33

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 810.7 ns 15.99 ns 14.17 ns 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 839.6 ns 5.02 ns 4.45 ns 1.04 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 841.8 ns 5.63 ns 4.70 ns 1.04 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 71.01 ns 0.591 ns 0.494 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 87.30 ns 1.401 ns 1.242 ns 1.23 0.02 0.0014 24 B 1.00
GetInstanceStringField 78.25 ns 1.208 ns 1.071 ns 1.10 0.02 - - 0.00
SetInstanceStringField 502.66 ns 9.718 ns 8.115 ns 7.08 0.12 0.0172 288 B 12.00
GetStaticIntField 76.28 ns 1.519 ns 1.347 ns 1.07 0.02 0.0014 24 B 1.00
SetStaticIntField 82.40 ns 1.331 ns 1.180 ns 1.16 0.02 0.0014 24 B 1.00
GetStaticStringField 70.28 ns 0.673 ns 0.597 ns 0.99 0.01 - - 0.00
SetStaticStringField 494.18 ns 5.587 ns 5.227 ns 6.96 0.09 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 93.79 ns 0.790 ns 0.739 ns 1.32 0.01 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 219.5 ns 3.60 ns 3.19 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 194.4 ns 2.48 ns 2.32 ns 0.89 0.02 - - NA
InvokeStaticWithFeedback 378.2 ns 5.47 ns 4.85 ns 1.72 0.03 0.0205 344 B NA
InvokeInstanceEmpty 212.8 ns 4.11 ns 4.22 ns 0.97 0.02 - - NA
InvokeInstanceWithFeedback 394.0 ns 5.07 ns 4.24 ns 1.80 0.03 0.0205 344 B NA

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.031 μs 0.0115 μs 0.0096 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,481.5 ns 8.72 ns 7.28 ns 1.00 0.0401 - - 688 B 1.00
InvokeSingleStringPreallocated 10 411.4 ns 4.80 ns 4.93 ns 0.28 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 40,757.4 ns 375.35 ns 332.74 ns 1.00 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 408.6 ns 5.08 ns 4.24 ns 0.01 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 6,109,580.2 ns 64,809.34 ns 54,118.74 ns 1.000 78.1250 78.1250 78.1250 2401001 B 1.000
InvokeSingleStringPreallocated 100000 443.3 ns 5.96 ns 4.66 ns 0.000 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 803.0 ns 7.41 ns 6.57 ns 0.0057 104 B
PredicateRoundTrip False False True 801.8 ns 15.74 ns 14.72 ns 0.0057 104 B
PredicateRoundTrip False True False 965.5 ns 9.70 ns 8.60 ns 0.0114 200 B
PredicateRoundTrip False True True 3,321.6 ns 28.52 ns 23.82 ns 0.0458 792 B
PredicateRoundTrip True False False 229.7 ns 1.75 ns 1.55 ns 0.0014 24 B
PredicateRoundTrip True False True 233.5 ns 2.60 ns 2.17 ns 0.0014 24 B
PredicateRoundTrip True True False 435.0 ns 8.57 ns 7.60 ns 0.0072 120 B
PredicateRoundTrip True True True 2,826.4 ns 11.22 ns 9.95 ns 0.0420 712 B

core-ubuntu-22.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.27GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 402.99 ns 3.812 ns 3.565 ns 0.0046 80 B
PredicateSustained False False True 396.58 ns 5.108 ns 4.528 ns 0.0046 80 B
PredicateSustained False True False 560.83 ns 6.899 ns 6.116 ns 0.0100 176 B
PredicateSustained False True True 2,902.50 ns 25.990 ns 21.702 ns 0.0450 768 B
PredicateSustained True False False 35.38 ns 0.192 ns 0.150 ns - -
PredicateSustained True False True 35.32 ns 0.186 ns 0.174 ns - -
PredicateSustained True True False 154.25 ns 1.957 ns 1.735 ns 0.0056 96 B
PredicateSustained True True True 2,441.58 ns 15.675 ns 13.089 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 762.0 ns 8.00 ns 7.09 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 8,030.8 ns 122.47 ns 114.56 ns 10.54 0.17 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,606.1 ns 14.74 ns 13.06 ns 2.11 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,624.8 ns 14.81 ns 13.13 ns 2.13 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,501.9 ns 117.09 ns 109.52 ns 13.78 0.19 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 782.2 ns 15.04 ns 14.07 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 599,976.0 ns 4,146.93 ns 3,462.88 ns 767.27 14.20 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,336.8 ns 16.19 ns 14.35 ns 2.99 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,349.0 ns 31.60 ns 29.55 ns 3.00 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 855,458.4 ns 10,511.70 ns 9,318.35 ns 1,093.98 22.48 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 720.2 ns 8.76 ns 7.77 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 72,659,555.1 ns 1,229,552.58 ns 1,150,124.25 ns 100,905.48 1,874.83 1000.0000 857.1429 285.7143 16000846 B 46,514.09
InvokeIntArrayFixed 100000 71,052.1 ns 333.93 ns 296.02 ns 98.67 1.11 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 71,100.7 ns 181.53 ns 160.92 ns 98.74 1.06 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 100,555,679.8 ns 980,489.06 ns 869,178.01 ns 139,646.04 1,873.56 2000.0000 1800.0000 1000.0000 27895851 B 81,092.59

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.456 μs 0.0125 μs 0.0105 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.486 μs 0.0178 μs 0.0158 μs 1.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.474 μs 0.0169 μs 0.0158 μs 1.01 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 124.2 ns 2.37 ns 2.22 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 145.4 ns 2.14 ns 2.00 ns 1.17 0.03 0.0014 24 B 1.00
GetInstanceStringField 117.4 ns 0.77 ns 0.64 ns 0.95 0.02 - - 0.00
SetInstanceStringField 858.9 ns 8.39 ns 7.44 ns 6.91 0.13 0.0172 288 B 12.00
GetStaticIntField 127.3 ns 2.43 ns 2.28 ns 1.03 0.02 0.0014 24 B 1.00
SetStaticIntField 142.2 ns 2.86 ns 2.80 ns 1.15 0.03 0.0014 24 B 1.00
GetStaticStringField 115.6 ns 1.59 ns 1.49 ns 0.93 0.02 - - 0.00
SetStaticStringField 859.5 ns 9.12 ns 7.61 ns 6.92 0.13 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 158.4 ns 2.42 ns 2.26 ns 1.27 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 358.6 ns 3.53 ns 2.95 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 308.5 ns 5.78 ns 5.93 ns 0.86 0.02 - - NA
InvokeStaticWithFeedback 711.6 ns 10.62 ns 9.42 ns 1.98 0.03 0.0200 344 B NA
InvokeInstanceEmpty 357.2 ns 6.50 ns 6.08 ns 1.00 0.02 - - NA
InvokeInstanceWithFeedback 707.2 ns 12.78 ns 11.96 ns 1.97 0.04 0.0200 344 B NA

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.767 μs 0.0220 μs 0.0206 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,452.0 ns 29.65 ns 27.73 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 755.9 ns 9.09 ns 8.06 ns 0.31 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 66,338.6 ns 919.22 ns 717.66 ns 1.00 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 756.2 ns 11.96 ns 10.60 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,419,401.7 ns 164,345.83 ns 240,896.00 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 815.5 ns 8.57 ns 7.59 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,334.5 ns 23.85 ns 21.15 ns 0.0057 104 B
PredicateRoundTrip False False True 1,314.4 ns 25.34 ns 28.17 ns 0.0057 104 B
PredicateRoundTrip False True False 1,615.8 ns 28.04 ns 26.23 ns 0.0114 200 B
PredicateRoundTrip False True True 5,542.2 ns 56.70 ns 53.03 ns 0.0458 792 B
PredicateRoundTrip True False False 505.0 ns 10.03 ns 10.30 ns 0.0010 24 B
PredicateRoundTrip True False True 467.5 ns 2.31 ns 1.81 ns 0.0010 24 B
PredicateRoundTrip True True False 786.8 ns 14.50 ns 13.56 ns 0.0067 120 B
PredicateRoundTrip True True True 4,715.4 ns 84.25 ns 78.81 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.88GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 715.17 ns 13.593 ns 14.544 ns 0.0038 80 B
PredicateSustained False False True 692.16 ns 13.451 ns 12.582 ns 0.0038 80 B
PredicateSustained False True False 990.96 ns 15.196 ns 14.214 ns 0.0100 176 B
PredicateSustained False True True 4,862.34 ns 89.912 ns 84.104 ns 0.0400 768 B
PredicateSustained True False False 41.60 ns 0.500 ns 0.418 ns - -
PredicateSustained True False True 42.85 ns 0.846 ns 1.039 ns - -
PredicateSustained True True False 234.21 ns 0.719 ns 0.600 ns 0.0056 96 B
PredicateSustained True True True 4,026.65 ns 73.212 ns 68.483 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 534.7 ns 3.74 ns 2.92 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,099.6 ns 59.47 ns 49.66 ns 11.41 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,264.1 ns 11.70 ns 10.94 ns 2.36 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,169.3 ns 12.28 ns 11.48 ns 2.19 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,064.7 ns 95.55 ns 89.37 ns 15.08 0.18 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 528.6 ns 8.69 ns 8.12 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 456,035.4 ns 3,605.04 ns 3,195.77 ns 862.87 13.95 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,908.8 ns 11.67 ns 10.34 ns 3.61 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,901.6 ns 11.02 ns 10.31 ns 3.60 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 648,745.4 ns 6,217.31 ns 5,815.67 ns 1,227.50 20.94 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 504.4 ns 6.97 ns 6.18 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 55,603,387.4 ns 961,077.05 ns 898,992.07 ns 110,249.52 2,155.45 1111.1111 1000.0000 333.3333 16001558 B 46,516.16
InvokeIntArrayFixed 100000 51,597.0 ns 221.91 ns 207.57 ns 102.31 1.26 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 51,008.3 ns 112.09 ns 99.37 ns 101.14 1.20 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 83,061,018.1 ns 879,745.68 ns 822,914.65 ns 164,692.07 2,492.86 2000.0000 1857.1429 857.1429 27894688 B 81,089.21

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.052 μs 0.0148 μs 0.0139 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.061 μs 0.0117 μs 0.0098 μs 1.01 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.065 μs 0.0138 μs 0.0129 μs 1.01 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.11 ns 1.042 ns 0.975 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 122.78 ns 2.047 ns 1.915 ns 1.15 0.02 0.0014 24 B 1.00
GetInstanceStringField 101.24 ns 1.946 ns 1.820 ns 0.95 0.02 - - 0.00
SetInstanceStringField 608.93 ns 5.969 ns 5.291 ns 5.69 0.07 0.0172 288 B 12.00
GetStaticIntField 107.44 ns 1.260 ns 1.179 ns 1.00 0.01 0.0014 24 B 1.00
SetStaticIntField 120.05 ns 1.771 ns 1.657 ns 1.12 0.02 0.0014 24 B 1.00
GetStaticStringField 98.37 ns 0.734 ns 0.651 ns 0.92 0.01 - - 0.00
SetStaticStringField 620.28 ns 6.519 ns 6.098 ns 5.79 0.08 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 134.12 ns 1.312 ns 1.227 ns 1.25 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 259.1 ns 4.12 ns 3.85 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 249.0 ns 3.93 ns 3.68 ns 0.96 0.02 - - NA
InvokeStaticWithFeedback 514.6 ns 8.94 ns 8.36 ns 1.99 0.04 0.0200 344 B NA
InvokeInstanceEmpty 266.8 ns 3.43 ns 3.21 ns 1.03 0.02 - - NA
InvokeInstanceWithFeedback 519.0 ns 4.13 ns 3.45 ns 2.00 0.03 0.0200 344 B NA

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.350 μs 0.0190 μs 0.0169 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,881.2 ns 15.10 ns 12.61 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 559.7 ns 6.51 ns 5.43 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 54,516.1 ns 749.31 ns 625.71 ns 1.00 0.02 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 577.8 ns 9.19 ns 8.60 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,604,295.3 ns 128,409.82 ns 120,114.63 ns 1.000 0.02 78.1250 78.1250 78.1250 2400906 B 1.000
InvokeSingleStringPreallocated 100000 622.3 ns 8.66 ns 8.10 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 972.2 ns 8.46 ns 7.50 ns 0.0057 104 B
PredicateRoundTrip False False True 991.1 ns 13.11 ns 12.27 ns 0.0057 104 B
PredicateRoundTrip False True False 1,232.2 ns 7.97 ns 6.22 ns 0.0114 200 B
PredicateRoundTrip False True True 4,096.1 ns 29.96 ns 25.02 ns 0.0458 792 B
PredicateRoundTrip True False False 355.3 ns 5.98 ns 5.59 ns 0.0014 24 B
PredicateRoundTrip True False True 355.6 ns 6.50 ns 6.08 ns 0.0014 24 B
PredicateRoundTrip True True False 586.4 ns 10.60 ns 9.91 ns 0.0067 120 B
PredicateRoundTrip True True True 3,512.1 ns 45.05 ns 42.14 ns 0.0420 712 B

core-ubuntu-22.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 532.84 ns 5.570 ns 5.210 ns 0.0040 80 B
PredicateSustained False False True 532.56 ns 10.265 ns 10.541 ns 0.0044 80 B
PredicateSustained False True False 680.95 ns 11.082 ns 10.366 ns 0.0100 176 B
PredicateSustained False True True 3,577.33 ns 32.541 ns 30.439 ns 0.0400 768 B
PredicateSustained True False False 35.16 ns 0.459 ns 0.407 ns - -
PredicateSustained True False True 36.43 ns 0.489 ns 0.458 ns - -
PredicateSustained True True False 184.88 ns 1.721 ns 1.609 ns 0.0056 96 B
PredicateSustained True True True 2,951.64 ns 33.404 ns 29.612 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 712.0 ns 6.11 ns 5.10 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,896.3 ns 117.04 ns 103.75 ns 11.09 0.16 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,542.8 ns 9.76 ns 8.66 ns 2.17 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,532.0 ns 12.48 ns 11.67 ns 2.15 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,630.7 ns 122.26 ns 108.38 ns 14.93 0.18 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 730.1 ns 11.23 ns 10.51 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 604,572.8 ns 10,577.56 ns 9,894.26 ns 828.27 17.45 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,253.7 ns 22.24 ns 19.71 ns 3.09 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,308.2 ns 18.94 ns 17.72 ns 3.16 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 845,354.4 ns 8,854.59 ns 7,393.98 ns 1,158.15 18.81 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 727.1 ns 9.68 ns 9.06 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 71,991,766.6 ns 869,564.36 ns 813,391.04 ns 99,021.38 1,611.56 1000.0000 857.1429 285.7143 16001629 B 46,516.36
InvokeIntArrayFixed 100000 72,211.3 ns 290.84 ns 257.82 ns 99.32 1.25 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 73,042.3 ns 383.76 ns 358.97 ns 100.47 1.30 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 102,869,987.3 ns 1,389,350.74 ns 1,299,599.55 ns 141,492.95 2,429.52 1800.0000 1600.0000 800.0000 27895139 B 81,090.52

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.423 μs 0.0244 μs 0.0228 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.424 μs 0.0141 μs 0.0125 μs 1.00 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.419 μs 0.0124 μs 0.0110 μs 1.00 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 118.1 ns 0.48 ns 0.37 ns 1.00 0.00 0.0014 24 B 1.00
SetInstanceIntField 148.7 ns 1.79 ns 1.67 ns 1.26 0.01 0.0014 24 B 1.00
GetInstanceStringField 120.3 ns 2.04 ns 1.91 ns 1.02 0.02 - - 0.00
SetInstanceStringField 809.4 ns 11.25 ns 10.52 ns 6.85 0.09 0.0172 288 B 12.00
GetStaticIntField 124.9 ns 1.87 ns 1.75 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 142.5 ns 1.61 ns 1.43 ns 1.21 0.01 0.0014 24 B 1.00
GetStaticStringField 111.2 ns 0.84 ns 0.78 ns 0.94 0.01 - - 0.00
SetStaticStringField 818.1 ns 8.72 ns 8.15 ns 6.92 0.07 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 159.6 ns 1.81 ns 1.51 ns 1.35 0.01 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 403.6 ns 1.49 ns 1.32 ns 1.00 0.00 - - NA
InvokeStaticEmptyWithSignature 312.5 ns 1.99 ns 1.77 ns 0.77 0.00 - - NA
InvokeStaticWithFeedback 711.1 ns 7.50 ns 6.26 ns 1.76 0.02 0.0200 344 B NA
InvokeInstanceEmpty 361.4 ns 3.96 ns 3.51 ns 0.90 0.01 - - NA
InvokeInstanceWithFeedback 720.9 ns 8.70 ns 8.14 ns 1.79 0.02 0.0200 344 B NA

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.754 μs 0.0131 μs 0.0122 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,549.9 ns 32.33 ns 30.24 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 780.9 ns 7.32 ns 6.49 ns 0.31 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 73,905.7 ns 715.24 ns 669.04 ns 1.00 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 775.7 ns 7.24 ns 6.42 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,528,594.4 ns 158,572.61 ns 140,570.49 ns 1.000 0.02 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 864.3 ns 12.88 ns 12.04 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,262.8 ns 15.27 ns 14.28 ns 0.0057 104 B
PredicateRoundTrip False False True 1,258.7 ns 22.02 ns 20.60 ns 0.0057 104 B
PredicateRoundTrip False True False 1,554.0 ns 16.19 ns 12.64 ns 0.0114 200 B
PredicateRoundTrip False True True 5,408.9 ns 52.46 ns 46.50 ns 0.0458 792 B
PredicateRoundTrip True False False 516.0 ns 10.16 ns 10.43 ns 0.0010 24 B
PredicateRoundTrip True False True 511.8 ns 8.46 ns 7.91 ns 0.0010 24 B
PredicateRoundTrip True True False 786.2 ns 6.37 ns 5.65 ns 0.0067 120 B
PredicateRoundTrip True True True 4,607.8 ns 53.03 ns 49.60 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.81GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 681.61 ns 6.421 ns 6.006 ns 0.0038 80 B
PredicateSustained False False True 661.91 ns 8.212 ns 7.682 ns 0.0038 80 B
PredicateSustained False True False 923.42 ns 17.164 ns 16.857 ns 0.0100 176 B
PredicateSustained False True True 4,739.71 ns 39.459 ns 36.910 ns 0.0400 768 B
PredicateSustained True False False 43.78 ns 0.690 ns 0.646 ns - -
PredicateSustained True False True 44.02 ns 0.472 ns 0.441 ns - -
PredicateSustained True True False 259.81 ns 4.067 ns 3.804 ns 0.0056 96 B
PredicateSustained True True True 3,998.91 ns 32.266 ns 28.603 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 532.9 ns 9.67 ns 9.04 ns 1.00 0.02 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 10 6,983.7 ns 83.21 ns 77.84 ns 13.11 0.26 0.0229 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,188.8 ns 14.52 ns 13.58 ns 2.23 0.04 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,204.1 ns 11.03 ns 10.32 ns 2.26 0.04 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,183.7 ns 116.30 ns 103.10 ns 17.24 0.34 0.0305 - - 3520 B 10.23
InvokeIntParam 1000 541.6 ns 6.93 ns 6.49 ns 1.00 0.02 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 1000 576,678.7 ns 6,006.43 ns 5,618.42 ns 1,064.85 16.02 0.9766 - - 160448 B 466.42
InvokeIntArrayFixed 1000 2,030.8 ns 30.98 ns 28.98 ns 3.75 0.07 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,983.6 ns 38.26 ns 48.39 ns 3.66 0.10 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 708,730.0 ns 13,139.40 ns 13,493.20 ns 1,308.69 28.67 2.9297 0.9766 - 265888 B 772.93
InvokeIntParam 100000 525.6 ns 6.85 ns 6.41 ns 1.00 0.02 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,456,362.4 ns 613,877.12 ns 574,221.04 ns 111,238.97 1,686.99 333.3333 222.2222 222.2222 16001780 B 46,516.80
InvokeIntArrayFixed 100000 77,612.2 ns 675.87 ns 632.21 ns 147.69 2.10 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 76,591.8 ns 615.30 ns 545.45 ns 145.75 1.99 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 82,321,681.6 ns 1,505,018.19 ns 1,407,794.95 ns 156,653.25 3,186.37 1000.0000 857.1429 857.1429 27895513 B 81,091.61

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.259 μs 0.0145 μs 0.0129 μs 1.00 0.01 0.0038 360 B 1.00
NewWithSignature 1.144 μs 0.0192 μs 0.0170 μs 0.91 0.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.322 μs 0.0237 μs 0.0233 μs 1.05 0.02 0.0038 360 B 1.00

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 97.75 ns 1.293 ns 1.209 ns 1.00 0.02 0.0002 24 B 1.00
SetInstanceIntField 117.65 ns 2.289 ns 2.450 ns 1.20 0.03 0.0002 24 B 1.00
GetInstanceStringField 100.30 ns 1.006 ns 0.941 ns 1.03 0.02 - - 0.00
SetInstanceStringField 753.42 ns 14.914 ns 13.951 ns 7.71 0.17 0.0029 288 B 12.00
GetStaticIntField 102.75 ns 0.600 ns 0.562 ns 1.05 0.01 0.0002 24 B 1.00
SetStaticIntField 118.48 ns 2.426 ns 2.382 ns 1.21 0.03 0.0002 24 B 1.00
GetStaticStringField 96.06 ns 1.576 ns 1.474 ns 0.98 0.02 - - 0.00
SetStaticStringField 686.74 ns 9.164 ns 8.572 ns 7.03 0.12 0.0029 288 B 12.00
GetInstanceIntFieldGeneric 125.27 ns 2.034 ns 1.903 ns 1.28 0.02 0.0002 24 B 1.00

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 259.6 ns 3.22 ns 3.01 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 236.7 ns 1.57 ns 1.47 ns 0.91 0.01 - - NA
InvokeStaticWithFeedback 536.5 ns 9.53 ns 8.91 ns 2.07 0.04 0.0038 344 B NA
InvokeInstanceEmpty 270.1 ns 3.30 ns 2.75 ns 1.04 0.02 - - NA
InvokeInstanceWithFeedback 557.0 ns 4.64 ns 4.34 ns 2.15 0.03 0.0038 344 B NA

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.401 μs 0.0222 μs 0.0196 μs 1.00 0.02 0.0076 712 B 1.00

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,948.5 ns 38.85 ns 43.19 ns 1.00 0.03 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 560.7 ns 10.97 ns 10.26 ns 0.29 0.01 0.0038 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,635.9 ns 820.13 ns 767.15 ns 1.000 0.02 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 576.9 ns 8.18 ns 7.66 ns 0.010 0.00 0.0038 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 6,704,802.7 ns 133,374.98 ns 215,375.75 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 606.7 ns 7.03 ns 6.58 ns 0.000 0.00 0.0038 - - 320 B 0.000

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 945.8 ns 10.54 ns 9.86 ns - 104 B
PredicateRoundTrip False False True 947.6 ns 9.21 ns 8.61 ns - 104 B
PredicateRoundTrip False True False 1,133.9 ns 4.04 ns 3.37 ns 0.0019 200 B
PredicateRoundTrip False True True 3,873.0 ns 34.97 ns 32.71 ns 0.0076 792 B
PredicateRoundTrip True False False 344.7 ns 4.24 ns 3.76 ns - 24 B
PredicateRoundTrip True False True 349.9 ns 3.53 ns 3.30 ns - 24 B
PredicateRoundTrip True True False 557.7 ns 6.10 ns 5.71 ns 0.0010 120 B
PredicateRoundTrip True True True 3,368.2 ns 35.01 ns 32.75 ns 0.0076 712 B

core-ubuntu-22.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
INTEL XEON PLATINUM 8573C 3.17GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 552.01 ns 4.087 ns 3.413 ns - 80 B
PredicateSustained False False True 542.17 ns 5.867 ns 5.488 ns - 80 B
PredicateSustained False True False 757.15 ns 8.496 ns 7.947 ns 0.0014 176 B
PredicateSustained False True True 3,430.67 ns 27.541 ns 24.415 ns - 768 B
PredicateSustained True False False 51.12 ns 0.982 ns 1.694 ns - -
PredicateSustained True False True 51.35 ns 1.012 ns 1.851 ns - -
PredicateSustained True True False 205.82 ns 1.071 ns 0.894 ns 0.0009 96 B
PredicateSustained True True True 3,023.71 ns 26.698 ns 20.844 ns 0.0050 688 B

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 738.8 ns 13.61 ns 12.73 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,736.6 ns 130.80 ns 122.35 ns 10.47 0.24 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,500.8 ns 17.83 ns 16.68 ns 2.03 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,490.2 ns 15.11 ns 14.13 ns 2.02 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,103.0 ns 68.23 ns 53.27 ns 13.68 0.24 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 669.7 ns 6.25 ns 5.54 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 587,453.9 ns 8,023.74 ns 7,112.84 ns 877.21 12.40 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,333.8 ns 12.51 ns 11.09 ns 3.48 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,342.0 ns 20.78 ns 19.44 ns 3.50 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 807,673.0 ns 8,483.30 ns 7,935.28 ns 1,206.04 14.95 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 669.2 ns 5.33 ns 4.45 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 70,682,288.0 ns 1,312,747.57 ns 1,227,944.89 ns 105,625.13 1,902.91 1000.0000 857.1429 285.7143 16002101 B 46,517.74
InvokeIntArrayFixed 100000 62,544.9 ns 188.62 ns 167.20 ns 93.46 0.65 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 62,473.0 ns 165.11 ns 146.37 ns 93.36 0.64 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 100,282,797.5 ns 1,925,650.39 ns 1,801,254.57 ns 149,859.09 2,779.84 1800.0000 1600.0000 800.0000 27893510 B 81,085.78

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.369 μs 0.0137 μs 0.0128 μs 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 1.391 μs 0.0191 μs 0.0179 μs 1.02 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.374 μs 0.0199 μs 0.0186 μs 1.00 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 138.1 ns 2.10 ns 1.96 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 156.3 ns 2.33 ns 2.18 ns 1.13 0.02 0.0014 24 B 1.00
GetInstanceStringField 136.0 ns 1.83 ns 1.71 ns 0.98 0.02 - - 0.00
SetInstanceStringField 803.5 ns 9.64 ns 9.02 ns 5.82 0.10 0.0172 288 B 12.00
GetStaticIntField 136.2 ns 1.22 ns 1.08 ns 0.99 0.02 0.0014 24 B 1.00
SetStaticIntField 157.8 ns 1.84 ns 1.72 ns 1.14 0.02 0.0014 24 B 1.00
GetStaticStringField 129.7 ns 1.90 ns 1.78 ns 0.94 0.02 - - 0.00
SetStaticStringField 789.4 ns 10.37 ns 9.70 ns 5.72 0.10 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 174.7 ns 2.45 ns 2.29 ns 1.27 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 340.6 ns 6.86 ns 6.42 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 330.4 ns 4.35 ns 4.07 ns 0.97 0.02 - - NA
InvokeStaticWithFeedback 671.2 ns 6.57 ns 6.14 ns 1.97 0.04 0.0200 344 B NA
InvokeInstanceEmpty 364.7 ns 6.82 ns 6.38 ns 1.07 0.03 - - NA
InvokeInstanceWithFeedback 678.7 ns 8.78 ns 8.21 ns 1.99 0.04 0.0200 344 B NA

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.714 μs 0.0123 μs 0.0102 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,449.9 ns 46.62 ns 45.79 ns 1.00 0.03 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 730.8 ns 11.32 ns 10.59 ns 0.30 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 70,393.5 ns 1,035.22 ns 968.34 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 721.7 ns 11.85 ns 11.08 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,922,030.9 ns 172,532.29 ns 218,198.12 ns 1.001 0.03 78.1250 78.1250 78.1250 2400726 B 1.000
InvokeSingleStringPreallocated 100000 762.7 ns 6.81 ns 6.04 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,269.6 ns 20.06 ns 18.76 ns 0.0057 104 B
PredicateRoundTrip False False True 1,271.2 ns 20.04 ns 18.74 ns 0.0057 104 B
PredicateRoundTrip False True False 1,573.6 ns 11.14 ns 10.42 ns 0.0114 200 B
PredicateRoundTrip False True True 5,292.4 ns 54.96 ns 51.41 ns 0.0458 792 B
PredicateRoundTrip True False False 488.9 ns 9.51 ns 8.89 ns 0.0010 24 B
PredicateRoundTrip True False True 490.9 ns 9.35 ns 9.18 ns 0.0010 24 B
PredicateRoundTrip True True False 796.4 ns 6.98 ns 6.53 ns 0.0067 120 B
PredicateRoundTrip True True True 4,541.0 ns 23.08 ns 19.27 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 657.10 ns 13.087 ns 13.439 ns 0.0038 80 B
PredicateSustained False False True 661.13 ns 12.394 ns 12.173 ns 0.0038 80 B
PredicateSustained False True False 893.42 ns 11.619 ns 10.868 ns 0.0100 176 B
PredicateSustained False True True 4,552.49 ns 52.708 ns 49.303 ns 0.0400 768 B
PredicateSustained True False False 47.14 ns 0.557 ns 0.521 ns - -
PredicateSustained True False True 45.76 ns 0.477 ns 0.423 ns - -
PredicateSustained True True False 242.32 ns 2.673 ns 2.500 ns 0.0056 96 B
PredicateSustained True True True 3,859.75 ns 52.539 ns 49.145 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 717.3 ns 7.57 ns 6.32 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,539.5 ns 53.74 ns 44.88 ns 10.51 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,572.7 ns 18.61 ns 16.50 ns 2.19 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,573.7 ns 22.99 ns 21.50 ns 2.19 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,189.6 ns 190.77 ns 178.44 ns 14.21 0.27 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 731.2 ns 12.36 ns 11.57 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 581,243.0 ns 8,495.92 ns 7,947.09 ns 795.12 15.99 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,269.0 ns 24.77 ns 23.17 ns 3.10 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,275.3 ns 22.13 ns 20.70 ns 3.11 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 832,220.1 ns 11,794.77 ns 10,455.76 ns 1,138.45 22.10 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 751.8 ns 11.10 ns 10.39 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 69,190,572.3 ns 678,217.29 ns 601,221.97 ns 92,049.27 1,447.36 1000.0000 857.1429 285.7143 16002139 B 46,517.85
InvokeIntArrayFixed 100000 71,483.2 ns 247.67 ns 231.67 ns 95.10 1.30 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 71,501.1 ns 143.53 ns 112.06 ns 95.12 1.27 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 100,649,943.6 ns 1,862,270.25 ns 1,741,968.75 ns 133,901.97 2,864.33 1800.0000 1600.0000 800.0000 27894251 B 81,087.94

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.471 μs 0.0246 μs 0.0219 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.449 μs 0.0131 μs 0.0122 μs 0.99 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.461 μs 0.0222 μs 0.0208 μs 0.99 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 118.4 ns 2.30 ns 2.65 ns 1.00 0.03 0.0014 24 B 1.00
SetInstanceIntField 139.6 ns 2.80 ns 3.54 ns 1.18 0.04 0.0014 24 B 1.00
GetInstanceStringField 117.7 ns 2.39 ns 2.23 ns 1.00 0.03 - - 0.00
SetInstanceStringField 803.3 ns 4.74 ns 3.96 ns 6.79 0.15 0.0172 288 B 12.00
GetStaticIntField 127.6 ns 1.72 ns 1.34 ns 1.08 0.03 0.0014 24 B 1.00
SetStaticIntField 144.1 ns 2.52 ns 2.36 ns 1.22 0.03 0.0014 24 B 1.00
GetStaticStringField 116.3 ns 2.20 ns 2.05 ns 0.98 0.03 - - 0.00
SetStaticStringField 800.6 ns 15.03 ns 14.76 ns 6.77 0.19 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 153.7 ns 2.93 ns 2.74 ns 1.30 0.04 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 365.1 ns 5.92 ns 5.54 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 315.8 ns 2.91 ns 2.58 ns 0.87 0.01 - - NA
InvokeStaticWithFeedback 698.4 ns 11.24 ns 9.39 ns 1.91 0.04 0.0200 344 B NA
InvokeInstanceEmpty 367.1 ns 7.13 ns 7.92 ns 1.01 0.03 - - NA
InvokeInstanceWithFeedback 726.0 ns 13.75 ns 12.86 ns 1.99 0.04 0.0200 344 B NA

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.734 μs 0.0237 μs 0.0222 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,575.5 ns 48.35 ns 47.49 ns 1.00 0.03 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 773.8 ns 12.90 ns 11.43 ns 0.30 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 73,161.0 ns 1,252.72 ns 1,171.79 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 773.0 ns 14.89 ns 13.93 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,547,286.0 ns 168,558.23 ns 180,355.42 ns 1.000 0.03 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 861.5 ns 14.23 ns 13.32 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,294.0 ns 25.44 ns 32.18 ns 0.0057 104 B
PredicateRoundTrip False False True 1,393.6 ns 21.91 ns 20.49 ns 0.0057 104 B
PredicateRoundTrip False True False 1,622.2 ns 14.43 ns 11.26 ns 0.0114 200 B
PredicateRoundTrip False True True 5,535.5 ns 93.82 ns 87.76 ns 0.0458 792 B
PredicateRoundTrip True False False 509.3 ns 7.35 ns 6.88 ns 0.0010 24 B
PredicateRoundTrip True False True 531.0 ns 7.80 ns 7.30 ns 0.0010 24 B
PredicateRoundTrip True True False 769.5 ns 5.77 ns 4.82 ns 0.0067 120 B
PredicateRoundTrip True True True 4,690.5 ns 77.45 ns 72.45 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 677.45 ns 10.681 ns 9.468 ns 0.0038 80 B
PredicateSustained False False True 669.10 ns 12.933 ns 12.098 ns 0.0038 80 B
PredicateSustained False True False 936.90 ns 11.318 ns 10.587 ns 0.0100 176 B
PredicateSustained False True True 4,870.76 ns 70.610 ns 66.048 ns 0.0400 768 B
PredicateSustained True False False 44.43 ns 0.807 ns 0.755 ns - -
PredicateSustained True False True 43.96 ns 0.717 ns 0.671 ns - -
PredicateSustained True True False 236.91 ns 2.299 ns 2.151 ns 0.0056 96 B
PredicateSustained True True True 3,997.92 ns 56.266 ns 52.632 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 752.2 ns 12.39 ns 11.59 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 8,452.7 ns 110.08 ns 97.58 ns 11.24 0.21 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,661.0 ns 17.74 ns 16.59 ns 2.21 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,687.7 ns 17.79 ns 15.77 ns 2.24 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,961.0 ns 110.93 ns 103.77 ns 14.58 0.25 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 751.8 ns 6.04 ns 5.05 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 653,354.0 ns 8,799.30 ns 8,230.87 ns 869.07 12.00 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,397.0 ns 23.37 ns 21.86 ns 3.19 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,400.1 ns 27.00 ns 25.26 ns 3.19 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 853,073.6 ns 8,929.13 ns 7,915.45 ns 1,134.72 12.54 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 759.2 ns 4.16 ns 3.47 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 80,600,980.6 ns 1,467,513.95 ns 1,372,713.46 ns 106,162.57 1,812.07 833.3333 666.6667 166.6667 16001075 B 46,514.75
InvokeIntArrayFixed 100000 71,213.4 ns 358.10 ns 317.45 ns 93.80 0.58 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 72,753.4 ns 530.64 ns 470.40 ns 95.83 0.73 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 104,613,730.1 ns 1,178,163.68 ns 1,102,055.04 ns 137,790.66 1,530.28 1800.0000 1600.0000 800.0000 27894610 B 81,088.98

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.484 μs 0.0131 μs 0.0109 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.520 μs 0.0146 μs 0.0137 μs 1.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.509 μs 0.0164 μs 0.0145 μs 1.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 125.2 ns 1.59 ns 1.41 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 157.5 ns 1.41 ns 1.25 ns 1.26 0.02 0.0014 24 B 1.00
GetInstanceStringField 129.7 ns 1.19 ns 1.05 ns 1.04 0.01 - - 0.00
SetInstanceStringField 961.0 ns 13.28 ns 12.42 ns 7.68 0.13 0.0172 288 B 12.00
GetStaticIntField 139.0 ns 2.80 ns 2.62 ns 1.11 0.02 0.0014 24 B 1.00
SetStaticIntField 155.8 ns 2.33 ns 2.18 ns 1.24 0.02 0.0014 24 B 1.00
GetStaticStringField 128.8 ns 2.21 ns 2.07 ns 1.03 0.02 - - 0.00
SetStaticStringField 916.5 ns 7.48 ns 6.99 ns 7.32 0.10 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 161.7 ns 3.28 ns 3.06 ns 1.29 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 424.6 ns 8.20 ns 8.77 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 394.6 ns 7.61 ns 7.11 ns 0.93 0.02 - - NA
InvokeStaticWithFeedback 742.0 ns 12.57 ns 11.75 ns 1.75 0.04 0.0200 344 B NA
InvokeInstanceEmpty 475.3 ns 9.17 ns 11.26 ns 1.12 0.03 - - NA
InvokeInstanceWithFeedback 742.8 ns 14.01 ns 13.76 ns 1.75 0.05 0.0200 344 B NA

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.824 μs 0.0159 μs 0.0124 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,627.0 ns 37.26 ns 34.85 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 793.1 ns 7.83 ns 6.94 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 73,583.3 ns 1,384.79 ns 1,360.05 ns 1.00 0.03 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 777.8 ns 4.69 ns 3.66 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,045,988.9 ns 166,228.44 ns 233,029.08 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 843.0 ns 14.47 ns 13.54 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,451.6 ns 25.67 ns 24.01 ns 0.0057 104 B
PredicateRoundTrip False False True 1,403.1 ns 23.77 ns 22.24 ns 0.0057 104 B
PredicateRoundTrip False True False 1,695.2 ns 14.32 ns 12.70 ns 0.0114 200 B
PredicateRoundTrip False True True 5,924.1 ns 39.52 ns 33.00 ns 0.0458 792 B
PredicateRoundTrip True False False 527.9 ns 9.27 ns 8.67 ns 0.0010 24 B
PredicateRoundTrip True False True 525.4 ns 4.91 ns 4.36 ns 0.0010 24 B
PredicateRoundTrip True True False 790.0 ns 9.26 ns 8.66 ns 0.0067 120 B
PredicateRoundTrip True True True 5,049.1 ns 76.67 ns 71.71 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.02GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 755.85 ns 13.413 ns 12.547 ns 0.0043 80 B
PredicateSustained False False True 764.64 ns 15.147 ns 16.207 ns 0.0043 80 B
PredicateSustained False True False 1,050.93 ns 20.433 ns 20.068 ns 0.0100 176 B
PredicateSustained False True True 5,281.62 ns 89.276 ns 83.509 ns 0.0400 768 B
PredicateSustained True False False 44.66 ns 0.613 ns 0.573 ns - -
PredicateSustained True False True 43.40 ns 0.511 ns 0.478 ns - -
PredicateSustained True True False 248.10 ns 1.808 ns 1.691 ns 0.0056 96 B
PredicateSustained True True True 4,342.31 ns 58.991 ns 55.180 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 383.3 ns 7.27 ns 8.08 ns 1.00 0.03 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 10 4,675.9 ns 89.77 ns 83.98 ns 12.20 0.33 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 914.1 ns 17.89 ns 17.57 ns 2.39 0.07 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 895.8 ns 15.11 ns 12.62 ns 2.34 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 6,096.7 ns 117.49 ns 120.65 ns 15.91 0.44 0.2060 - - 3520 B 10.23
InvokeIntParam 1000 373.8 ns 5.12 ns 4.00 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 1000 349,708.7 ns 6,890.57 ns 6,445.45 ns 935.63 19.27 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,312.3 ns 16.35 ns 15.30 ns 3.51 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,345.3 ns 25.11 ns 22.26 ns 3.60 0.07 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 476,032.4 ns 9,128.43 ns 9,374.22 ns 1,273.60 27.67 15.6250 7.3242 - 265888 B 772.93
InvokeIntParam 100000 372.3 ns 5.84 ns 5.46 ns 1.00 0.02 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 100000 40,047,875.3 ns 739,695.56 ns 691,911.69 ns 107,594.37 2,354.72 1076.9231 923.0769 307.6923 16001571 B 46,516.19
InvokeIntArrayFixed 100000 38,269.6 ns 571.48 ns 477.21 ns 102.82 1.91 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 38,435.5 ns 339.24 ns 317.33 ns 103.26 1.67 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 57,929,649.9 ns 586,621.44 ns 520,024.62 ns 155,636.32 2,577.78 1888.8889 1777.7778 777.7778 27895396 B 81,091.27

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 828.3 ns 13.52 ns 11.99 ns 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 833.2 ns 8.83 ns 7.83 ns 1.01 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 818.1 ns 13.02 ns 12.18 ns 0.99 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 67.19 ns 0.652 ns 0.610 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 78.44 ns 0.812 ns 0.634 ns 1.17 0.01 0.0014 24 B 1.00
GetInstanceStringField 69.64 ns 1.390 ns 1.545 ns 1.04 0.02 - - 0.00
SetInstanceStringField 484.31 ns 4.343 ns 3.627 ns 7.21 0.08 0.0172 288 B 12.00
GetStaticIntField 73.18 ns 0.933 ns 0.779 ns 1.09 0.01 0.0014 24 B 1.00
SetStaticIntField 79.57 ns 1.121 ns 1.048 ns 1.18 0.02 0.0014 24 B 1.00
GetStaticStringField 65.93 ns 0.395 ns 0.350 ns 0.98 0.01 - - 0.00
SetStaticStringField 486.99 ns 6.439 ns 6.023 ns 7.25 0.11 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 83.13 ns 0.626 ns 0.555 ns 1.24 0.01 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 178.5 ns 1.49 ns 1.32 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 162.6 ns 2.58 ns 2.41 ns 0.91 0.01 - - NA
InvokeStaticWithFeedback 373.9 ns 6.25 ns 5.54 ns 2.09 0.03 0.0205 344 B NA
InvokeInstanceEmpty 170.6 ns 0.91 ns 0.76 ns 0.96 0.01 - - NA
InvokeInstanceWithFeedback 388.7 ns 4.23 ns 3.30 ns 2.18 0.02 0.0205 344 B NA

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.008 μs 0.0161 μs 0.0150 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,346.4 ns 19.19 ns 17.95 ns 1.00 0.02 0.0401 - - 688 B 1.00
InvokeSingleStringPreallocated 10 380.6 ns 7.37 ns 6.89 ns 0.28 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 36,203.8 ns 690.12 ns 767.07 ns 1.00 0.03 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 417.7 ns 5.62 ns 4.69 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 5,676,532.8 ns 112,896.84 ns 252,509.98 ns 1.002 0.06 78.1250 78.1250 78.1250 2401026 B 1.000
InvokeSingleStringPreallocated 100000 428.8 ns 2.80 ns 2.34 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 743.3 ns 9.75 ns 8.14 ns 0.0057 104 B
PredicateRoundTrip False False True 744.0 ns 14.31 ns 12.68 ns 0.0057 104 B
PredicateRoundTrip False True False 936.5 ns 11.26 ns 8.79 ns 0.0114 200 B
PredicateRoundTrip False True True 3,217.3 ns 33.29 ns 25.99 ns 0.0458 792 B
PredicateRoundTrip True False False 238.2 ns 3.92 ns 3.27 ns 0.0014 24 B
PredicateRoundTrip True False True 242.8 ns 3.01 ns 2.82 ns 0.0014 24 B
PredicateRoundTrip True True False 427.8 ns 8.09 ns 7.57 ns 0.0072 120 B
PredicateRoundTrip True True True 2,726.4 ns 53.26 ns 49.82 ns 0.0420 712 B

core-ubuntu-22.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V45 4.29GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 371.88 ns 5.091 ns 4.513 ns 0.0043 80 B
PredicateSustained False False True 373.45 ns 4.775 ns 4.233 ns 0.0043 80 B
PredicateSustained False True False 513.18 ns 3.019 ns 2.824 ns 0.0100 176 B
PredicateSustained False True True 2,732.62 ns 41.146 ns 36.475 ns 0.0450 768 B
PredicateSustained True False False 35.62 ns 0.236 ns 0.197 ns - -
PredicateSustained True False True 35.93 ns 0.499 ns 0.443 ns - -
PredicateSustained True True False 154.06 ns 2.801 ns 2.620 ns 0.0056 96 B
PredicateSustained True True True 2,287.37 ns 31.434 ns 29.404 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 520.0 ns 2.45 ns 2.17 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,014.4 ns 71.73 ns 63.59 ns 11.57 0.13 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,170.6 ns 15.40 ns 13.65 ns 2.25 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,149.1 ns 14.45 ns 13.51 ns 2.21 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 7,693.0 ns 84.07 ns 70.20 ns 14.79 0.14 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 535.7 ns 8.90 ns 8.32 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 455,065.8 ns 4,242.87 ns 3,968.78 ns 849.61 14.51 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,887.7 ns 17.53 ns 16.39 ns 3.52 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,859.1 ns 14.63 ns 12.96 ns 3.47 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 617,617.0 ns 7,540.39 ns 6,684.36 ns 1,153.10 20.94 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 534.9 ns 10.52 ns 9.33 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 55,609,647.2 ns 678,072.25 ns 566,221.04 ns 103,982.60 2,019.09 1111.1111 1000.0000 333.3333 16001566 B 46,516.18
InvokeIntArrayFixed 100000 50,864.4 ns 185.64 ns 164.56 ns 95.11 1.62 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 50,830.2 ns 260.74 ns 217.73 ns 95.05 1.64 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 78,862,283.1 ns 1,340,739.79 ns 1,188,530.90 ns 147,461.91 3,273.28 2000.0000 1857.1429 857.1429 27894331 B 81,088.17

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.080 μs 0.0142 μs 0.0132 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.045 μs 0.0140 μs 0.0124 μs 0.97 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.073 μs 0.0165 μs 0.0154 μs 0.99 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 113.00 ns 1.509 ns 1.338 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 118.17 ns 1.440 ns 1.347 ns 1.05 0.02 0.0014 24 B 1.00
GetInstanceStringField 101.89 ns 1.735 ns 1.623 ns 0.90 0.02 - - 0.00
SetInstanceStringField 607.45 ns 7.832 ns 7.326 ns 5.38 0.09 0.0172 288 B 12.00
GetStaticIntField 107.85 ns 1.557 ns 1.456 ns 0.95 0.02 0.0014 24 B 1.00
SetStaticIntField 118.89 ns 1.732 ns 1.535 ns 1.05 0.02 0.0014 24 B 1.00
GetStaticStringField 98.84 ns 1.496 ns 1.399 ns 0.87 0.02 - - 0.00
SetStaticStringField 619.83 ns 6.827 ns 6.386 ns 5.49 0.08 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 135.69 ns 2.501 ns 2.340 ns 1.20 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 259.1 ns 3.06 ns 2.71 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 247.4 ns 3.51 ns 3.28 ns 0.96 0.02 - - NA
InvokeStaticWithFeedback 534.1 ns 7.63 ns 7.14 ns 2.06 0.03 0.0200 344 B NA
InvokeInstanceEmpty 266.1 ns 1.48 ns 1.15 ns 1.03 0.01 - - NA
InvokeInstanceWithFeedback 508.3 ns 8.20 ns 7.67 ns 1.96 0.03 0.0200 344 B NA

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.332 μs 0.0140 μs 0.0124 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,912.9 ns 20.91 ns 18.54 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 551.7 ns 5.16 ns 4.31 ns 0.29 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 54,142.8 ns 605.93 ns 566.79 ns 1.00 0.01 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 568.0 ns 11.22 ns 10.49 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,211,001.3 ns 142,505.38 ns 139,959.34 ns 1.000 0.03 78.1250 78.1250 78.1250 2400764 B 1.000
InvokeSingleStringPreallocated 100000 615.2 ns 10.37 ns 9.70 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 970.2 ns 12.71 ns 11.27 ns 0.0057 104 B
PredicateRoundTrip False False True 992.6 ns 12.32 ns 10.93 ns 0.0057 104 B
PredicateRoundTrip False True False 1,202.2 ns 14.53 ns 13.59 ns 0.0114 200 B
PredicateRoundTrip False True True 4,131.5 ns 47.94 ns 42.50 ns 0.0458 792 B
PredicateRoundTrip True False False 354.9 ns 5.75 ns 5.10 ns 0.0014 24 B
PredicateRoundTrip True False True 359.4 ns 6.14 ns 5.74 ns 0.0014 24 B
PredicateRoundTrip True True False 562.4 ns 4.74 ns 4.43 ns 0.0067 120 B
PredicateRoundTrip True True True 3,463.0 ns 46.09 ns 43.11 ns 0.0420 712 B

core-ubuntu-22.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74 3.70GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 496.64 ns 2.568 ns 2.005 ns 0.0040 80 B
PredicateSustained False False True 499.54 ns 6.563 ns 5.818 ns 0.0040 80 B
PredicateSustained False True False 676.03 ns 9.307 ns 8.706 ns 0.0100 176 B
PredicateSustained False True True 3,494.51 ns 41.023 ns 36.365 ns 0.0400 768 B
PredicateSustained True False False 36.05 ns 0.606 ns 0.567 ns - -
PredicateSustained True False True 36.36 ns 0.545 ns 0.509 ns - -
PredicateSustained True True False 186.05 ns 2.361 ns 2.093 ns 0.0056 96 B
PredicateSustained True True True 2,931.19 ns 23.358 ns 18.237 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 744.9 ns 12.45 ns 11.65 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,600.5 ns 77.67 ns 68.86 ns 10.21 0.18 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,520.9 ns 17.81 ns 16.66 ns 2.04 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,535.2 ns 26.06 ns 24.38 ns 2.06 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,211.3 ns 165.39 ns 146.61 ns 13.71 0.28 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 728.5 ns 10.70 ns 10.01 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 602,279.8 ns 7,604.46 ns 6,741.15 ns 826.93 14.19 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,289.1 ns 26.62 ns 24.90 ns 3.14 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,276.2 ns 26.97 ns 25.23 ns 3.13 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 820,321.4 ns 9,744.41 ns 8,638.16 ns 1,126.31 18.89 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 732.5 ns 13.10 ns 12.26 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 70,107,529.3 ns 650,333.58 ns 576,503.78 ns 95,731.99 1,716.74 1000.0000 857.1429 285.7143 16001509 B 46,516.01
InvokeIntArrayFixed 100000 71,929.3 ns 269.03 ns 251.65 ns 98.22 1.61 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 71,667.0 ns 232.66 ns 194.29 ns 97.86 1.59 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 100,838,342.9 ns 1,457,810.40 ns 1,363,636.75 ns 137,694.99 2,854.91 1800.0000 1600.0000 800.0000 27892984 B 81,084.26

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.398 μs 0.0184 μs 0.0163 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.395 μs 0.0174 μs 0.0154 μs 1.00 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.412 μs 0.0122 μs 0.0114 μs 1.01 0.01 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 116.9 ns 0.91 ns 0.76 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 145.4 ns 2.75 ns 2.82 ns 1.24 0.02 0.0014 24 B 1.00
GetInstanceStringField 115.9 ns 1.27 ns 0.99 ns 0.99 0.01 - - 0.00
SetInstanceStringField 801.6 ns 3.87 ns 3.23 ns 6.86 0.05 0.0172 288 B 12.00
GetStaticIntField 134.8 ns 2.74 ns 2.56 ns 1.15 0.02 0.0014 24 B 1.00
SetStaticIntField 139.1 ns 1.04 ns 0.93 ns 1.19 0.01 0.0014 24 B 1.00
GetStaticStringField 113.0 ns 1.40 ns 1.31 ns 0.97 0.01 - - 0.00
SetStaticStringField 802.8 ns 5.14 ns 4.56 ns 6.87 0.06 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 153.3 ns 3.00 ns 3.45 ns 1.31 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 345.9 ns 6.71 ns 7.46 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 307.9 ns 4.58 ns 4.28 ns 0.89 0.02 - - NA
InvokeStaticWithFeedback 717.1 ns 7.91 ns 7.40 ns 2.07 0.05 0.0200 344 B NA
InvokeInstanceEmpty 357.8 ns 3.57 ns 2.98 ns 1.03 0.02 - - NA
InvokeInstanceWithFeedback 720.4 ns 7.10 ns 6.29 ns 2.08 0.05 0.0200 344 B NA

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.706 μs 0.0203 μs 0.0189 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,472.8 ns 25.71 ns 24.05 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 780.6 ns 6.71 ns 5.60 ns 0.32 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 72,209.1 ns 875.07 ns 818.54 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 775.5 ns 11.25 ns 10.52 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,426,465.1 ns 188,108.92 ns 357,896.80 ns 1.001 0.05 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 821.0 ns 11.68 ns 10.35 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,262.3 ns 15.73 ns 15.45 ns 0.0057 104 B
PredicateRoundTrip False False True 1,278.9 ns 8.00 ns 6.25 ns 0.0057 104 B
PredicateRoundTrip False True False 1,553.1 ns 13.40 ns 12.53 ns 0.0114 200 B
PredicateRoundTrip False True True 5,361.4 ns 67.65 ns 63.28 ns 0.0458 792 B
PredicateRoundTrip True False False 509.2 ns 9.88 ns 11.76 ns 0.0010 24 B
PredicateRoundTrip True False True 516.5 ns 10.13 ns 10.40 ns 0.0010 24 B
PredicateRoundTrip True True False 764.4 ns 6.48 ns 5.75 ns 0.0067 120 B
PredicateRoundTrip True True True 4,495.5 ns 34.55 ns 30.63 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Median Gen0 Allocated
PredicateSustained False False False 657.91 ns 9.010 ns 8.428 ns 655.52 ns 0.0038 80 B
PredicateSustained False False True 680.46 ns 10.743 ns 9.524 ns 677.58 ns 0.0038 80 B
PredicateSustained False True False 991.96 ns 30.404 ns 89.646 ns 942.54 ns 0.0100 176 B
PredicateSustained False True True 4,679.78 ns 63.300 ns 59.211 ns 4,658.11 ns 0.0400 768 B
PredicateSustained True False False 43.32 ns 0.817 ns 0.765 ns 43.33 ns - -
PredicateSustained True False True 42.86 ns 0.354 ns 0.276 ns 42.91 ns - -
PredicateSustained True True False 244.60 ns 0.988 ns 0.876 ns 244.42 ns 0.0056 96 B
PredicateSustained True True True 3,886.80 ns 57.041 ns 47.632 ns 3,869.09 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 718.0 ns 6.70 ns 5.60 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 8,270.7 ns 70.05 ns 54.69 ns 11.52 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,623.7 ns 9.69 ns 8.59 ns 2.26 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,634.4 ns 14.17 ns 13.26 ns 2.28 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,751.6 ns 113.79 ns 106.44 ns 14.97 0.18 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 721.1 ns 6.24 ns 4.87 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 643,539.2 ns 5,316.78 ns 4,439.75 ns 892.51 8.30 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,364.8 ns 23.57 ns 19.68 ns 3.28 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,380.5 ns 19.56 ns 16.33 ns 3.30 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 843,438.6 ns 8,533.51 ns 7,125.87 ns 1,169.74 12.18 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 749.8 ns 11.46 ns 10.72 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 75,826,694.7 ns 703,372.59 ns 657,935.15 ns 101,146.45 1,640.04 1000.0000 857.1429 285.7143 16001903 B 46,517.16
InvokeIntArrayFixed 100000 72,263.0 ns 396.24 ns 351.26 ns 96.39 1.41 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 73,089.0 ns 303.52 ns 269.06 ns 97.49 1.40 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 104,665,628.8 ns 1,401,532.31 ns 1,310,994.19 ns 139,615.17 2,572.21 1800.0000 1600.0000 800.0000 27894595 B 81,088.94

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.508 μs 0.0151 μs 0.0141 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.502 μs 0.0106 μs 0.0099 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.492 μs 0.0138 μs 0.0122 μs 0.99 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 126.9 ns 2.45 ns 2.29 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 146.9 ns 2.81 ns 2.63 ns 1.16 0.03 0.0014 24 B 1.00
GetInstanceStringField 125.2 ns 2.35 ns 2.20 ns 0.99 0.02 - - 0.00
SetInstanceStringField 878.5 ns 10.13 ns 8.98 ns 6.92 0.14 0.0172 288 B 12.00
GetStaticIntField 132.8 ns 1.77 ns 1.57 ns 1.05 0.02 0.0014 24 B 1.00
SetStaticIntField 158.7 ns 3.21 ns 3.16 ns 1.25 0.03 0.0014 24 B 1.00
GetStaticStringField 125.3 ns 2.16 ns 2.02 ns 0.99 0.02 - - 0.00
SetStaticStringField 876.0 ns 6.55 ns 6.12 ns 6.90 0.13 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 157.8 ns 2.62 ns 2.45 ns 1.24 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 424.1 ns 8.53 ns 8.37 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 377.6 ns 2.51 ns 2.22 ns 0.89 0.02 - - NA
InvokeStaticWithFeedback 745.3 ns 12.24 ns 11.45 ns 1.76 0.04 0.0200 344 B NA
InvokeInstanceEmpty 427.2 ns 6.54 ns 5.80 ns 1.01 0.02 - - NA
InvokeInstanceWithFeedback 782.6 ns 14.86 ns 13.90 ns 1.85 0.05 0.0200 344 B NA

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.868 μs 0.0295 μs 0.0276 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,599.3 ns 16.65 ns 14.76 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 786.4 ns 14.00 ns 13.09 ns 0.30 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 72,691.7 ns 861.05 ns 805.42 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 766.0 ns 12.77 ns 11.32 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,519,523.2 ns 189,869.37 ns 253,470.18 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 866.1 ns 14.75 ns 13.80 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,390.9 ns 26.92 ns 28.80 ns 0.0057 104 B
PredicateRoundTrip False False True 1,376.3 ns 26.27 ns 28.11 ns 0.0057 104 B
PredicateRoundTrip False True False 1,691.1 ns 25.55 ns 23.90 ns 0.0114 200 B
PredicateRoundTrip False True True 5,746.9 ns 65.69 ns 54.85 ns 0.0458 792 B
PredicateRoundTrip True False False 507.0 ns 8.85 ns 8.28 ns 0.0010 24 B
PredicateRoundTrip True False True 492.0 ns 6.43 ns 5.02 ns 0.0010 24 B
PredicateRoundTrip True True False 796.1 ns 10.44 ns 9.76 ns 0.0067 120 B
PredicateRoundTrip True True True 4,994.2 ns 43.45 ns 40.64 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.82GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 753.27 ns 14.380 ns 14.123 ns 0.0043 80 B
PredicateSustained False False True 758.54 ns 10.822 ns 10.123 ns 0.0043 80 B
PredicateSustained False True False 1,004.18 ns 11.994 ns 10.633 ns 0.0100 176 B
PredicateSustained False True True 5,265.56 ns 90.704 ns 84.844 ns 0.0400 768 B
PredicateSustained True False False 44.20 ns 0.878 ns 0.940 ns - -
PredicateSustained True False True 43.14 ns 0.803 ns 0.751 ns - -
PredicateSustained True True False 239.23 ns 1.165 ns 1.033 ns 0.0056 96 B
PredicateSustained True True True 4,196.00 ns 42.216 ns 37.423 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 760.8 ns 8.52 ns 7.97 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 8,185.6 ns 105.44 ns 98.63 ns 10.76 0.17 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,598.0 ns 16.01 ns 14.98 ns 2.10 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,643.6 ns 17.76 ns 16.61 ns 2.16 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 11,071.5 ns 178.56 ns 167.03 ns 14.55 0.26 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 722.7 ns 14.22 ns 14.60 ns 1.00 0.03 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 622,795.0 ns 9,139.28 ns 7,631.71 ns 862.09 19.64 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,358.3 ns 31.13 ns 29.12 ns 3.26 0.07 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,368.5 ns 26.80 ns 25.07 ns 3.28 0.07 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 836,969.4 ns 6,779.93 ns 6,341.95 ns 1,158.56 24.11 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 727.1 ns 11.93 ns 11.16 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 75,739,640.5 ns 997,814.45 ns 933,356.26 ns 104,184.36 1,974.76 1000.0000 857.1429 285.7143 16001557 B 46,516.15
InvokeIntArrayFixed 100000 73,730.2 ns 662.68 ns 587.44 ns 101.42 1.69 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 73,180.3 ns 522.57 ns 463.25 ns 100.66 1.61 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 102,840,376.3 ns 1,702,439.14 ns 1,509,167.95 ns 141,463.03 2,891.91 2000.0000 1800.0000 1000.0000 27894944 B 81,089.95

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.500 μs 0.0162 μs 0.0152 μs 1.00 0.01 0.0210 360 B 1.00
NewWithSignature 1.518 μs 0.0137 μs 0.0121 μs 1.01 0.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.512 μs 0.0268 μs 0.0238 μs 1.01 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 127.2 ns 1.94 ns 1.72 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 149.8 ns 2.58 ns 2.41 ns 1.18 0.02 0.0014 24 B 1.00
GetInstanceStringField 123.8 ns 2.51 ns 2.35 ns 0.97 0.02 - - 0.00
SetInstanceStringField 921.1 ns 14.71 ns 13.76 ns 7.24 0.14 0.0172 288 B 12.00
GetStaticIntField 128.0 ns 0.97 ns 0.76 ns 1.01 0.01 0.0014 24 B 1.00
SetStaticIntField 151.6 ns 2.60 ns 2.43 ns 1.19 0.02 0.0014 24 B 1.00
GetStaticStringField 118.0 ns 0.96 ns 0.90 ns 0.93 0.01 - - 0.00
SetStaticStringField 868.3 ns 7.66 ns 7.17 ns 6.82 0.10 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 154.7 ns 1.58 ns 1.40 ns 1.22 0.02 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 358.1 ns 7.04 ns 8.11 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 329.3 ns 5.68 ns 5.31 ns 0.92 0.02 - - NA
InvokeStaticWithFeedback 738.4 ns 7.45 ns 6.22 ns 2.06 0.05 0.0200 344 B NA
InvokeInstanceEmpty 356.6 ns 4.55 ns 4.04 ns 1.00 0.02 - - NA
InvokeInstanceWithFeedback 743.6 ns 7.89 ns 6.16 ns 2.08 0.05 0.0200 344 B NA

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.863 μs 0.0171 μs 0.0160 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,609.9 ns 42.30 ns 39.57 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 779.7 ns 15.12 ns 15.53 ns 0.30 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 72,151.6 ns 1,076.88 ns 1,007.32 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 770.1 ns 9.97 ns 8.84 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,387,073.2 ns 180,709.53 ns 247,357.27 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 847.7 ns 16.24 ns 15.19 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,341.1 ns 25.09 ns 23.47 ns 0.0057 104 B
PredicateRoundTrip False False True 1,295.8 ns 23.29 ns 19.45 ns 0.0057 104 B
PredicateRoundTrip False True False 1,709.2 ns 30.50 ns 28.53 ns 0.0114 200 B
PredicateRoundTrip False True True 5,661.3 ns 79.36 ns 74.24 ns 0.0458 792 B
PredicateRoundTrip True False False 506.6 ns 10.07 ns 11.59 ns 0.0010 24 B
PredicateRoundTrip True False True 539.3 ns 10.48 ns 12.47 ns 0.0010 24 B
PredicateRoundTrip True True False 813.7 ns 7.98 ns 6.66 ns 0.0067 120 B
PredicateRoundTrip True True True 4,741.6 ns 51.23 ns 45.42 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 711.80 ns 13.967 ns 13.717 ns 0.0038 80 B
PredicateSustained False False True 733.87 ns 12.531 ns 11.721 ns 0.0043 80 B
PredicateSustained False True False 974.48 ns 6.388 ns 5.334 ns 0.0100 176 B
PredicateSustained False True True 5,009.98 ns 86.150 ns 80.585 ns 0.0400 768 B
PredicateSustained True False False 42.11 ns 0.842 ns 0.827 ns - -
PredicateSustained True False True 42.09 ns 0.687 ns 0.642 ns - -
PredicateSustained True True False 246.23 ns 1.787 ns 1.584 ns 0.0056 96 B
PredicateSustained True True True 4,091.21 ns 41.313 ns 36.623 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 701.1 ns 12.82 ns 11.99 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,792.6 ns 79.51 ns 74.37 ns 11.12 0.21 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,577.3 ns 27.07 ns 25.32 ns 2.25 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,587.0 ns 14.36 ns 13.43 ns 2.26 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,378.3 ns 82.80 ns 73.40 ns 14.81 0.26 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 707.9 ns 12.26 ns 11.47 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 596,842.6 ns 5,761.47 ns 5,389.29 ns 843.28 15.12 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,378.7 ns 30.24 ns 26.81 ns 3.36 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,330.3 ns 22.27 ns 19.74 ns 3.29 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 828,731.8 ns 8,137.30 ns 7,611.64 ns 1,170.92 21.08 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 720.5 ns 9.57 ns 8.95 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 71,742,113.8 ns 644,659.90 ns 603,015.27 ns 99,584.40 1,441.16 1000.0000 857.1429 285.7143 16001477 B 46,515.92
InvokeIntArrayFixed 100000 72,626.6 ns 451.41 ns 422.25 ns 100.81 1.33 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 72,227.9 ns 381.97 ns 357.29 ns 100.26 1.29 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 101,537,022.0 ns 1,219,017.15 ns 1,140,269.40 ns 140,942.37 2,278.90 1800.0000 1600.0000 800.0000 27893680 B 81,086.28

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.451 μs 0.0232 μs 0.0217 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.439 μs 0.0188 μs 0.0176 μs 0.99 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.437 μs 0.0158 μs 0.0148 μs 0.99 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 131.7 ns 2.45 ns 2.29 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 139.3 ns 2.73 ns 2.92 ns 1.06 0.03 0.0014 24 B 1.00
GetInstanceStringField 117.3 ns 1.94 ns 1.72 ns 0.89 0.02 - - 0.00
SetInstanceStringField 899.0 ns 7.92 ns 7.02 ns 6.83 0.13 0.0172 288 B 12.00
GetStaticIntField 125.9 ns 2.50 ns 2.88 ns 0.96 0.03 0.0014 24 B 1.00
SetStaticIntField 148.0 ns 2.11 ns 1.97 ns 1.12 0.02 0.0014 24 B 1.00
GetStaticStringField 114.6 ns 2.19 ns 2.25 ns 0.87 0.02 - - 0.00
SetStaticStringField 805.3 ns 10.03 ns 9.38 ns 6.11 0.12 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 153.5 ns 2.45 ns 2.29 ns 1.17 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 352.1 ns 6.28 ns 5.87 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 328.6 ns 5.54 ns 5.18 ns 0.93 0.02 - - NA
InvokeStaticWithFeedback 726.9 ns 6.81 ns 6.04 ns 2.07 0.04 0.0200 344 B NA
InvokeInstanceEmpty 357.9 ns 3.69 ns 3.45 ns 1.02 0.02 - - NA
InvokeInstanceWithFeedback 728.9 ns 9.01 ns 8.42 ns 2.07 0.04 0.0200 344 B NA

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.752 μs 0.0179 μs 0.0159 μs 1.00 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,453.5 ns 33.00 ns 30.86 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 759.0 ns 6.69 ns 5.22 ns 0.31 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 68,858.6 ns 1,052.52 ns 984.53 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 785.5 ns 12.93 ns 12.09 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,944,159.1 ns 177,789.68 ns 254,980.66 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 834.7 ns 8.94 ns 7.47 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,301.8 ns 17.92 ns 16.76 ns 0.0057 104 B
PredicateRoundTrip False False True 1,289.6 ns 24.27 ns 22.70 ns 0.0057 104 B
PredicateRoundTrip False True False 1,603.8 ns 27.95 ns 26.15 ns 0.0114 200 B
PredicateRoundTrip False True True 5,430.3 ns 86.04 ns 76.27 ns 0.0458 792 B
PredicateRoundTrip True False False 504.6 ns 8.81 ns 7.81 ns 0.0010 24 B
PredicateRoundTrip True False True 481.1 ns 7.71 ns 6.84 ns 0.0010 24 B
PredicateRoundTrip True True False 793.4 ns 11.25 ns 10.52 ns 0.0067 120 B
PredicateRoundTrip True True True 4,543.0 ns 34.87 ns 30.91 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 2.59GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 678.59 ns 13.313 ns 12.453 ns 0.0038 80 B
PredicateSustained False False True 663.83 ns 13.168 ns 12.317 ns 0.0038 80 B
PredicateSustained False True False 904.56 ns 12.918 ns 12.084 ns 0.0100 176 B
PredicateSustained False True True 4,788.47 ns 49.937 ns 44.268 ns 0.0400 768 B
PredicateSustained True False False 42.31 ns 0.832 ns 0.958 ns - -
PredicateSustained True False True 42.07 ns 0.415 ns 0.347 ns - -
PredicateSustained True True False 241.76 ns 2.383 ns 2.229 ns 0.0056 96 B
PredicateSustained True True True 3,977.71 ns 47.564 ns 44.492 ns 0.0400 688 B

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 705.8 ns 9.96 ns 8.83 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,642.0 ns 59.97 ns 46.82 ns 10.83 0.15 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,504.3 ns 16.31 ns 14.46 ns 2.13 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,557.6 ns 12.80 ns 11.34 ns 2.21 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,263.4 ns 101.88 ns 95.30 ns 14.54 0.22 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 721.2 ns 7.75 ns 6.87 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 592,661.4 ns 10,096.06 ns 9,443.86 ns 821.86 14.78 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,235.2 ns 18.42 ns 16.33 ns 3.10 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,236.5 ns 27.74 ns 25.95 ns 3.10 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 822,298.5 ns 4,887.60 ns 4,081.37 ns 1,140.30 11.86 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 707.6 ns 4.80 ns 3.75 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 70,427,021.3 ns 899,106.70 ns 797,034.67 ns 99,525.47 1,200.99 1000.0000 857.1429 285.7143 16001303 B 46,515.42
InvokeIntArrayFixed 100000 70,671.7 ns 230.18 ns 204.05 ns 99.87 0.58 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 70,767.7 ns 286.46 ns 267.96 ns 100.01 0.63 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 100,414,706.2 ns 1,220,128.85 ns 1,081,612.44 ns 141,903.21 1,644.83 1800.0000 1600.0000 800.0000 27893654 B 81,086.20

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.390 μs 0.0193 μs 0.0180 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.352 μs 0.0087 μs 0.0077 μs 0.97 0.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.377 μs 0.0153 μs 0.0136 μs 0.99 0.02 0.0210 360 B 1.00

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 122.7 ns 2.16 ns 2.02 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 135.6 ns 1.87 ns 1.66 ns 1.11 0.02 0.0014 24 B 1.00
GetInstanceStringField 117.2 ns 2.25 ns 2.10 ns 0.96 0.02 - - 0.00
SetInstanceStringField 810.4 ns 4.36 ns 3.64 ns 6.61 0.11 0.0172 288 B 12.00
GetStaticIntField 125.2 ns 2.31 ns 2.16 ns 1.02 0.02 0.0014 24 B 1.00
SetStaticIntField 135.7 ns 2.68 ns 2.76 ns 1.11 0.03 0.0014 24 B 1.00
GetStaticStringField 112.1 ns 1.91 ns 2.05 ns 0.91 0.02 - - 0.00
SetStaticStringField 814.7 ns 8.91 ns 8.33 ns 6.64 0.12 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 151.8 ns 2.86 ns 2.68 ns 1.24 0.03 0.0014 24 B 1.00

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 348.9 ns 4.98 ns 4.66 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 320.2 ns 6.05 ns 5.66 ns 0.92 0.02 - - NA
InvokeStaticWithFeedback 691.7 ns 9.44 ns 8.83 ns 1.98 0.04 0.0200 344 B NA
InvokeInstanceEmpty 360.0 ns 5.57 ns 5.21 ns 1.03 0.02 - - NA
InvokeInstanceWithFeedback 765.7 ns 11.70 ns 10.95 ns 2.19 0.04 0.0200 344 B NA

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.752 μs 0.0280 μs 0.0262 μs 1.00 0.02 0.0420 712 B 1.00

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,625.8 ns 35.93 ns 33.61 ns 1.00 0.02 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 774.7 ns 14.35 ns 13.42 ns 0.30 0.01 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 73,088.3 ns 1,238.53 ns 1,158.52 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 774.1 ns 10.06 ns 9.41 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,622,297.1 ns 169,234.22 ns 207,834.84 ns 1.001 0.03 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 831.7 ns 15.84 ns 14.81 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,251.7 ns 21.17 ns 19.81 ns 0.0057 104 B
PredicateRoundTrip False False True 1,252.2 ns 17.92 ns 16.77 ns 0.0057 104 B
PredicateRoundTrip False True False 1,535.1 ns 17.51 ns 16.38 ns 0.0114 200 B
PredicateRoundTrip False True True 5,369.9 ns 72.93 ns 68.22 ns 0.0458 792 B
PredicateRoundTrip True False False 515.7 ns 9.97 ns 9.33 ns 0.0010 24 B
PredicateRoundTrip True False True 491.3 ns 8.94 ns 11.62 ns 0.0010 24 B
PredicateRoundTrip True True False 748.3 ns 10.01 ns 9.36 ns 0.0067 120 B
PredicateRoundTrip True True True 4,552.0 ns 62.91 ns 58.84 ns 0.0381 712 B

core-ubuntu-22.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763 3.24GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 688.17 ns 13.403 ns 12.537 ns 0.0038 80 B
PredicateSustained False False True 682.88 ns 8.673 ns 7.689 ns 0.0038 80 B
PredicateSustained False True False 914.30 ns 7.610 ns 6.746 ns 0.0100 176 B
PredicateSustained False True True 4,636.55 ns 56.405 ns 50.002 ns 0.0400 768 B
PredicateSustained True False False 43.05 ns 0.389 ns 0.364 ns - -
PredicateSustained True False True 43.13 ns 0.843 ns 0.747 ns - -
PredicateSustained True True False 294.44 ns 2.430 ns 2.273 ns 0.0056 96 B
PredicateSustained True True True 3,902.97 ns 74.228 ns 65.801 ns 0.0400 688 B

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 533.0 ns 0.30 ns 0.25 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,918.1 ns 12.10 ns 10.73 ns 12.98 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,125.8 ns 1.97 ns 1.75 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,144.1 ns 1.12 ns 0.87 ns 2.15 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,193.8 ns 38.40 ns 35.92 ns 17.25 0.07 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 531.7 ns 0.30 ns 0.27 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 552,134.2 ns 1,094.16 ns 1,023.47 ns 1,038.44 1.93 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,876.6 ns 13.66 ns 11.41 ns 3.53 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,796.4 ns 4.20 ns 3.72 ns 3.38 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 737,688.9 ns 1,389.22 ns 1,299.48 ns 1,387.43 2.46 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 535.5 ns 0.38 ns 0.30 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,921,532.9 ns 352,887.24 ns 330,090.94 ns 110,028.06 600.07 333.3333 222.2222 222.2222 16000830 B 51,284.71
InvokeIntArrayFixed 100000 60,814.3 ns 283.72 ns 236.92 ns 113.56 0.43 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,684.0 ns 145.80 ns 129.25 ns 113.32 0.24 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,071,550.2 ns 752,325.03 ns 703,725.30 ns 155,124.97 1,275.81 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.047 μs 0.0074 μs 0.0062 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.050 μs 0.0039 μs 0.0031 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.056 μs 0.0016 μs 0.0014 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.34 ns 0.026 ns 0.023 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 113.08 ns 0.068 ns 0.060 ns 1.20 0.0004 24 B 1.00
GetInstanceStringField 114.45 ns 0.023 ns 0.022 ns 1.21 - - 0.00
SetInstanceStringField 667.75 ns 1.110 ns 0.984 ns 7.08 0.0038 256 B 10.67
GetStaticIntField 120.44 ns 0.035 ns 0.031 ns 1.28 0.0002 24 B 1.00
SetStaticIntField 117.71 ns 0.021 ns 0.019 ns 1.25 0.0002 24 B 1.00
GetStaticStringField 103.75 ns 0.048 ns 0.040 ns 1.10 - - 0.00
SetStaticStringField 667.79 ns 1.071 ns 1.002 ns 7.08 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 104.71 ns 0.051 ns 0.045 ns 1.11 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 373.2 ns 0.14 ns 0.12 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 380.3 ns 0.46 ns 0.43 ns 1.02 - - NA
InvokeStaticWithFeedback 531.9 ns 0.30 ns 0.26 ns 1.43 0.0038 312 B NA
InvokeInstanceEmpty 373.8 ns 0.21 ns 0.19 ns 1.00 - - NA
InvokeInstanceWithFeedback 552.0 ns 0.92 ns 0.81 ns 1.48 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.275 μs 0.0031 μs 0.0029 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,932.8 ns 1.80 ns 1.50 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 569.4 ns 0.55 ns 0.48 ns 0.29 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 62,621.2 ns 255.13 ns 238.65 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 562.8 ns 0.41 ns 0.34 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,033,292.9 ns 84,524.59 ns 74,928.85 ns 1.000 62.5000 62.5000 62.5000 2400751 B 1.000
InvokeSingleStringPreallocated 100000 592.7 ns 0.31 ns 0.26 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,071.0 ns 8.06 ns 7.54 ns - 104 B
PredicateRoundTrip False False True 1,070.6 ns 8.20 ns 7.67 ns - 104 B
PredicateRoundTrip False True False 1,301.3 ns 11.59 ns 10.84 ns 0.0019 200 B
PredicateRoundTrip False True True 4,828.9 ns 21.51 ns 20.12 ns 0.0076 760 B
PredicateRoundTrip True False False 447.4 ns 0.79 ns 0.74 ns - 24 B
PredicateRoundTrip True False True 452.9 ns 0.71 ns 0.67 ns - 24 B
PredicateRoundTrip True True False 688.5 ns 0.42 ns 0.35 ns 0.0010 120 B
PredicateRoundTrip True True True 4,167.1 ns 12.36 ns 11.56 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 612.13 ns 2.158 ns 1.802 ns - 80 B
PredicateSustained False False True 613.17 ns 0.715 ns 0.633 ns - 80 B
PredicateSustained False True False 825.05 ns 1.153 ns 0.963 ns 0.0014 176 B
PredicateSustained False True True 4,171.12 ns 23.107 ns 21.614 ns 0.0100 736 B
PredicateSustained True False False 50.77 ns 0.769 ns 0.719 ns - -
PredicateSustained True False True 50.78 ns 0.920 ns 0.860 ns - -
PredicateSustained True True False 272.56 ns 0.662 ns 0.619 ns 0.0013 96 B
PredicateSustained True True True 3,437.80 ns 13.549 ns 12.674 ns - 656 B

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 555.0 ns 0.50 ns 0.41 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,331.0 ns 21.69 ns 20.29 ns 13.21 0.04 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,137.3 ns 1.41 ns 1.25 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,172.2 ns 1.36 ns 1.20 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,716.9 ns 47.93 ns 44.83 ns 17.51 0.08 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 545.1 ns 0.79 ns 0.70 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 552,131.4 ns 1,442.63 ns 1,349.44 ns 1,012.82 2.71 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,879.3 ns 2.50 ns 1.95 ns 3.45 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,869.1 ns 5.40 ns 4.79 ns 3.43 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 779,630.8 ns 766.22 ns 598.21 ns 1,430.14 2.06 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 548.6 ns 0.38 ns 0.34 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,416,981.9 ns 156,867.37 ns 146,733.84 ns 104,653.01 266.27 333.3333 222.2222 222.2222 16001649 B 51,287.34
InvokeIntArrayFixed 100000 60,564.7 ns 149.75 ns 132.75 ns 110.39 0.24 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,400.0 ns 191.35 ns 169.63 ns 110.09 0.31 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,726,949.7 ns 491,815.49 ns 460,044.52 ns 150,785.07 816.89 666.6667 500.0000 500.0000 27894008 B 89,403.87

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.070 μs 0.0008 μs 0.0007 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.088 μs 0.0089 μs 0.0079 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.095 μs 0.0113 μs 0.0106 μs 1.02 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.64 ns 0.021 ns 0.019 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 114.21 ns 0.041 ns 0.036 ns 1.22 0.0004 24 B 1.00
GetInstanceStringField 100.54 ns 0.009 ns 0.007 ns 1.07 - - 0.00
SetInstanceStringField 672.86 ns 0.916 ns 0.856 ns 7.19 0.0038 256 B 10.67
GetStaticIntField 106.84 ns 0.023 ns 0.020 ns 1.14 0.0004 24 B 1.00
SetStaticIntField 108.94 ns 0.024 ns 0.021 ns 1.16 0.0004 24 B 1.00
GetStaticStringField 95.61 ns 0.028 ns 0.027 ns 1.02 - - 0.00
SetStaticStringField 669.34 ns 0.670 ns 0.594 ns 7.15 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 102.47 ns 0.035 ns 0.031 ns 1.09 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.3 ns 0.28 ns 0.26 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 308.6 ns 0.26 ns 0.24 ns 1.01 - - NA
InvokeStaticWithFeedback 561.2 ns 0.23 ns 0.21 ns 1.84 0.0038 312 B NA
InvokeInstanceEmpty 313.2 ns 0.12 ns 0.10 ns 1.03 - - NA
InvokeInstanceWithFeedback 562.9 ns 0.30 ns 0.26 ns 1.84 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.434 μs 0.0284 μs 0.0265 μs 1.00 0.03 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,907.1 ns 13.27 ns 10.36 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 574.2 ns 0.26 ns 0.23 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 61,901.0 ns 162.69 ns 144.22 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 579.9 ns 0.21 ns 0.17 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,442,689.4 ns 82,248.10 ns 76,934.92 ns 1.000 62.5000 62.5000 62.5000 2400740 B 1.000
InvokeSingleStringPreallocated 100000 610.8 ns 0.42 ns 0.37 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,080.6 ns 10.89 ns 10.19 ns - 104 B
PredicateRoundTrip False False True 1,068.9 ns 5.44 ns 4.83 ns - 104 B
PredicateRoundTrip False True False 1,379.4 ns 20.93 ns 19.58 ns 0.0019 200 B
PredicateRoundTrip False True True 5,989.9 ns 55.41 ns 51.83 ns 0.0076 760 B
PredicateRoundTrip True False False 453.3 ns 1.29 ns 1.21 ns - 24 B
PredicateRoundTrip True False True 466.6 ns 0.68 ns 0.60 ns - 24 B
PredicateRoundTrip True True False 704.8 ns 3.25 ns 2.54 ns 0.0010 120 B
PredicateRoundTrip True True True 5,335.2 ns 44.88 ns 41.98 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 613.25 ns 4.063 ns 3.800 ns 0.0011 80 B
PredicateSustained False False True 599.33 ns 0.492 ns 0.384 ns 0.0011 80 B
PredicateSustained False True False 821.32 ns 1.719 ns 1.435 ns 0.0014 176 B
PredicateSustained False True True 4,473.66 ns 34.946 ns 30.979 ns 0.0100 736 B
PredicateSustained True False False 43.67 ns 0.536 ns 0.475 ns - -
PredicateSustained True False True 43.52 ns 0.448 ns 0.419 ns - -
PredicateSustained True True False 258.60 ns 0.436 ns 0.408 ns 0.0013 96 B
PredicateSustained True True True 4,162.80 ns 27.114 ns 21.169 ns - 656 B

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 534.0 ns 0.33 ns 0.28 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,997.9 ns 13.88 ns 12.30 ns 13.11 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,135.1 ns 2.27 ns 2.01 ns 2.13 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,130.0 ns 2.09 ns 1.85 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,166.7 ns 46.01 ns 40.79 ns 17.17 0.07 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 533.8 ns 0.35 ns 0.31 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 552,950.9 ns 1,472.35 ns 1,305.20 ns 1,035.83 2.43 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,926.3 ns 10.40 ns 9.73 ns 3.61 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,847.0 ns 8.00 ns 7.48 ns 3.46 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 736,852.0 ns 1,753.44 ns 1,554.38 ns 1,380.33 2.92 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 540.9 ns 0.48 ns 0.40 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,568,023.8 ns 238,159.11 ns 222,774.18 ns 108,284.78 406.47 333.3333 222.2222 222.2222 16001707 B 51,287.52
InvokeIntArrayFixed 100000 60,171.2 ns 280.92 ns 262.78 ns 111.25 0.48 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,015.1 ns 355.18 ns 332.24 ns 110.96 0.60 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,603,500.3 ns 638,645.68 ns 597,389.57 ns 156,421.05 1,075.69 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.037 μs 0.0015 μs 0.0013 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.040 μs 0.0010 μs 0.0008 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.041 μs 0.0115 μs 0.0107 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 94.89 ns 0.023 ns 0.020 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 119.01 ns 0.026 ns 0.023 ns 1.25 0.0002 24 B 1.00
GetInstanceStringField 107.29 ns 0.009 ns 0.009 ns 1.13 - - 0.00
SetInstanceStringField 669.68 ns 1.154 ns 1.079 ns 7.06 0.0038 256 B 10.67
GetStaticIntField 110.12 ns 0.020 ns 0.017 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 118.07 ns 0.057 ns 0.051 ns 1.24 0.0002 24 B 1.00
GetStaticStringField 97.75 ns 0.020 ns 0.017 ns 1.03 - - 0.00
SetStaticStringField 666.22 ns 1.258 ns 1.177 ns 7.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 107.55 ns 0.031 ns 0.027 ns 1.13 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 308.3 ns 0.12 ns 0.12 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 313.8 ns 0.44 ns 0.41 ns 1.02 - - NA
InvokeStaticWithFeedback 539.6 ns 0.34 ns 0.30 ns 1.75 0.0038 312 B NA
InvokeInstanceEmpty 314.1 ns 0.11 ns 0.09 ns 1.02 - - NA
InvokeInstanceWithFeedback 532.1 ns 0.30 ns 0.27 ns 1.73 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.358 μs 0.0246 μs 0.0230 μs 1.00 0.02 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,873.1 ns 2.01 ns 1.57 ns 1.00 0.0095 - - 656 B 1.00
InvokeSingleStringPreallocated 10 572.7 ns 0.30 ns 0.27 ns 0.31 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,919.5 ns 238.84 ns 223.41 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 563.7 ns 0.25 ns 0.22 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,582,327.7 ns 47,704.45 ns 44,622.77 ns 1.000 62.5000 62.5000 62.5000 2400840 B 1.000
InvokeSingleStringPreallocated 100000 604.1 ns 0.37 ns 0.33 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,043.0 ns 2.79 ns 2.47 ns - 104 B
PredicateRoundTrip False False True 1,057.5 ns 8.30 ns 7.77 ns - 104 B
PredicateRoundTrip False True False 1,296.2 ns 8.72 ns 8.15 ns 0.0019 200 B
PredicateRoundTrip False True True 5,119.8 ns 66.29 ns 62.01 ns 0.0076 760 B
PredicateRoundTrip True False False 449.4 ns 0.50 ns 0.44 ns - 24 B
PredicateRoundTrip True False True 452.4 ns 0.40 ns 0.35 ns - 24 B
PredicateRoundTrip True True False 679.9 ns 2.87 ns 2.24 ns 0.0010 120 B
PredicateRoundTrip True True True 4,330.5 ns 37.93 ns 33.62 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 586.01 ns 0.282 ns 0.236 ns 0.0011 80 B
PredicateSustained False False True 596.68 ns 0.633 ns 0.529 ns 0.0011 80 B
PredicateSustained False True False 798.42 ns 7.566 ns 7.078 ns 0.0014 176 B
PredicateSustained False True True 4,649.21 ns 79.273 ns 74.152 ns 0.0100 736 B
PredicateSustained True False False 45.86 ns 0.890 ns 0.953 ns - -
PredicateSustained True False True 46.36 ns 0.906 ns 1.078 ns - -
PredicateSustained True True False 257.74 ns 0.504 ns 0.471 ns 0.0013 96 B
PredicateSustained True True True 3,391.11 ns 16.778 ns 14.873 ns - 656 B

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 543.0 ns 0.52 ns 0.48 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,190.5 ns 25.45 ns 23.81 ns 13.24 0.04 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,149.7 ns 2.56 ns 2.27 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,211.1 ns 8.29 ns 7.76 ns 2.23 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,544.2 ns 32.60 ns 30.50 ns 17.58 0.06 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 553.2 ns 0.59 ns 0.52 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 559,896.6 ns 1,167.56 ns 1,092.13 ns 1,012.08 2.12 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,882.1 ns 6.32 ns 5.91 ns 3.40 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,885.4 ns 2.62 ns 2.19 ns 3.41 0.00 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 746,206.1 ns 1,141.08 ns 952.85 ns 1,348.86 2.06 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 546.8 ns 0.28 ns 0.25 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 59,291,273.5 ns 252,303.62 ns 236,004.97 ns 108,427.77 420.70 333.3333 222.2222 222.2222 16000569 B 51,283.88
InvokeIntArrayFixed 100000 60,826.0 ns 322.40 ns 285.80 ns 111.23 0.51 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,712.0 ns 376.43 ns 333.70 ns 111.03 0.59 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,330,101.7 ns 1,068,571.00 ns 999,541.98 ns 154,217.05 1,771.45 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.059 μs 0.0116 μs 0.0109 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.074 μs 0.0086 μs 0.0080 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.075 μs 0.0087 μs 0.0081 μs 1.02 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 97.04 ns 0.038 ns 0.032 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 118.56 ns 0.029 ns 0.026 ns 1.22 0.0002 24 B 1.00
GetInstanceStringField 114.77 ns 0.045 ns 0.042 ns 1.18 - - 0.00
SetInstanceStringField 670.72 ns 1.017 ns 0.951 ns 6.91 0.0038 256 B 10.67
GetStaticIntField 116.58 ns 0.030 ns 0.025 ns 1.20 0.0002 24 B 1.00
SetStaticIntField 113.40 ns 0.022 ns 0.020 ns 1.17 0.0004 24 B 1.00
GetStaticStringField 101.27 ns 0.013 ns 0.012 ns 1.04 - - 0.00
SetStaticStringField 659.85 ns 1.407 ns 1.247 ns 6.80 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 106.21 ns 0.025 ns 0.021 ns 1.09 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 317.8 ns 0.15 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 319.5 ns 0.26 ns 0.24 ns 1.01 - - NA
InvokeStaticWithFeedback 543.2 ns 0.41 ns 0.36 ns 1.71 0.0038 312 B NA
InvokeInstanceEmpty 326.0 ns 0.30 ns 0.27 ns 1.03 - - NA
InvokeInstanceWithFeedback 566.2 ns 0.96 ns 0.90 ns 1.78 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.521 μs 0.0109 μs 0.0097 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,982.3 ns 10.17 ns 8.50 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 603.7 ns 0.40 ns 0.36 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 68,400.1 ns 277.86 ns 259.91 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 605.1 ns 0.27 ns 0.24 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,494,183.4 ns 29,256.56 ns 27,366.61 ns 1.000 62.5000 62.5000 62.5000 2400723 B 1.000
InvokeSingleStringPreallocated 100000 615.2 ns 0.24 ns 0.21 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,048.1 ns 1.11 ns 0.87 ns - 104 B
PredicateRoundTrip False False True 1,066.5 ns 13.05 ns 12.21 ns - 104 B
PredicateRoundTrip False True False 1,444.8 ns 28.62 ns 29.39 ns 0.0019 200 B
PredicateRoundTrip False True True 6,670.9 ns 52.45 ns 40.95 ns 0.0076 760 B
PredicateRoundTrip True False False 457.0 ns 1.16 ns 0.90 ns - 24 B
PredicateRoundTrip True False True 465.6 ns 1.34 ns 1.04 ns - 24 B
PredicateRoundTrip True True False 706.4 ns 4.58 ns 3.83 ns 0.0010 120 B
PredicateRoundTrip True True True 5,943.2 ns 50.56 ns 42.22 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 598.25 ns 2.581 ns 2.156 ns 0.0011 80 B
PredicateSustained False False True 594.72 ns 0.534 ns 0.417 ns 0.0011 80 B
PredicateSustained False True False 805.74 ns 6.572 ns 6.148 ns 0.0014 176 B
PredicateSustained False True True 4,483.92 ns 60.964 ns 67.761 ns 0.0100 736 B
PredicateSustained True False False 42.28 ns 0.825 ns 0.771 ns - -
PredicateSustained True False True 42.85 ns 0.169 ns 0.158 ns - -
PredicateSustained True True False 256.13 ns 0.551 ns 0.515 ns 0.0013 96 B
PredicateSustained True True True 4,026.46 ns 71.895 ns 82.794 ns - 656 B

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 543.3 ns 0.58 ns 0.52 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,697.2 ns 13.96 ns 12.37 ns 12.33 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,106.3 ns 2.02 ns 1.89 ns 2.04 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,111.2 ns 1.66 ns 1.47 ns 2.05 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,873.1 ns 21.43 ns 20.04 ns 16.33 0.04 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 551.9 ns 0.95 ns 0.89 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 531,967.2 ns 1,079.10 ns 1,009.39 ns 963.97 2.32 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,706.5 ns 7.50 ns 7.02 ns 3.09 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,697.6 ns 5.77 ns 5.40 ns 3.08 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 732,426.1 ns 1,204.21 ns 1,067.50 ns 1,327.22 2.78 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 542.1 ns 0.51 ns 0.45 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 56,538,748.2 ns 216,029.81 ns 202,074.42 ns 104,295.68 370.59 333.3333 222.2222 222.2222 16001515 B 51,286.91
InvokeIntArrayFixed 100000 44,874.9 ns 214.55 ns 179.16 ns 82.78 0.33 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 44,645.4 ns 124.50 ns 110.37 ns 82.36 0.21 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,140,201.6 ns 627,865.47 ns 556,586.38 ns 153,366.75 999.54 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.055 μs 0.0081 μs 0.0076 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.043 μs 0.0084 μs 0.0078 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.041 μs 0.0098 μs 0.0092 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.99 ns 0.033 ns 0.029 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 109.29 ns 0.057 ns 0.051 ns 1.16 0.0004 24 B 1.00
GetInstanceStringField 99.61 ns 0.028 ns 0.026 ns 1.06 - - 0.00
SetInstanceStringField 655.30 ns 0.915 ns 0.811 ns 6.97 0.0038 256 B 10.67
GetStaticIntField 108.87 ns 0.039 ns 0.033 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 109.29 ns 0.035 ns 0.027 ns 1.16 0.0004 24 B 1.00
GetStaticStringField 99.31 ns 0.044 ns 0.037 ns 1.06 - - 0.00
SetStaticStringField 655.77 ns 0.493 ns 0.437 ns 6.98 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 105.27 ns 0.042 ns 0.035 ns 1.12 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 293.7 ns 0.27 ns 0.25 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 296.3 ns 0.18 ns 0.16 ns 1.01 - - NA
InvokeStaticWithFeedback 552.3 ns 0.33 ns 0.29 ns 1.88 0.0038 312 B NA
InvokeInstanceEmpty 305.9 ns 0.19 ns 0.16 ns 1.04 - - NA
InvokeInstanceWithFeedback 550.9 ns 0.91 ns 0.85 ns 1.88 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.416 μs 0.0148 μs 0.0138 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,951.6 ns 36.52 ns 34.16 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 577.0 ns 0.75 ns 0.66 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 62,531.5 ns 59.48 ns 55.64 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 568.7 ns 0.22 ns 0.19 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,526,806.5 ns 41,816.29 ns 37,069.05 ns 1.000 0.01 62.5000 62.5000 62.5000 2400748 B 1.000
InvokeSingleStringPreallocated 100000 603.1 ns 0.34 ns 0.30 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,043.6 ns 7.76 ns 7.26 ns - 104 B
PredicateRoundTrip False False True 1,059.7 ns 8.83 ns 8.26 ns - 104 B
PredicateRoundTrip False True False 1,387.7 ns 12.49 ns 11.68 ns 0.0019 200 B
PredicateRoundTrip False True True 5,247.9 ns 30.36 ns 28.40 ns 0.0076 760 B
PredicateRoundTrip True False False 451.4 ns 0.22 ns 0.20 ns - 24 B
PredicateRoundTrip True False True 454.0 ns 0.18 ns 0.14 ns - 24 B
PredicateRoundTrip True True False 699.8 ns 0.68 ns 0.53 ns 0.0010 120 B
PredicateRoundTrip True True True 4,534.7 ns 29.52 ns 26.16 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 604.79 ns 1.221 ns 1.142 ns 0.0011 80 B
PredicateSustained False False True 607.58 ns 4.507 ns 4.216 ns - 80 B
PredicateSustained False True False 815.23 ns 2.571 ns 2.405 ns 0.0014 176 B
PredicateSustained False True True 4,202.44 ns 18.940 ns 17.717 ns 0.0100 736 B
PredicateSustained True False False 43.42 ns 0.021 ns 0.020 ns - -
PredicateSustained True False True 43.66 ns 0.025 ns 0.024 ns - -
PredicateSustained True True False 259.12 ns 0.472 ns 0.441 ns 0.0013 96 B
PredicateSustained True True True 3,464.03 ns 17.117 ns 16.012 ns - 656 B

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 535.1 ns 0.44 ns 0.39 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,982.6 ns 13.76 ns 12.87 ns 13.05 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,116.6 ns 5.44 ns 5.09 ns 2.09 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,125.9 ns 2.70 ns 2.39 ns 2.10 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,801.4 ns 18.09 ns 16.93 ns 16.45 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 538.4 ns 0.34 ns 0.30 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 546,095.2 ns 1,426.21 ns 1,334.08 ns 1,014.22 2.46 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,699.3 ns 6.83 ns 6.06 ns 3.16 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,711.2 ns 4.70 ns 4.40 ns 3.18 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 722,431.3 ns 2,739.86 ns 2,287.91 ns 1,341.71 4.16 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 536.2 ns 0.37 ns 0.33 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,321,054.3 ns 222,271.90 ns 207,913.27 ns 106,900.40 380.87 333.3333 222.2222 222.2222 16001258 B 51,286.08
InvokeIntArrayFixed 100000 45,346.8 ns 301.27 ns 281.81 ns 84.57 0.51 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 45,079.5 ns 269.66 ns 239.04 ns 84.07 0.43 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,680,678.6 ns 164,083.79 ns 137,017.40 ns 156,059.55 263.22 857.1429 714.2857 571.4286 27893871 B 89,403.43

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.032 μs 0.0031 μs 0.0024 μs 1.032 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.043 μs 0.0095 μs 0.0089 μs 1.036 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.023 μs 0.0087 μs 0.0081 μs 1.017 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 96.89 ns 0.045 ns 0.040 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 120.97 ns 0.044 ns 0.037 ns 1.25 0.0002 24 B 1.00
GetInstanceStringField 106.23 ns 0.024 ns 0.022 ns 1.10 - - 0.00
SetInstanceStringField 670.77 ns 1.237 ns 1.157 ns 6.92 0.0038 256 B 10.67
GetStaticIntField 112.97 ns 0.040 ns 0.034 ns 1.17 0.0004 24 B 1.00
SetStaticIntField 116.99 ns 0.029 ns 0.024 ns 1.21 0.0002 24 B 1.00
GetStaticStringField 99.67 ns 0.016 ns 0.015 ns 1.03 - - 0.00
SetStaticStringField 665.60 ns 0.966 ns 0.903 ns 6.87 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 105.13 ns 0.045 ns 0.038 ns 1.09 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 300.1 ns 0.16 ns 0.15 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 306.7 ns 0.26 ns 0.24 ns 1.02 - - NA
InvokeStaticWithFeedback 525.2 ns 0.28 ns 0.22 ns 1.75 0.0038 312 B NA
InvokeInstanceEmpty 317.0 ns 0.11 ns 0.10 ns 1.06 - - NA
InvokeInstanceWithFeedback 541.8 ns 0.35 ns 0.31 ns 1.81 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.283 μs 0.0020 μs 0.0018 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,905.5 ns 21.61 ns 20.21 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 573.8 ns 0.38 ns 0.34 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 59,389.7 ns 212.96 ns 188.78 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 585.9 ns 0.37 ns 0.33 ns 0.010 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,692,583.1 ns 63,477.10 ns 59,376.52 ns 1.000 62.5000 62.5000 62.5000 2400840 B 1.000
InvokeSingleStringPreallocated 100000 594.5 ns 0.39 ns 0.35 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,022.0 ns 5.91 ns 5.53 ns - 104 B
PredicateRoundTrip False False True 1,032.0 ns 7.87 ns 7.36 ns - 104 B
PredicateRoundTrip False True False 1,263.0 ns 8.40 ns 7.86 ns 0.0019 200 B
PredicateRoundTrip False True True 5,183.4 ns 50.92 ns 47.63 ns 0.0076 760 B
PredicateRoundTrip True False False 444.3 ns 0.46 ns 0.43 ns - 24 B
PredicateRoundTrip True False True 450.3 ns 0.37 ns 0.35 ns - 24 B
PredicateRoundTrip True True False 686.8 ns 2.38 ns 1.86 ns 0.0010 120 B
PredicateRoundTrip True True True 4,370.5 ns 30.99 ns 28.99 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 593.48 ns 3.335 ns 3.120 ns 0.0011 80 B
PredicateSustained False False True 585.23 ns 0.528 ns 0.468 ns 0.0011 80 B
PredicateSustained False True False 798.05 ns 0.713 ns 0.557 ns 0.0014 176 B
PredicateSustained False True True 4,243.06 ns 26.149 ns 24.460 ns 0.0100 736 B
PredicateSustained True False False 44.99 ns 0.894 ns 1.224 ns - -
PredicateSustained True False True 44.65 ns 0.858 ns 1.174 ns - -
PredicateSustained True True False 258.00 ns 0.424 ns 0.397 ns 0.0013 96 B
PredicateSustained True True True 3,408.91 ns 23.618 ns 22.093 ns - 656 B

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 548.2 ns 0.90 ns 0.80 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,422.6 ns 14.12 ns 12.52 ns 13.54 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,127.4 ns 2.39 ns 2.23 ns 2.06 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,152.4 ns 1.72 ns 1.53 ns 2.10 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,104.8 ns 43.65 ns 40.83 ns 16.61 0.08 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 546.3 ns 0.89 ns 0.79 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 547,603.8 ns 1,109.33 ns 1,037.67 ns 1,002.44 2.31 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,659.6 ns 6.02 ns 5.33 ns 3.04 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,577.6 ns 7.03 ns 6.57 ns 2.89 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 726,259.6 ns 1,005.34 ns 784.90 ns 1,329.48 2.32 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 553.9 ns 0.73 ns 0.64 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,046,968.6 ns 270,914.00 ns 253,413.12 ns 104,791.10 458.35 333.3333 222.2222 222.2222 16001403 B 51,286.55
InvokeIntArrayFixed 100000 44,448.4 ns 377.20 ns 352.83 ns 80.24 0.62 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 44,781.0 ns 358.21 ns 317.54 ns 80.84 0.56 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,710,510.4 ns 1,130,040.69 ns 1,057,040.77 ns 147,510.45 1,855.35 1000.0000 833.3333 833.3333 27896893 B 89,413.12

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.054 μs 0.0109 μs 0.0102 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.057 μs 0.0093 μs 0.0087 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.038 μs 0.0084 μs 0.0078 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 95.69 ns 0.041 ns 0.037 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 121.47 ns 0.046 ns 0.041 ns 1.27 0.0002 24 B 1.00
GetInstanceStringField 112.84 ns 0.024 ns 0.023 ns 1.18 - - 0.00
SetInstanceStringField 667.03 ns 0.925 ns 0.866 ns 6.97 0.0038 256 B 10.67
GetStaticIntField 114.16 ns 0.014 ns 0.012 ns 1.19 0.0004 24 B 1.00
SetStaticIntField 116.40 ns 0.035 ns 0.031 ns 1.22 0.0002 24 B 1.00
GetStaticStringField 107.32 ns 0.033 ns 0.029 ns 1.12 - - 0.00
SetStaticStringField 659.52 ns 0.987 ns 0.923 ns 6.89 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 115.57 ns 0.074 ns 0.066 ns 1.21 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 303.8 ns 0.19 ns 0.18 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 307.2 ns 0.13 ns 0.12 ns 1.01 - - NA
InvokeStaticWithFeedback 528.5 ns 0.68 ns 0.60 ns 1.74 0.0038 312 B NA
InvokeInstanceEmpty 319.4 ns 0.19 ns 0.17 ns 1.05 - - NA
InvokeInstanceWithFeedback 545.4 ns 0.21 ns 0.19 ns 1.80 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.340 μs 0.0054 μs 0.0051 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,986.4 ns 12.49 ns 9.75 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 568.3 ns 0.20 ns 0.17 ns 0.29 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 62,424.8 ns 306.79 ns 286.97 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 579.5 ns 0.48 ns 0.42 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,132,953.1 ns 109,925.64 ns 102,824.52 ns 1.000 0.02 62.5000 62.5000 62.5000 2400731 B 1.000
InvokeSingleStringPreallocated 100000 598.6 ns 0.51 ns 0.45 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,017.7 ns 8.19 ns 7.66 ns - 104 B
PredicateRoundTrip False False True 1,039.6 ns 9.10 ns 8.52 ns - 104 B
PredicateRoundTrip False True False 1,881.0 ns 35.26 ns 32.98 ns - 200 B
PredicateRoundTrip False True True 5,540.6 ns 26.13 ns 23.17 ns 0.0076 760 B
PredicateRoundTrip True False False 437.6 ns 0.47 ns 0.44 ns - 24 B
PredicateRoundTrip True False True 440.3 ns 0.59 ns 0.55 ns - 24 B
PredicateRoundTrip True True False 691.1 ns 4.84 ns 3.78 ns 0.0010 120 B
PredicateRoundTrip True True True 5,048.6 ns 45.51 ns 42.57 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 597.41 ns 3.232 ns 3.024 ns 0.0011 80 B
PredicateSustained False False True 600.15 ns 0.709 ns 0.553 ns 0.0011 80 B
PredicateSustained False True False 807.51 ns 5.560 ns 5.200 ns 0.0014 176 B
PredicateSustained False True True 4,420.57 ns 76.500 ns 63.881 ns 0.0100 736 B
PredicateSustained True False False 44.65 ns 0.400 ns 0.374 ns - -
PredicateSustained True False True 44.44 ns 0.437 ns 0.387 ns - -
PredicateSustained True True False 257.54 ns 0.518 ns 0.484 ns 0.0013 96 B
PredicateSustained True True True 3,570.68 ns 38.538 ns 32.181 ns - 656 B

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 533.3 ns 0.49 ns 0.44 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,006.7 ns 18.48 ns 17.28 ns 13.14 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,132.7 ns 2.37 ns 2.22 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,135.1 ns 2.79 ns 2.61 ns 2.13 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,004.9 ns 16.19 ns 14.35 ns 16.89 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 519.0 ns 0.87 ns 0.73 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 550,553.9 ns 1,531.02 ns 1,432.12 ns 1,060.87 3.03 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,846.1 ns 2.92 ns 2.28 ns 3.56 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,867.4 ns 7.56 ns 6.70 ns 3.60 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 738,472.1 ns 477.46 ns 372.77 ns 1,422.98 2.04 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 523.9 ns 0.47 ns 0.41 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 56,403,266.9 ns 334,825.58 ns 313,196.06 ns 107,659.54 584.69 333.3333 222.2222 222.2222 16001513 B 51,286.90
InvokeIntArrayFixed 100000 60,184.7 ns 525.42 ns 465.77 ns 114.88 0.86 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 59,675.3 ns 227.14 ns 201.35 ns 113.90 0.38 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,504,263.9 ns 1,090,278.81 ns 1,019,847.48 ns 157,479.73 1,888.92 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.060 μs 0.0024 μs 0.0020 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.057 μs 0.0008 μs 0.0006 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.059 μs 0.0085 μs 0.0079 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 95.91 ns 0.041 ns 0.037 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 114.67 ns 0.051 ns 0.045 ns 1.20 0.0004 24 B 1.00
GetInstanceStringField 109.67 ns 0.015 ns 0.014 ns 1.14 - - 0.00
SetInstanceStringField 654.81 ns 1.394 ns 1.304 ns 6.83 0.0038 256 B 10.67
GetStaticIntField 117.82 ns 0.025 ns 0.022 ns 1.23 0.0002 24 B 1.00
SetStaticIntField 117.19 ns 0.050 ns 0.045 ns 1.22 0.0002 24 B 1.00
GetStaticStringField 98.60 ns 0.024 ns 0.023 ns 1.03 - - 0.00
SetStaticStringField 652.20 ns 1.555 ns 1.379 ns 6.80 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 110.21 ns 0.031 ns 0.027 ns 1.15 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 366.1 ns 0.34 ns 0.30 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 375.1 ns 0.45 ns 0.42 ns 1.02 - - NA
InvokeStaticWithFeedback 532.4 ns 0.30 ns 0.25 ns 1.45 0.0038 312 B NA
InvokeInstanceEmpty 374.8 ns 0.39 ns 0.36 ns 1.02 - - NA
InvokeInstanceWithFeedback 535.7 ns 0.35 ns 0.29 ns 1.46 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.281 μs 0.0032 μs 0.0030 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,928.9 ns 1.72 ns 1.43 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 570.2 ns 0.24 ns 0.20 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 61,120.6 ns 208.73 ns 185.03 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 562.9 ns 0.29 ns 0.26 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,136,425.4 ns 53,357.44 ns 47,299.98 ns 1.000 62.5000 62.5000 62.5000 2400815 B 1.000
InvokeSingleStringPreallocated 100000 592.0 ns 0.33 ns 0.29 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,061.1 ns 5.85 ns 5.48 ns - 104 B
PredicateRoundTrip False False True 1,074.4 ns 8.00 ns 7.48 ns - 104 B
PredicateRoundTrip False True False 1,312.3 ns 5.65 ns 5.01 ns 0.0019 200 B
PredicateRoundTrip False True True 4,923.0 ns 19.52 ns 16.30 ns 0.0076 760 B
PredicateRoundTrip True False False 450.9 ns 0.80 ns 0.74 ns - 24 B
PredicateRoundTrip True False True 455.9 ns 0.72 ns 0.68 ns - 24 B
PredicateRoundTrip True True False 706.4 ns 1.01 ns 0.90 ns 0.0010 120 B
PredicateRoundTrip True True True 4,121.3 ns 8.07 ns 7.15 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 610.79 ns 0.828 ns 0.692 ns 0.0011 80 B
PredicateSustained False False True 607.40 ns 0.952 ns 0.795 ns 0.0011 80 B
PredicateSustained False True False 822.66 ns 4.107 ns 3.842 ns 0.0014 176 B
PredicateSustained False True True 4,206.81 ns 12.514 ns 11.706 ns 0.0100 736 B
PredicateSustained True False False 50.88 ns 0.928 ns 0.868 ns - -
PredicateSustained True False True 51.26 ns 0.819 ns 0.766 ns - -
PredicateSustained True True False 272.23 ns 0.567 ns 0.530 ns 0.0013 96 B
PredicateSustained True True True 3,491.68 ns 11.031 ns 10.318 ns - 656 B

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 529.9 ns 0.37 ns 0.33 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,797.5 ns 16.23 ns 15.18 ns 12.83 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,097.6 ns 1.47 ns 1.31 ns 2.07 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,125.8 ns 1.08 ns 0.96 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,739.6 ns 13.97 ns 12.38 ns 16.49 0.02 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 536.8 ns 0.19 ns 0.17 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 533,343.9 ns 1,215.49 ns 1,136.97 ns 993.49 2.07 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,827.2 ns 4.65 ns 4.35 ns 3.40 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,843.1 ns 2.66 ns 2.36 ns 3.43 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 726,599.6 ns 788.32 ns 615.47 ns 1,353.48 1.18 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 541.1 ns 0.40 ns 0.35 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 56,462,230.7 ns 267,581.03 ns 250,295.46 ns 104,348.09 452.75 333.3333 222.2222 222.2222 16001173 B 51,285.81
InvokeIntArrayFixed 100000 60,186.3 ns 305.78 ns 286.02 ns 111.23 0.52 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,263.1 ns 451.72 ns 400.44 ns 111.37 0.72 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,650,443.8 ns 644,203.97 ns 602,588.80 ns 152,746.63 1,082.74 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.067 μs 0.0103 μs 0.0096 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.064 μs 0.0105 μs 0.0098 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.069 μs 0.0109 μs 0.0102 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 91.46 ns 0.017 ns 0.015 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 104.39 ns 0.020 ns 0.018 ns 1.14 0.0004 24 B 1.00
GetInstanceStringField 97.93 ns 0.009 ns 0.008 ns 1.07 - - 0.00
SetInstanceStringField 657.23 ns 0.793 ns 0.703 ns 7.19 0.0038 256 B 10.67
GetStaticIntField 101.65 ns 0.022 ns 0.019 ns 1.11 0.0004 24 B 1.00
SetStaticIntField 104.64 ns 0.026 ns 0.023 ns 1.14 0.0004 24 B 1.00
GetStaticStringField 91.59 ns 0.013 ns 0.012 ns 1.00 - - 0.00
SetStaticStringField 644.72 ns 0.771 ns 0.721 ns 7.05 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 104.24 ns 0.065 ns 0.061 ns 1.14 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 300.5 ns 0.10 ns 0.09 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 301.0 ns 0.16 ns 0.15 ns 1.00 - - NA
InvokeStaticWithFeedback 540.0 ns 0.32 ns 0.28 ns 1.80 0.0038 312 B NA
InvokeInstanceEmpty 298.3 ns 0.77 ns 0.72 ns 0.99 - - NA
InvokeInstanceWithFeedback 541.2 ns 0.45 ns 0.40 ns 1.80 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.299 μs 0.0027 μs 0.0025 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,874.8 ns 2.12 ns 1.98 ns 1.00 0.0095 - - 656 B 1.00
InvokeSingleStringPreallocated 10 570.0 ns 0.16 ns 0.13 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 58,202.9 ns 144.85 ns 128.41 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 567.0 ns 0.19 ns 0.15 ns 0.010 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,756,036.4 ns 70,490.89 ns 65,937.22 ns 1.000 62.5000 62.5000 62.5000 2400824 B 1.000
InvokeSingleStringPreallocated 100000 589.5 ns 0.25 ns 0.21 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,028.9 ns 5.08 ns 4.50 ns - 104 B
PredicateRoundTrip False False True 1,013.3 ns 4.52 ns 4.00 ns - 104 B
PredicateRoundTrip False True False 1,259.4 ns 5.44 ns 5.09 ns 0.0019 200 B
PredicateRoundTrip False True True 4,881.7 ns 38.94 ns 36.42 ns 0.0076 760 B
PredicateRoundTrip True False False 455.8 ns 0.31 ns 0.28 ns - 24 B
PredicateRoundTrip True False True 456.5 ns 0.30 ns 0.25 ns - 24 B
PredicateRoundTrip True True False 695.6 ns 1.35 ns 1.19 ns 0.0010 120 B
PredicateRoundTrip True True True 4,144.7 ns 17.78 ns 16.64 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 578.16 ns 1.061 ns 0.886 ns 0.0011 80 B
PredicateSustained False False True 574.29 ns 0.289 ns 0.226 ns 0.0011 80 B
PredicateSustained False True False 776.95 ns 0.987 ns 0.825 ns 0.0014 176 B
PredicateSustained False True True 4,261.37 ns 22.051 ns 20.626 ns 0.0100 736 B
PredicateSustained True False False 43.43 ns 0.734 ns 0.687 ns - -
PredicateSustained True False True 44.00 ns 0.657 ns 0.614 ns - -
PredicateSustained True True False 256.14 ns 0.248 ns 0.232 ns 0.0013 96 B
PredicateSustained True True True 3,331.66 ns 32.655 ns 30.545 ns - 656 B

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 535.3 ns 0.39 ns 0.35 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,317.5 ns 17.46 ns 13.63 ns 13.67 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,113.4 ns 1.61 ns 1.43 ns 2.08 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,113.4 ns 1.99 ns 1.76 ns 2.08 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,694.2 ns 23.67 ns 22.14 ns 16.24 0.04 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 530.6 ns 0.16 ns 0.13 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 543,278.3 ns 1,181.03 ns 1,046.95 ns 1,023.98 1.92 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,833.5 ns 10.41 ns 9.22 ns 3.46 0.02 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,813.7 ns 6.96 ns 6.51 ns 3.42 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 719,190.4 ns 537.24 ns 419.44 ns 1,355.54 0.82 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 551.4 ns 0.54 ns 0.48 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 56,639,744.9 ns 175,010.55 ns 163,704.98 ns 102,728.88 300.15 333.3333 222.2222 222.2222 16001433 B 51,286.64
InvokeIntArrayFixed 100000 59,835.5 ns 286.67 ns 223.81 ns 108.53 0.40 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,229.5 ns 547.74 ns 512.35 ns 109.24 0.90 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,200,771.4 ns 612,053.18 ns 542,569.21 ns 147,275.81 958.69 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.050 μs 0.0108 μs 0.0101 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.036 μs 0.0110 μs 0.0103 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.037 μs 0.0011 μs 0.0008 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 95.63 ns 0.020 ns 0.016 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 117.88 ns 0.033 ns 0.027 ns 1.23 0.0002 24 B 1.00
GetInstanceStringField 106.65 ns 0.015 ns 0.014 ns 1.12 - - 0.00
SetInstanceStringField 667.93 ns 1.438 ns 1.345 ns 6.98 0.0038 256 B 10.67
GetStaticIntField 118.03 ns 0.029 ns 0.026 ns 1.23 0.0002 24 B 1.00
SetStaticIntField 112.50 ns 0.032 ns 0.027 ns 1.18 0.0004 24 B 1.00
GetStaticStringField 99.43 ns 0.014 ns 0.012 ns 1.04 - - 0.00
SetStaticStringField 666.89 ns 1.074 ns 1.004 ns 6.97 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 113.43 ns 0.029 ns 0.026 ns 1.19 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 307.6 ns 0.12 ns 0.11 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 306.9 ns 0.21 ns 0.19 ns 1.00 - - NA
InvokeStaticWithFeedback 542.3 ns 0.70 ns 0.55 ns 1.76 0.0038 312 B NA
InvokeInstanceEmpty 313.0 ns 0.12 ns 0.11 ns 1.02 - - NA
InvokeInstanceWithFeedback 542.8 ns 1.10 ns 1.03 ns 1.76 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.307 μs 0.0047 μs 0.0042 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,848.5 ns 6.82 ns 6.38 ns 1.00 0.00 0.0095 - - 656 B 1.00
InvokeSingleStringPreallocated 10 566.6 ns 0.27 ns 0.23 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 57,504.6 ns 118.72 ns 105.24 ns 1.000 0.00 0.3052 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 572.5 ns 0.41 ns 0.35 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,916,768.7 ns 109,878.76 ns 102,780.66 ns 1.000 0.02 62.5000 62.5000 62.5000 2400738 B 1.000
InvokeSingleStringPreallocated 100000 594.7 ns 0.39 ns 0.33 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,026.2 ns 7.58 ns 7.09 ns - 104 B
PredicateRoundTrip False False True 1,021.2 ns 5.24 ns 4.65 ns - 104 B
PredicateRoundTrip False True False 1,313.8 ns 12.72 ns 11.90 ns 0.0019 200 B
PredicateRoundTrip False True True 5,757.7 ns 73.76 ns 69.00 ns 0.0076 760 B
PredicateRoundTrip True False False 443.3 ns 3.75 ns 3.51 ns - 24 B
PredicateRoundTrip True False True 445.4 ns 3.82 ns 3.57 ns - 24 B
PredicateRoundTrip True True False 685.2 ns 1.54 ns 1.36 ns 0.0010 120 B
PredicateRoundTrip True True True 5,041.5 ns 38.09 ns 35.63 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 585.93 ns 0.507 ns 0.449 ns 0.0011 80 B
PredicateSustained False False True 583.87 ns 0.391 ns 0.347 ns 0.0011 80 B
PredicateSustained False True False 802.28 ns 6.407 ns 5.993 ns 0.0014 176 B
PredicateSustained False True True 4,534.92 ns 36.783 ns 34.406 ns 0.0100 736 B
PredicateSustained True False False 46.41 ns 0.891 ns 1.061 ns - -
PredicateSustained True False True 45.17 ns 0.721 ns 0.602 ns - -
PredicateSustained True True False 259.38 ns 0.468 ns 0.438 ns 0.0013 96 B
PredicateSustained True True True 3,569.66 ns 25.525 ns 23.876 ns - 656 B

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 551.1 ns 0.30 ns 0.27 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,905.1 ns 9.70 ns 8.60 ns 12.53 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,158.7 ns 1.28 ns 1.14 ns 2.10 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,153.4 ns 2.04 ns 1.90 ns 2.09 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,906.0 ns 16.65 ns 13.91 ns 16.16 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 550.7 ns 0.83 ns 0.77 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 541,988.7 ns 1,346.95 ns 1,259.94 ns 984.20 2.59 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,866.2 ns 6.52 ns 5.78 ns 3.39 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,872.6 ns 7.41 ns 6.93 ns 3.40 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 729,640.9 ns 1,624.18 ns 1,356.27 ns 1,324.96 2.98 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 545.3 ns 0.28 ns 0.24 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,454,677.1 ns 146,049.65 ns 136,614.93 ns 105,364.39 246.88 333.3333 222.2222 222.2222 16001182 B 51,285.84
InvokeIntArrayFixed 100000 60,321.2 ns 366.94 ns 343.23 ns 110.62 0.61 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,380.8 ns 274.28 ns 243.14 ns 110.73 0.43 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,524,134.3 ns 403,726.51 ns 357,893.03 ns 155,006.24 637.63 857.1429 714.2857 571.4286 27893862 B 89,403.40

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.061 μs 0.0100 μs 0.0094 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.053 μs 0.0073 μs 0.0068 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.058 μs 0.0073 μs 0.0069 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 95.94 ns 0.032 ns 0.028 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 118.93 ns 0.029 ns 0.024 ns 1.24 0.0002 24 B 1.00
GetInstanceStringField 102.44 ns 0.018 ns 0.016 ns 1.07 - - 0.00
SetInstanceStringField 658.45 ns 1.075 ns 1.005 ns 6.86 0.0038 256 B 10.67
GetStaticIntField 111.40 ns 0.028 ns 0.025 ns 1.16 0.0004 24 B 1.00
SetStaticIntField 112.17 ns 0.012 ns 0.010 ns 1.17 0.0004 24 B 1.00
GetStaticStringField 98.28 ns 0.031 ns 0.025 ns 1.02 - - 0.00
SetStaticStringField 657.08 ns 1.009 ns 0.895 ns 6.85 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 115.44 ns 0.093 ns 0.087 ns 1.20 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 298.5 ns 0.49 ns 0.46 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 309.4 ns 0.18 ns 0.17 ns 1.04 - - NA
InvokeStaticWithFeedback 541.6 ns 0.40 ns 0.36 ns 1.81 0.0038 312 B NA
InvokeInstanceEmpty 313.0 ns 0.21 ns 0.17 ns 1.05 - - NA
InvokeInstanceWithFeedback 566.0 ns 0.26 ns 0.23 ns 1.90 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.352 μs 0.0136 μs 0.0127 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,934.4 ns 16.56 ns 15.49 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 587.9 ns 0.47 ns 0.42 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,001.5 ns 270.44 ns 252.97 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 582.6 ns 0.26 ns 0.22 ns 0.010 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,060,216.4 ns 73,799.90 ns 69,032.48 ns 1.000 62.5000 62.5000 62.5000 2400749 B 1.000
InvokeSingleStringPreallocated 100000 623.6 ns 0.35 ns 0.31 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,030.9 ns 7.06 ns 6.25 ns - 104 B
PredicateRoundTrip False False True 1,050.3 ns 6.65 ns 6.22 ns - 104 B
PredicateRoundTrip False True False 1,289.4 ns 9.03 ns 8.45 ns 0.0019 200 B
PredicateRoundTrip False True True 5,575.2 ns 68.14 ns 53.20 ns 0.0076 760 B
PredicateRoundTrip True False False 455.7 ns 0.61 ns 0.54 ns - 24 B
PredicateRoundTrip True False True 450.9 ns 0.27 ns 0.24 ns - 24 B
PredicateRoundTrip True True False 702.1 ns 5.51 ns 4.88 ns 0.0010 120 B
PredicateRoundTrip True True True 4,897.8 ns 78.02 ns 65.15 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 582.68 ns 1.068 ns 0.834 ns 0.0011 80 B
PredicateSustained False False True 585.09 ns 0.714 ns 0.557 ns 0.0011 80 B
PredicateSustained False True False 791.73 ns 4.174 ns 3.904 ns 0.0014 176 B
PredicateSustained False True True 4,135.32 ns 60.277 ns 50.334 ns 0.0100 736 B
PredicateSustained True False False 42.28 ns 0.158 ns 0.147 ns - -
PredicateSustained True False True 41.74 ns 0.427 ns 0.399 ns - -
PredicateSustained True True False 257.59 ns 0.375 ns 0.313 ns 0.0013 96 B
PredicateSustained True True True 3,276.45 ns 24.401 ns 29.967 ns - 656 B

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 562.4 ns 0.48 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,843.0 ns 11.42 ns 10.13 ns 12.17 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,124.8 ns 3.15 ns 2.95 ns 2.00 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,131.7 ns 2.26 ns 2.11 ns 2.01 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,595.9 ns 49.37 ns 46.18 ns 17.06 0.08 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 534.2 ns 0.13 ns 0.11 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 548,322.7 ns 1,359.77 ns 1,271.93 ns 1,026.45 2.31 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,857.3 ns 4.44 ns 4.15 ns 3.48 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,887.8 ns 5.92 ns 5.54 ns 3.53 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 747,676.3 ns 520.98 ns 461.84 ns 1,399.63 0.88 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 541.2 ns 0.30 ns 0.27 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,393,485.2 ns 191,464.42 ns 179,095.94 ns 106,043.62 324.42 333.3333 222.2222 222.2222 16000964 B 51,285.14
InvokeIntArrayFixed 100000 61,557.7 ns 569.30 ns 532.52 ns 113.74 0.95 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,636.2 ns 425.54 ns 398.05 ns 113.88 0.71 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,527,296.7 ns 771,612.81 ns 684,014.66 ns 154,330.01 1,223.19 1000.0000 833.3333 833.3333 27896893 B 89,413.12

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.071 μs 0.0079 μs 0.0070 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.056 μs 0.0097 μs 0.0090 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.065 μs 0.0093 μs 0.0087 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 91.67 ns 0.022 ns 0.018 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 110.85 ns 0.079 ns 0.061 ns 1.21 0.00 0.0004 24 B 1.00
GetInstanceStringField 101.00 ns 0.012 ns 0.010 ns 1.10 0.00 - - 0.00
SetInstanceStringField 672.95 ns 1.551 ns 1.450 ns 7.34 0.02 0.0038 256 B 10.67
GetStaticIntField 108.71 ns 0.112 ns 0.105 ns 1.19 0.00 0.0004 24 B 1.00
SetStaticIntField 110.04 ns 0.178 ns 0.166 ns 1.20 0.00 0.0004 24 B 1.00
GetStaticStringField 95.31 ns 0.018 ns 0.016 ns 1.04 0.00 - - 0.00
SetStaticStringField 661.29 ns 0.760 ns 0.711 ns 7.21 0.01 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 105.55 ns 0.107 ns 0.100 ns 1.15 0.00 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 298.7 ns 0.27 ns 0.24 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 301.6 ns 0.21 ns 0.19 ns 1.01 - - NA
InvokeStaticWithFeedback 546.4 ns 0.42 ns 0.37 ns 1.83 0.0038 312 B NA
InvokeInstanceEmpty 302.6 ns 0.23 ns 0.19 ns 1.01 - - NA
InvokeInstanceWithFeedback 563.9 ns 0.49 ns 0.43 ns 1.89 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.295 μs 0.0022 μs 0.0020 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,891.1 ns 9.92 ns 7.75 ns 1.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 574.6 ns 0.42 ns 0.37 ns 0.30 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 62,020.2 ns 275.03 ns 257.26 ns 1.000 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 579.1 ns 0.29 ns 0.25 ns 0.009 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,948,649.3 ns 82,604.94 ns 77,268.72 ns 1.000 62.5000 62.5000 62.5000 2400839 B 1.000
InvokeSingleStringPreallocated 100000 606.1 ns 0.48 ns 0.40 ns 0.000 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,059.0 ns 5.92 ns 5.54 ns - 104 B
PredicateRoundTrip False False True 1,056.1 ns 5.33 ns 4.99 ns - 104 B
PredicateRoundTrip False True False 1,375.0 ns 13.70 ns 12.81 ns 0.0019 200 B
PredicateRoundTrip False True True 5,488.7 ns 44.40 ns 41.53 ns 0.0076 760 B
PredicateRoundTrip True False False 464.1 ns 0.26 ns 0.21 ns - 24 B
PredicateRoundTrip True False True 460.5 ns 0.55 ns 0.49 ns - 24 B
PredicateRoundTrip True True False 690.3 ns 0.84 ns 0.70 ns 0.0010 120 B
PredicateRoundTrip True True True 4,608.5 ns 32.02 ns 29.95 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 607.90 ns 0.811 ns 0.633 ns 0.0011 80 B
PredicateSustained False False True 602.43 ns 2.881 ns 2.694 ns 0.0011 80 B
PredicateSustained False True False 802.94 ns 4.900 ns 4.584 ns 0.0014 176 B
PredicateSustained False True True 4,383.98 ns 40.727 ns 38.096 ns 0.0100 736 B
PredicateSustained True False False 46.27 ns 0.528 ns 0.494 ns - -
PredicateSustained True False True 43.43 ns 0.809 ns 0.757 ns - -
PredicateSustained True True False 259.01 ns 0.393 ns 0.348 ns 0.0013 96 B
PredicateSustained True True True 3,608.36 ns 34.819 ns 32.570 ns - 656 B

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 536.1 ns 0.82 ns 0.68 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,201.6 ns 23.47 ns 21.95 ns 13.43 0.04 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,123.1 ns 1.27 ns 1.13 ns 2.09 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,138.3 ns 2.92 ns 2.73 ns 2.12 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,777.8 ns 11.14 ns 10.42 ns 16.37 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 534.7 ns 0.41 ns 0.32 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 545,793.8 ns 1,030.49 ns 963.92 ns 1,020.67 1.84 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,843.2 ns 4.72 ns 4.42 ns 3.45 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,849.7 ns 7.21 ns 6.74 ns 3.46 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 729,217.1 ns 994.41 ns 830.37 ns 1,363.68 1.69 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 536.8 ns 0.67 ns 0.56 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,580,934.9 ns 185,125.48 ns 173,166.49 ns 107,274.93 330.46 333.3333 222.2222 222.2222 16001232 B 51,286.00
InvokeIntArrayFixed 100000 60,124.7 ns 336.02 ns 314.31 ns 112.01 0.58 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 59,967.7 ns 303.99 ns 284.36 ns 111.72 0.53 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,545,604.3 ns 522,038.85 ns 488,315.46 ns 153,784.82 894.54 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.021 μs 0.0013 μs 0.0010 μs 1.022 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.039 μs 0.0016 μs 0.0013 μs 1.039 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.046 μs 0.0096 μs 0.0090 μs 1.039 μs 1.02 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 96.53 ns 0.024 ns 0.021 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 119.86 ns 0.024 ns 0.021 ns 1.24 0.0002 24 B 1.00
GetInstanceStringField 106.80 ns 0.010 ns 0.009 ns 1.11 - - 0.00
SetInstanceStringField 663.42 ns 0.783 ns 0.733 ns 6.87 0.0038 256 B 10.67
GetStaticIntField 115.02 ns 0.053 ns 0.047 ns 1.19 0.0004 24 B 1.00
SetStaticIntField 111.61 ns 0.030 ns 0.026 ns 1.16 0.0004 24 B 1.00
GetStaticStringField 101.08 ns 0.018 ns 0.017 ns 1.05 - - 0.00
SetStaticStringField 661.82 ns 1.069 ns 1.000 ns 6.86 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 111.20 ns 0.077 ns 0.068 ns 1.15 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 308.0 ns 0.21 ns 0.20 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 311.3 ns 0.36 ns 0.33 ns 1.01 - - NA
InvokeStaticWithFeedback 527.2 ns 0.32 ns 0.29 ns 1.71 0.0038 312 B NA
InvokeInstanceEmpty 321.5 ns 0.73 ns 0.69 ns 1.04 - - NA
InvokeInstanceWithFeedback 541.9 ns 0.28 ns 0.23 ns 1.76 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.322 μs 0.0044 μs 0.0041 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,883.2 ns 4.45 ns 3.48 ns 1.00 0.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 580.0 ns 0.29 ns 0.24 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,226.3 ns 119.56 ns 111.83 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 559.5 ns 0.26 ns 0.23 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,874,840.7 ns 115,199.89 ns 107,758.05 ns 1.000 0.02 62.5000 62.5000 62.5000 2400809 B 1.000
InvokeSingleStringPreallocated 100000 603.3 ns 0.23 ns 0.20 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,044.8 ns 5.25 ns 4.91 ns - 104 B
PredicateRoundTrip False False True 1,030.7 ns 5.53 ns 4.90 ns - 104 B
PredicateRoundTrip False True False 1,285.0 ns 5.66 ns 5.30 ns 0.0019 200 B
PredicateRoundTrip False True True 5,228.8 ns 53.26 ns 49.82 ns 0.0076 760 B
PredicateRoundTrip True False False 446.8 ns 0.44 ns 0.41 ns - 24 B
PredicateRoundTrip True False True 458.3 ns 0.17 ns 0.13 ns - 24 B
PredicateRoundTrip True True False 705.5 ns 1.05 ns 0.82 ns 0.0010 120 B
PredicateRoundTrip True True True 4,373.1 ns 38.65 ns 36.15 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 598.70 ns 0.341 ns 0.266 ns 0.0011 80 B
PredicateSustained False False True 587.63 ns 0.561 ns 0.468 ns 0.0011 80 B
PredicateSustained False True False 799.18 ns 6.271 ns 5.866 ns 0.0014 176 B
PredicateSustained False True True 4,244.38 ns 25.163 ns 23.537 ns 0.0100 736 B
PredicateSustained True False False 46.63 ns 0.904 ns 1.110 ns - -
PredicateSustained True False True 45.50 ns 0.814 ns 0.762 ns - -
PredicateSustained True True False 257.80 ns 0.451 ns 0.421 ns 0.0013 96 B
PredicateSustained True True True 3,451.46 ns 16.267 ns 14.420 ns - 656 B

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 541.5 ns 0.76 ns 0.67 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,028.7 ns 13.53 ns 11.30 ns 12.98 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,136.7 ns 2.24 ns 1.87 ns 2.10 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,122.9 ns 3.36 ns 2.98 ns 2.07 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,462.1 ns 38.97 ns 34.55 ns 17.47 0.07 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 546.5 ns 0.55 ns 0.48 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 551,083.4 ns 1,281.57 ns 1,136.08 ns 1,008.42 2.19 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,829.4 ns 8.56 ns 8.01 ns 3.35 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,844.7 ns 6.80 ns 5.68 ns 3.38 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 745,466.6 ns 2,056.96 ns 1,717.65 ns 1,364.12 3.25 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 540.3 ns 0.56 ns 0.50 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,756,028.7 ns 310,725.07 ns 290,652.42 ns 108,756.76 530.01 333.3333 222.2222 222.2222 16000582 B 51,283.92
InvokeIntArrayFixed 100000 60,146.8 ns 364.30 ns 304.21 ns 111.33 0.55 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,024.3 ns 306.09 ns 286.32 ns 111.10 0.52 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,589,313.3 ns 1,390,388.88 ns 1,232,543.53 ns 151,020.92 2,208.21 1000.0000 833.3333 833.3333 27895993 B 89,410.23

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.045 μs 0.0115 μs 0.0108 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.048 μs 0.0076 μs 0.0071 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.045 μs 0.0103 μs 0.0096 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 99.00 ns 0.072 ns 0.067 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 118.60 ns 0.044 ns 0.037 ns 1.20 0.00 0.0002 24 B 1.00
GetInstanceStringField 114.41 ns 0.020 ns 0.018 ns 1.16 0.00 - - 0.00
SetInstanceStringField 674.63 ns 1.813 ns 1.696 ns 6.81 0.02 0.0038 256 B 10.67
GetStaticIntField 113.81 ns 0.083 ns 0.078 ns 1.15 0.00 0.0004 24 B 1.00
SetStaticIntField 113.27 ns 0.066 ns 0.058 ns 1.14 0.00 0.0004 24 B 1.00
GetStaticStringField 100.86 ns 0.009 ns 0.008 ns 1.02 0.00 - - 0.00
SetStaticStringField 674.57 ns 1.428 ns 1.335 ns 6.81 0.01 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 109.14 ns 0.063 ns 0.053 ns 1.10 0.00 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 304.8 ns 0.17 ns 0.16 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 311.5 ns 0.28 ns 0.27 ns 1.02 - - NA
InvokeStaticWithFeedback 533.2 ns 0.52 ns 0.44 ns 1.75 0.0038 312 B NA
InvokeInstanceEmpty 309.3 ns 0.41 ns 0.39 ns 1.01 - - NA
InvokeInstanceWithFeedback 544.2 ns 0.56 ns 0.50 ns 1.79 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.309 μs 0.0046 μs 0.0043 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,927.8 ns 21.80 ns 20.40 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 572.0 ns 0.38 ns 0.33 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 63,985.9 ns 147.77 ns 130.99 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 579.3 ns 0.48 ns 0.42 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,511,979.5 ns 149,989.12 ns 274,263.62 ns 1.001 0.05 62.5000 62.5000 62.5000 2400894 B 1.000
InvokeSingleStringPreallocated 100000 605.8 ns 0.53 ns 0.47 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,043.1 ns 9.09 ns 8.50 ns - 104 B
PredicateRoundTrip False False True 1,048.5 ns 7.76 ns 7.26 ns - 104 B
PredicateRoundTrip False True False 1,295.3 ns 11.02 ns 10.30 ns 0.0019 200 B
PredicateRoundTrip False True True 6,780.3 ns 34.57 ns 58.71 ns - 760 B
PredicateRoundTrip True False False 449.5 ns 0.28 ns 0.22 ns - 24 B
PredicateRoundTrip True False True 449.5 ns 0.34 ns 0.31 ns - 24 B
PredicateRoundTrip True True False 673.2 ns 4.98 ns 4.66 ns 0.0010 120 B
PredicateRoundTrip True True True 4,197.6 ns 23.41 ns 19.55 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 600.35 ns 2.274 ns 1.899 ns 0.0011 80 B
PredicateSustained False False True 606.65 ns 0.830 ns 0.648 ns 0.0011 80 B
PredicateSustained False True False 810.89 ns 6.310 ns 5.903 ns 0.0014 176 B
PredicateSustained False True True 3,993.11 ns 18.073 ns 20.089 ns 0.0100 736 B
PredicateSustained True False False 40.58 ns 0.258 ns 0.241 ns - -
PredicateSustained True False True 42.47 ns 0.200 ns 0.187 ns - -
PredicateSustained True True False 253.81 ns 0.447 ns 0.396 ns 0.0013 96 B
PredicateSustained True True True 3,628.17 ns 37.819 ns 46.445 ns - 656 B

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 550.6 ns 0.46 ns 0.41 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,019.6 ns 12.02 ns 11.24 ns 12.75 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,152.8 ns 2.15 ns 2.01 ns 2.09 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,168.0 ns 1.88 ns 1.57 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,044.3 ns 9.42 ns 7.87 ns 16.43 0.02 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 545.2 ns 0.27 ns 0.24 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 559,832.6 ns 1,044.05 ns 925.53 ns 1,026.88 1.70 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,926.1 ns 9.74 ns 8.63 ns 3.53 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,911.2 ns 4.55 ns 4.04 ns 3.51 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 746,315.5 ns 1,886.39 ns 1,764.53 ns 1,368.94 3.19 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 546.3 ns 0.30 ns 0.25 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 59,084,424.1 ns 326,288.61 ns 305,210.57 ns 108,154.43 543.31 333.3333 222.2222 222.2222 16001124 B 51,285.65
InvokeIntArrayFixed 100000 60,215.9 ns 275.02 ns 243.80 ns 110.23 0.43 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,951.5 ns 672.72 ns 596.35 ns 111.57 1.06 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,663,976.0 ns 696,587.14 ns 543,849.42 ns 154,977.96 958.73 1000.0000 833.3333 833.3333 27896893 B 89,413.12

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.091 μs 0.0066 μs 0.0061 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.096 μs 0.0014 μs 0.0012 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.086 μs 0.0009 μs 0.0007 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 99.51 ns 0.030 ns 0.027 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 116.82 ns 0.017 ns 0.015 ns 1.17 0.0002 24 B 1.00
GetInstanceStringField 114.93 ns 0.026 ns 0.022 ns 1.15 - - 0.00
SetInstanceStringField 688.35 ns 0.941 ns 0.881 ns 6.92 0.0038 256 B 10.67
GetStaticIntField 125.20 ns 0.067 ns 0.060 ns 1.26 0.0002 24 B 1.00
SetStaticIntField 123.32 ns 0.026 ns 0.021 ns 1.24 0.0002 24 B 1.00
GetStaticStringField 111.05 ns 0.019 ns 0.017 ns 1.12 - - 0.00
SetStaticStringField 680.58 ns 0.780 ns 0.691 ns 6.84 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 110.97 ns 0.055 ns 0.049 ns 1.12 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 373.9 ns 0.14 ns 0.13 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 379.6 ns 0.25 ns 0.24 ns 1.02 - - NA
InvokeStaticWithFeedback 550.7 ns 0.37 ns 0.33 ns 1.47 0.0038 312 B NA
InvokeInstanceEmpty 380.6 ns 0.20 ns 0.19 ns 1.02 - - NA
InvokeInstanceWithFeedback 548.1 ns 0.48 ns 0.43 ns 1.47 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.314 μs 0.0016 μs 0.0014 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,050.9 ns 3.10 ns 2.42 ns 1.00 0.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 577.9 ns 0.28 ns 0.22 ns 0.28 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 65,228.6 ns 189.46 ns 177.23 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 574.6 ns 0.24 ns 0.20 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,209,686.7 ns 140,991.12 ns 124,984.96 ns 1.000 0.02 62.5000 62.5000 62.5000 2400738 B 1.000
InvokeSingleStringPreallocated 100000 611.7 ns 0.29 ns 0.26 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,089.9 ns 8.14 ns 6.80 ns - 104 B
PredicateRoundTrip False False True 1,079.6 ns 9.35 ns 8.75 ns - 104 B
PredicateRoundTrip False True False 1,312.6 ns 6.56 ns 5.81 ns 0.0019 200 B
PredicateRoundTrip False True True 4,850.2 ns 8.68 ns 7.25 ns 0.0076 760 B
PredicateRoundTrip True False False 461.1 ns 0.52 ns 0.49 ns - 24 B
PredicateRoundTrip True False True 470.2 ns 0.24 ns 0.19 ns - 24 B
PredicateRoundTrip True True False 728.5 ns 0.80 ns 0.67 ns 0.0010 120 B
PredicateRoundTrip True True True 4,090.1 ns 6.95 ns 6.16 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 616.75 ns 1.215 ns 1.015 ns 0.0011 80 B
PredicateSustained False False True 623.73 ns 2.413 ns 2.257 ns 0.0011 80 B
PredicateSustained False True False 836.14 ns 4.293 ns 4.015 ns 0.0017 176 B
PredicateSustained False True True 4,230.99 ns 6.861 ns 6.082 ns 0.0100 736 B
PredicateSustained True False False 51.09 ns 0.465 ns 0.435 ns - -
PredicateSustained True False True 50.62 ns 0.658 ns 0.615 ns - -
PredicateSustained True True False 272.13 ns 0.629 ns 0.588 ns 0.0013 96 B
PredicateSustained True True True 3,502.04 ns 15.073 ns 14.099 ns - 656 B

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 532.8 ns 0.40 ns 0.35 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,227.4 ns 14.88 ns 13.92 ns 13.56 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,103.5 ns 1.13 ns 0.94 ns 2.07 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,131.6 ns 1.33 ns 1.18 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,282.7 ns 26.56 ns 24.84 ns 17.42 0.05 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 541.0 ns 0.54 ns 0.48 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 542,706.8 ns 1,035.00 ns 968.14 ns 1,003.16 1.93 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,861.8 ns 8.92 ns 8.34 ns 3.44 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,862.2 ns 10.20 ns 9.04 ns 3.44 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 733,475.0 ns 1,188.90 ns 992.79 ns 1,355.78 2.12 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 535.4 ns 0.38 ns 0.34 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,238,111.8 ns 239,336.05 ns 223,875.09 ns 106,905.75 410.16 333.3333 222.2222 222.2222 16001839 B 51,287.95
InvokeIntArrayFixed 100000 61,463.0 ns 470.96 ns 440.53 ns 114.80 0.80 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,157.8 ns 592.97 ns 554.67 ns 114.23 1.01 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,597,816.5 ns 1,405,980.11 ns 1,315,154.67 ns 154,271.02 2,380.61 1000.0000 833.3333 833.3333 27895551 B 89,408.82

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.084 μs 0.0013 μs 0.0010 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.072 μs 0.0134 μs 0.0125 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.070 μs 0.0110 μs 0.0097 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.28 ns 0.024 ns 0.020 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 113.05 ns 0.020 ns 0.018 ns 1.21 0.00 0.0004 24 B 1.00
GetInstanceStringField 99.45 ns 0.023 ns 0.022 ns 1.07 0.00 - - 0.00
SetInstanceStringField 672.80 ns 0.650 ns 0.576 ns 7.21 0.01 0.0038 256 B 10.67
GetStaticIntField 100.57 ns 0.025 ns 0.023 ns 1.08 0.00 0.0004 24 B 1.00
SetStaticIntField 104.52 ns 0.036 ns 0.032 ns 1.12 0.00 0.0004 24 B 1.00
GetStaticStringField 95.27 ns 0.014 ns 0.013 ns 1.02 0.00 - - 0.00
SetStaticStringField 673.85 ns 5.642 ns 5.278 ns 7.22 0.05 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 99.39 ns 0.056 ns 0.049 ns 1.07 0.00 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 290.7 ns 0.46 ns 0.43 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 298.9 ns 0.33 ns 0.31 ns 1.03 - - NA
InvokeStaticWithFeedback 546.4 ns 0.26 ns 0.23 ns 1.88 0.0038 312 B NA
InvokeInstanceEmpty 301.4 ns 0.12 ns 0.10 ns 1.04 - - NA
InvokeInstanceWithFeedback 552.3 ns 0.76 ns 0.68 ns 1.90 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 2.642 μs 0.0342 μs 0.0320 μs 1.00 0.02 0.0076 680 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,876.8 ns 3.81 ns 3.56 ns 1.00 0.00 0.0095 - - 656 B 1.00
InvokeSingleStringPreallocated 10 557.6 ns 0.16 ns 0.14 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 57,798.4 ns 116.71 ns 103.46 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 569.1 ns 0.41 ns 0.37 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,065,082.7 ns 133,493.31 ns 142,836.34 ns 1.000 0.03 62.5000 62.5000 62.5000 2400723 B 1.000
InvokeSingleStringPreallocated 100000 592.8 ns 0.17 ns 0.13 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,012.2 ns 8.63 ns 8.07 ns - 104 B
PredicateRoundTrip False False True 1,011.8 ns 8.02 ns 7.50 ns - 104 B
PredicateRoundTrip False True False 1,286.8 ns 9.14 ns 8.55 ns 0.0019 200 B
PredicateRoundTrip False True True 5,613.9 ns 54.19 ns 50.69 ns 0.0076 760 B
PredicateRoundTrip True False False 441.3 ns 0.68 ns 0.63 ns - 24 B
PredicateRoundTrip True False True 449.2 ns 0.31 ns 0.28 ns - 24 B
PredicateRoundTrip True True False 667.0 ns 1.13 ns 0.89 ns 0.0010 120 B
PredicateRoundTrip True True True 4,060.6 ns 22.88 ns 20.28 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 577.02 ns 0.900 ns 0.797 ns 0.0011 80 B
PredicateSustained False False True 571.63 ns 1.447 ns 1.283 ns 0.0011 80 B
PredicateSustained False True False 793.76 ns 4.768 ns 4.460 ns 0.0014 176 B
PredicateSustained False True True 4,132.34 ns 32.689 ns 30.577 ns 0.0100 736 B
PredicateSustained True False False 43.45 ns 0.814 ns 0.871 ns - -
PredicateSustained True False True 43.28 ns 0.856 ns 0.841 ns - -
PredicateSustained True True False 257.77 ns 0.734 ns 0.686 ns 0.0013 96 B
PredicateSustained True True True 3,515.67 ns 68.042 ns 86.052 ns - 656 B

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 538.9 ns 0.88 ns 0.78 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,883.6 ns 9.28 ns 8.23 ns 12.77 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,129.6 ns 1.98 ns 1.76 ns 2.10 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,139.4 ns 1.99 ns 1.76 ns 2.11 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,712.6 ns 13.89 ns 12.32 ns 16.17 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 537.6 ns 0.33 ns 0.28 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 546,275.6 ns 1,283.61 ns 1,137.89 ns 1,016.13 2.11 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,860.7 ns 11.47 ns 10.72 ns 3.46 0.02 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,850.2 ns 8.52 ns 7.97 ns 3.44 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 725,894.0 ns 1,404.29 ns 1,244.87 ns 1,350.24 2.34 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 533.0 ns 0.18 ns 0.14 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,314,484.3 ns 176,801.06 ns 165,379.83 ns 107,531.30 301.83 333.3333 222.2222 222.2222 16001224 B 51,285.97
InvokeIntArrayFixed 100000 60,687.3 ns 260.36 ns 217.42 ns 113.86 0.39 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,646.9 ns 316.62 ns 280.68 ns 113.78 0.51 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,211,960.9 ns 1,647,107.65 ns 1,540,705.51 ns 157,995.34 2,800.67 1285.7143 1142.8571 1000.0000 27898230 B 89,417.40

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.046 μs 0.0008 μs 0.0006 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.041 μs 0.0104 μs 0.0097 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.024 μs 0.0071 μs 0.0063 μs 0.98 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 99.84 ns 0.074 ns 0.069 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 118.91 ns 0.022 ns 0.020 ns 1.19 0.0002 24 B 1.00
GetInstanceStringField 104.57 ns 0.025 ns 0.024 ns 1.05 - - 0.00
SetInstanceStringField 667.23 ns 0.839 ns 0.785 ns 6.68 0.0038 256 B 10.67
GetStaticIntField 117.80 ns 0.099 ns 0.083 ns 1.18 0.0002 24 B 1.00
SetStaticIntField 119.36 ns 0.051 ns 0.045 ns 1.20 0.0002 24 B 1.00
GetStaticStringField 104.55 ns 0.057 ns 0.053 ns 1.05 - - 0.00
SetStaticStringField 656.31 ns 1.472 ns 1.377 ns 6.57 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 107.26 ns 0.074 ns 0.066 ns 1.07 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 304.8 ns 0.27 ns 0.26 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 309.7 ns 0.61 ns 0.57 ns 1.02 - - NA
InvokeStaticWithFeedback 543.0 ns 0.42 ns 0.38 ns 1.78 0.0038 312 B NA
InvokeInstanceEmpty 311.6 ns 0.27 ns 0.24 ns 1.02 - - NA
InvokeInstanceWithFeedback 556.8 ns 0.46 ns 0.41 ns 1.83 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.332 μs 0.0038 μs 0.0036 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,873.8 ns 4.25 ns 3.77 ns 1.00 0.00 0.0095 - - 656 B 1.00
InvokeSingleStringPreallocated 10 582.4 ns 1.23 ns 1.02 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 57,924.4 ns 223.44 ns 198.07 ns 1.00 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 581.4 ns 0.47 ns 0.39 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,874,056.1 ns 116,385.71 ns 108,867.27 ns 1.000 0.02 62.5000 62.5000 62.5000 2400839 B 1.000
InvokeSingleStringPreallocated 100000 594.6 ns 0.66 ns 0.55 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,018.9 ns 6.21 ns 5.81 ns - 104 B
PredicateRoundTrip False False True 1,046.6 ns 8.11 ns 7.59 ns - 104 B
PredicateRoundTrip False True False 1,262.3 ns 8.42 ns 7.87 ns 0.0019 200 B
PredicateRoundTrip False True True 5,719.9 ns 54.98 ns 51.43 ns 0.0076 760 B
PredicateRoundTrip True False False 444.9 ns 0.36 ns 0.32 ns - 24 B
PredicateRoundTrip True False True 439.9 ns 1.51 ns 1.42 ns - 24 B
PredicateRoundTrip True True False 683.4 ns 1.37 ns 1.14 ns 0.0010 120 B
PredicateRoundTrip True True True 4,053.6 ns 19.54 ns 18.28 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 587.96 ns 3.050 ns 2.853 ns 0.0011 80 B
PredicateSustained False False True 586.11 ns 0.439 ns 0.366 ns 0.0011 80 B
PredicateSustained False True False 797.50 ns 6.252 ns 5.849 ns 0.0014 176 B
PredicateSustained False True True 4,222.03 ns 37.215 ns 34.811 ns 0.0100 736 B
PredicateSustained True False False 45.96 ns 0.879 ns 1.080 ns - -
PredicateSustained True False True 45.74 ns 0.559 ns 0.523 ns - -
PredicateSustained True True False 261.52 ns 0.496 ns 0.464 ns 0.0013 96 B
PredicateSustained True True True 3,228.02 ns 14.348 ns 13.421 ns - 656 B

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 544.9 ns 0.38 ns 0.32 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,099.2 ns 57.57 ns 53.85 ns 13.03 0.10 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,153.5 ns 1.08 ns 0.90 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,227.2 ns 6.99 ns 6.54 ns 2.25 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,392.9 ns 24.73 ns 21.92 ns 17.24 0.04 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 550.5 ns 0.27 ns 0.23 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 550,606.1 ns 1,332.24 ns 1,246.18 ns 1,000.24 2.23 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,867.1 ns 9.56 ns 8.94 ns 3.39 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,836.2 ns 9.06 ns 8.47 ns 3.34 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 737,896.5 ns 1,401.52 ns 1,170.33 ns 1,340.47 2.12 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 549.8 ns 0.32 ns 0.28 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,763,130.4 ns 206,202.51 ns 192,881.95 ns 105,062.10 343.68 333.3333 222.2222 222.2222 16001267 B 51,286.11
InvokeIntArrayFixed 100000 60,675.9 ns 486.29 ns 454.88 ns 110.36 0.80 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,113.9 ns 336.42 ns 298.23 ns 109.34 0.53 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,720,942.6 ns 468,822.11 ns 438,536.49 ns 154,094.14 776.17 857.1429 714.2857 571.4286 27894878 B 89,406.66

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.043 μs 0.0078 μs 0.0073 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.053 μs 0.0078 μs 0.0073 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.051 μs 0.0093 μs 0.0087 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 105.97 ns 0.032 ns 0.028 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 120.56 ns 0.037 ns 0.033 ns 1.14 0.0002 24 B 1.00
GetInstanceStringField 107.16 ns 0.011 ns 0.010 ns 1.01 - - 0.00
SetInstanceStringField 665.48 ns 0.916 ns 0.857 ns 6.28 0.0038 256 B 10.67
GetStaticIntField 121.12 ns 0.032 ns 0.028 ns 1.14 0.0002 24 B 1.00
SetStaticIntField 114.81 ns 0.019 ns 0.015 ns 1.08 0.0004 24 B 1.00
GetStaticStringField 98.49 ns 0.018 ns 0.015 ns 0.93 - - 0.00
SetStaticStringField 661.05 ns 0.975 ns 0.864 ns 6.24 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 105.63 ns 0.051 ns 0.046 ns 1.00 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 297.2 ns 0.23 ns 0.20 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 309.4 ns 0.13 ns 0.12 ns 1.04 - - NA
InvokeStaticWithFeedback 531.3 ns 0.30 ns 0.25 ns 1.79 0.0038 312 B NA
InvokeInstanceEmpty 315.5 ns 0.30 ns 0.28 ns 1.06 - - NA
InvokeInstanceWithFeedback 559.2 ns 0.39 ns 0.35 ns 1.88 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.357 μs 0.0043 μs 0.0040 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,009.8 ns 25.61 ns 23.95 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 583.2 ns 0.32 ns 0.28 ns 0.29 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 63,066.3 ns 176.18 ns 156.18 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 581.3 ns 0.28 ns 0.22 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,238,491.7 ns 94,090.30 ns 88,012.13 ns 1.000 0.01 62.5000 62.5000 62.5000 2400840 B 1.000
InvokeSingleStringPreallocated 100000 611.2 ns 0.44 ns 0.39 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,029.2 ns 7.63 ns 7.14 ns - 104 B
PredicateRoundTrip False False True 1,030.1 ns 7.92 ns 7.40 ns - 104 B
PredicateRoundTrip False True False 1,301.6 ns 12.82 ns 11.99 ns 0.0019 200 B
PredicateRoundTrip False True True 5,807.8 ns 88.20 ns 82.50 ns 0.0076 760 B
PredicateRoundTrip True False False 448.0 ns 0.25 ns 0.21 ns - 24 B
PredicateRoundTrip True False True 452.2 ns 0.35 ns 0.31 ns - 24 B
PredicateRoundTrip True True False 691.4 ns 4.71 ns 4.18 ns 0.0010 120 B
PredicateRoundTrip True True True 5,819.8 ns 92.24 ns 77.03 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 585.28 ns 0.805 ns 0.629 ns 0.0011 80 B
PredicateSustained False False True 589.91 ns 2.718 ns 2.542 ns 0.0011 80 B
PredicateSustained False True False 800.41 ns 5.346 ns 5.001 ns 0.0014 176 B
PredicateSustained False True True 4,713.70 ns 55.726 ns 68.437 ns 0.0100 736 B
PredicateSustained True False False 42.70 ns 0.313 ns 0.244 ns - -
PredicateSustained True False True 41.79 ns 0.187 ns 0.175 ns - -
PredicateSustained True True False 259.59 ns 0.476 ns 0.446 ns 0.0013 96 B
PredicateSustained True True True 3,639.72 ns 34.816 ns 42.758 ns - 656 B

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 546.4 ns 0.29 ns 0.24 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 6,951.2 ns 12.73 ns 11.91 ns 12.72 0.02 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,158.1 ns 1.58 ns 1.40 ns 2.12 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,153.7 ns 4.45 ns 4.16 ns 2.11 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,037.7 ns 12.44 ns 10.39 ns 16.54 0.02 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 547.4 ns 0.26 ns 0.23 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 563,104.2 ns 1,076.33 ns 1,006.80 ns 1,028.70 1.83 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,917.8 ns 5.30 ns 4.70 ns 3.50 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,942.3 ns 2.43 ns 2.16 ns 3.55 0.00 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 752,725.3 ns 711.20 ns 630.46 ns 1,375.10 1.25 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 555.5 ns 0.51 ns 0.43 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 59,358,662.9 ns 352,268.29 ns 329,511.98 ns 106,848.96 579.92 333.3333 222.2222 222.2222 16001184 B 51,285.85
InvokeIntArrayFixed 100000 61,023.6 ns 524.57 ns 465.02 ns 109.85 0.81 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 60,747.1 ns 324.84 ns 287.97 ns 109.35 0.51 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,224,202.7 ns 175,123.85 ns 163,810.96 ns 151,608.34 306.85 1166.6667 1000.0000 1000.0000 27898336 B 89,417.74

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.083 μs 0.0009 μs 0.0008 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.064 μs 0.0008 μs 0.0007 μs 0.98 0.0038 360 B 1.00
DeclaredNewEmpty 1.070 μs 0.0066 μs 0.0061 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 100.9 ns 0.22 ns 0.21 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 117.3 ns 0.03 ns 0.03 ns 1.16 0.00 0.0002 24 B 1.00
GetInstanceStringField 114.4 ns 0.09 ns 0.08 ns 1.13 0.00 - - 0.00
SetInstanceStringField 662.5 ns 1.37 ns 1.28 ns 6.56 0.02 0.0038 256 B 10.67
GetStaticIntField 120.7 ns 0.03 ns 0.03 ns 1.20 0.00 0.0002 24 B 1.00
SetStaticIntField 118.8 ns 0.06 ns 0.05 ns 1.18 0.00 0.0002 24 B 1.00
GetStaticStringField 112.1 ns 0.05 ns 0.05 ns 1.11 0.00 - - 0.00
SetStaticStringField 666.2 ns 1.02 ns 0.91 ns 6.60 0.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 109.5 ns 0.06 ns 0.05 ns 1.08 0.00 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 374.6 ns 0.40 ns 0.37 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 387.6 ns 0.30 ns 0.28 ns 1.03 - - NA
InvokeStaticWithFeedback 543.4 ns 0.37 ns 0.31 ns 1.45 0.0038 312 B NA
InvokeInstanceEmpty 395.9 ns 0.40 ns 0.37 ns 1.06 - - NA
InvokeInstanceWithFeedback 553.4 ns 0.28 ns 0.25 ns 1.48 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.297 μs 0.0023 μs 0.0020 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,989.0 ns 3.00 ns 2.50 ns 1.00 0.00 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 580.8 ns 0.41 ns 0.34 ns 0.29 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 65,336.6 ns 126.89 ns 112.49 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 574.2 ns 0.27 ns 0.24 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,008,831.6 ns 158,803.99 ns 182,878.91 ns 1.000 0.03 62.5000 62.5000 62.5000 2400840 B 1.000
InvokeSingleStringPreallocated 100000 601.5 ns 0.39 ns 0.34 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,064.4 ns 5.12 ns 4.54 ns - 104 B
PredicateRoundTrip False False True 1,094.7 ns 6.50 ns 6.08 ns - 104 B
PredicateRoundTrip False True False 1,328.6 ns 4.53 ns 4.02 ns 0.0019 200 B
PredicateRoundTrip False True True 4,969.4 ns 24.46 ns 22.88 ns 0.0076 760 B
PredicateRoundTrip True False False 464.4 ns 1.16 ns 1.08 ns - 24 B
PredicateRoundTrip True False True 475.4 ns 0.19 ns 0.15 ns - 24 B
PredicateRoundTrip True True False 741.2 ns 0.88 ns 0.73 ns 0.0010 120 B
PredicateRoundTrip True True True 4,173.0 ns 27.05 ns 25.30 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 614.57 ns 2.117 ns 1.980 ns 0.0011 80 B
PredicateSustained False False True 618.43 ns 3.600 ns 3.192 ns - 80 B
PredicateSustained False True False 824.02 ns 1.430 ns 1.337 ns 0.0014 176 B
PredicateSustained False True True 4,289.13 ns 10.811 ns 10.113 ns 0.0100 736 B
PredicateSustained True False False 50.89 ns 0.486 ns 0.455 ns - -
PredicateSustained True False True 50.95 ns 0.018 ns 0.017 ns - -
PredicateSustained True True False 271.42 ns 0.517 ns 0.483 ns 0.0013 96 B
PredicateSustained True True True 3,616.70 ns 45.830 ns 42.869 ns - 656 B

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 568.0 ns 0.39 ns 0.34 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,305.9 ns 16.15 ns 14.31 ns 12.86 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,153.4 ns 0.85 ns 0.71 ns 2.03 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,151.8 ns 1.58 ns 1.40 ns 2.03 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 10,000.3 ns 30.78 ns 28.79 ns 17.61 0.05 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 560.0 ns 0.37 ns 0.33 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 549,913.1 ns 1,313.32 ns 1,228.48 ns 981.98 2.20 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,912.1 ns 10.29 ns 9.63 ns 3.41 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,991.3 ns 28.18 ns 26.36 ns 3.56 0.05 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 755,331.9 ns 632.30 ns 493.66 ns 1,348.79 1.14 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 552.0 ns 0.32 ns 0.27 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,106,896.1 ns 160,162.04 ns 141,979.48 ns 105,267.69 253.36 333.3333 222.2222 222.2222 16000761 B 51,284.49
InvokeIntArrayFixed 100000 61,451.3 ns 397.28 ns 352.18 ns 111.33 0.62 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,628.2 ns 402.64 ns 376.63 ns 111.65 0.66 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,075,368.9 ns 1,384,659.94 ns 1,295,211.77 ns 152,312.73 2,273.82 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.089 μs 0.0008 μs 0.0006 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.083 μs 0.0141 μs 0.0132 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.085 μs 0.0109 μs 0.0102 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 92.98 ns 0.055 ns 0.049 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 117.75 ns 0.031 ns 0.026 ns 1.27 0.0002 24 B 1.00
GetInstanceStringField 105.17 ns 0.071 ns 0.066 ns 1.13 - - 0.00
SetInstanceStringField 675.56 ns 1.022 ns 0.956 ns 7.27 0.0038 256 B 10.67
GetStaticIntField 106.31 ns 0.022 ns 0.019 ns 1.14 0.0004 24 B 1.00
SetStaticIntField 111.30 ns 0.034 ns 0.030 ns 1.20 0.0004 24 B 1.00
GetStaticStringField 101.43 ns 0.015 ns 0.014 ns 1.09 - - 0.00
SetStaticStringField 681.22 ns 1.061 ns 0.993 ns 7.33 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 103.46 ns 0.052 ns 0.046 ns 1.11 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.8 ns 0.42 ns 0.38 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 310.3 ns 0.22 ns 0.20 ns 1.01 - - NA
InvokeStaticWithFeedback 563.4 ns 0.28 ns 0.25 ns 1.84 0.0038 312 B NA
InvokeInstanceEmpty 312.2 ns 0.29 ns 0.27 ns 1.02 - - NA
InvokeInstanceWithFeedback 573.5 ns 1.05 ns 0.93 ns 1.88 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.404 μs 0.0091 μs 0.0085 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,939.6 ns 33.16 ns 31.01 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 583.6 ns 0.41 ns 0.36 ns 0.30 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 59,052.4 ns 218.52 ns 193.71 ns 1.00 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 590.6 ns 0.78 ns 0.69 ns 0.01 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,171,250.6 ns 98,929.02 ns 92,538.27 ns 1.000 0.02 62.5000 62.5000 62.5000 2400829 B 1.000
InvokeSingleStringPreallocated 100000 614.7 ns 0.35 ns 0.30 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,090.4 ns 8.42 ns 7.46 ns - 104 B
PredicateRoundTrip False False True 1,077.9 ns 9.55 ns 8.93 ns - 104 B
PredicateRoundTrip False True False 1,437.9 ns 14.11 ns 12.51 ns 0.0019 200 B
PredicateRoundTrip False True True 5,383.8 ns 63.47 ns 59.37 ns 0.0076 760 B
PredicateRoundTrip True False False 462.3 ns 0.95 ns 0.84 ns - 24 B
PredicateRoundTrip True False True 462.6 ns 0.46 ns 0.36 ns - 24 B
PredicateRoundTrip True True False 691.0 ns 1.84 ns 1.44 ns 0.0010 120 B
PredicateRoundTrip True True True 6,350.7 ns 50.96 ns 45.17 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 613.71 ns 1.979 ns 1.545 ns 0.0011 80 B
PredicateSustained False False True 603.78 ns 2.245 ns 1.990 ns 0.0011 80 B
PredicateSustained False True False 813.92 ns 1.295 ns 1.011 ns 0.0014 176 B
PredicateSustained False True True 5,497.43 ns 40.931 ns 38.287 ns 0.0100 736 B
PredicateSustained True False False 43.03 ns 0.323 ns 0.286 ns - -
PredicateSustained True False True 42.66 ns 0.929 ns 0.725 ns - -
PredicateSustained True True False 256.60 ns 0.459 ns 0.407 ns 0.0013 96 B
PredicateSustained True True True 4,073.04 ns 44.697 ns 41.809 ns - 656 B

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 550.6 ns 0.45 ns 0.37 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,046.0 ns 17.15 ns 16.05 ns 12.80 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,132.4 ns 1.73 ns 1.53 ns 2.06 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,156.2 ns 2.92 ns 2.73 ns 2.10 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,971.7 ns 31.48 ns 29.44 ns 16.29 0.05 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 543.3 ns 0.82 ns 0.72 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 558,518.2 ns 1,156.47 ns 1,081.76 ns 1,028.03 2.34 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,897.8 ns 15.96 ns 13.33 ns 3.49 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,880.6 ns 10.46 ns 9.78 ns 3.46 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 734,929.9 ns 1,078.28 ns 955.87 ns 1,352.74 2.43 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 544.9 ns 0.50 ns 0.41 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,993,858.8 ns 208,778.15 ns 195,291.21 ns 106,436.42 355.83 333.3333 222.2222 222.2222 16001508 B 51,286.88
InvokeIntArrayFixed 100000 61,384.9 ns 291.42 ns 272.59 ns 112.66 0.49 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,056.7 ns 488.99 ns 433.48 ns 112.06 0.77 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 84,399,488.6 ns 1,020,395.45 ns 954,478.54 ns 154,898.81 1,700.52 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.065 μs 0.0109 μs 0.0102 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.053 μs 0.0099 μs 0.0088 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.052 μs 0.0095 μs 0.0089 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 96.00 ns 0.042 ns 0.037 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 122.75 ns 0.049 ns 0.043 ns 1.28 0.00 0.0002 24 B 1.00
GetInstanceStringField 110.82 ns 0.010 ns 0.009 ns 1.15 0.00 - - 0.00
SetInstanceStringField 680.10 ns 1.557 ns 1.456 ns 7.08 0.01 0.0038 256 B 10.67
GetStaticIntField 110.36 ns 0.066 ns 0.055 ns 1.15 0.00 0.0004 24 B 1.00
SetStaticIntField 114.76 ns 0.080 ns 0.074 ns 1.20 0.00 0.0004 24 B 1.00
GetStaticStringField 100.22 ns 0.021 ns 0.020 ns 1.04 0.00 - - 0.00
SetStaticStringField 687.70 ns 1.872 ns 1.563 ns 7.16 0.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 113.71 ns 0.050 ns 0.045 ns 1.18 0.00 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 312.4 ns 0.15 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 312.4 ns 0.25 ns 0.23 ns 1.00 - - NA
InvokeStaticWithFeedback 544.9 ns 0.22 ns 0.20 ns 1.74 0.0038 312 B NA
InvokeInstanceEmpty 326.9 ns 0.24 ns 0.22 ns 1.05 - - NA
InvokeInstanceWithFeedback 555.5 ns 0.88 ns 0.82 ns 1.78 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.457 μs 0.0085 μs 0.0075 μs 1.00 0.0095 680 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,921.3 ns 24.92 ns 22.09 ns 1.00 0.02 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 588.9 ns 0.33 ns 0.29 ns 0.31 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,075.5 ns 214.09 ns 200.26 ns 1.000 0.00 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 588.5 ns 0.25 ns 0.22 ns 0.010 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,232,863.0 ns 75,556.27 ns 70,675.38 ns 1.000 0.01 62.5000 62.5000 62.5000 2400717 B 1.000
InvokeSingleStringPreallocated 100000 615.9 ns 0.34 ns 0.30 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,065.2 ns 4.52 ns 4.22 ns - 104 B
PredicateRoundTrip False False True 1,051.3 ns 8.18 ns 7.65 ns - 104 B
PredicateRoundTrip False True False 1,285.2 ns 7.65 ns 7.16 ns 0.0019 200 B
PredicateRoundTrip False True True 5,291.7 ns 31.33 ns 29.31 ns 0.0076 760 B
PredicateRoundTrip True False False 445.8 ns 1.50 ns 1.40 ns - 24 B
PredicateRoundTrip True False True 459.3 ns 0.48 ns 0.43 ns - 24 B
PredicateRoundTrip True True False 692.4 ns 1.27 ns 0.99 ns 0.0010 120 B
PredicateRoundTrip True True True 4,464.5 ns 32.49 ns 30.39 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 615.18 ns 4.044 ns 3.377 ns 0.0011 80 B
PredicateSustained False False True 592.64 ns 1.560 ns 1.383 ns 0.0011 80 B
PredicateSustained False True False 803.23 ns 7.932 ns 7.032 ns 0.0014 176 B
PredicateSustained False True True 4,228.52 ns 21.865 ns 20.452 ns 0.0100 736 B
PredicateSustained True False False 44.06 ns 0.379 ns 0.296 ns - -
PredicateSustained True False True 46.55 ns 0.913 ns 1.121 ns - -
PredicateSustained True True False 261.38 ns 0.521 ns 0.435 ns 0.0013 96 B
PredicateSustained True True True 3,560.22 ns 19.365 ns 18.114 ns - 656 B

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 554.8 ns 0.36 ns 0.32 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 10 7,346.0 ns 15.46 ns 14.47 ns 13.24 0.03 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,140.6 ns 2.87 ns 2.69 ns 2.06 0.00 0.0057 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,228.7 ns 4.03 ns 3.57 ns 2.21 0.01 0.0057 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 9,037.1 ns 21.24 ns 18.83 ns 16.29 0.03 0.0458 - - 3488 B 11.18
InvokeIntParam 1000 555.8 ns 0.40 ns 0.35 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 1000 563,683.5 ns 1,412.21 ns 1,320.98 ns 1,014.12 2.38 1.9531 - - 160416 B 514.15
InvokeIntArrayFixed 1000 1,893.5 ns 10.92 ns 9.68 ns 3.41 0.02 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,886.6 ns 7.78 ns 7.27 ns 3.39 0.01 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 746,695.1 ns 1,625.37 ns 1,357.26 ns 1,343.38 2.49 3.9063 0.9766 - 265856 B 852.10
InvokeIntParam 100000 555.3 ns 0.54 ns 0.47 ns 1.00 0.00 0.0038 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,738,722.4 ns 205,647.15 ns 192,362.47 ns 105,770.33 346.61 333.3333 222.2222 222.2222 16001908 B 51,288.17
InvokeIntArrayFixed 100000 61,103.4 ns 525.62 ns 491.66 ns 110.03 0.86 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,223.2 ns 516.14 ns 457.55 ns 110.24 0.80 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,726,054.1 ns 1,439,424.38 ns 1,346,438.46 ns 150,764.81 2,351.20 1166.6667 1000.0000 1000.0000 27897003 B 89,413.47

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.076 μs 0.0081 μs 0.0075 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.067 μs 0.0069 μs 0.0064 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.069 μs 0.0089 μs 0.0083 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 99.04 ns 0.024 ns 0.021 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 119.63 ns 0.042 ns 0.037 ns 1.21 0.00 0.0002 24 B 1.00
GetInstanceStringField 112.87 ns 0.013 ns 0.012 ns 1.14 0.00 - - 0.00
SetInstanceStringField 672.11 ns 0.839 ns 0.785 ns 6.79 0.01 0.0038 256 B 10.67
GetStaticIntField 115.92 ns 0.024 ns 0.019 ns 1.17 0.00 0.0004 24 B 1.00
SetStaticIntField 114.83 ns 0.027 ns 0.024 ns 1.16 0.00 0.0004 24 B 1.00
GetStaticStringField 103.36 ns 0.041 ns 0.038 ns 1.04 0.00 - - 0.00
SetStaticStringField 672.16 ns 2.542 ns 2.378 ns 6.79 0.02 0.0038 256 B 10.67
GetInstanceIntFieldGeneric 110.46 ns 0.038 ns 0.034 ns 1.12 0.00 0.0004 24 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 313.6 ns 0.20 ns 0.18 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 321.7 ns 0.21 ns 0.20 ns 1.03 - - NA
InvokeStaticWithFeedback 558.0 ns 0.94 ns 0.83 ns 1.78 0.0038 312 B NA
InvokeInstanceEmpty 322.7 ns 0.19 ns 0.16 ns 1.03 - - NA
InvokeInstanceWithFeedback 559.1 ns 0.71 ns 0.63 ns 1.78 0.0038 312 B NA

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 2.791 μs 0.0459 μs 0.0430 μs 1.00 0.02 0.0076 680 B 1.00

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,996.7 ns 19.53 ns 18.27 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 586.1 ns 0.47 ns 0.42 ns 0.29 0.00 0.0038 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 63,035.4 ns 257.70 ns 241.05 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 586.9 ns 0.32 ns 0.26 ns 0.009 0.00 0.0038 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,942,389.6 ns 138,459.19 ns 129,514.81 ns 1.000 0.02 62.5000 62.5000 62.5000 2400840 B 1.000
InvokeSingleStringPreallocated 100000 618.7 ns 0.37 ns 0.33 ns 0.000 0.00 0.0038 - - 288 B 0.000

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,054.2 ns 0.97 ns 0.76 ns - 104 B
PredicateRoundTrip False False True 1,039.3 ns 0.66 ns 0.51 ns - 104 B
PredicateRoundTrip False True False 2,337.3 ns 45.67 ns 73.75 ns - 200 B
PredicateRoundTrip False True True 5,812.4 ns 50.85 ns 42.46 ns 0.0076 760 B
PredicateRoundTrip True False False 452.5 ns 1.56 ns 1.30 ns - 24 B
PredicateRoundTrip True False True 446.8 ns 0.47 ns 0.39 ns - 24 B
PredicateRoundTrip True True False 701.0 ns 4.84 ns 4.29 ns 0.0010 120 B
PredicateRoundTrip True True True 5,455.1 ns 85.33 ns 79.81 ns 0.0076 680 B

core-ubuntu-24.04-arm_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 596.33 ns 0.557 ns 0.435 ns 0.0011 80 B
PredicateSustained False False True 597.31 ns 0.827 ns 0.646 ns 0.0011 80 B
PredicateSustained False True False 805.67 ns 6.246 ns 5.842 ns 0.0014 176 B
PredicateSustained False True True 4,472.73 ns 33.567 ns 28.030 ns 0.0100 736 B
PredicateSustained True False False 42.19 ns 0.212 ns 0.199 ns - -
PredicateSustained True False True 42.73 ns 0.812 ns 0.869 ns - -
PredicateSustained True True False 258.33 ns 0.485 ns 0.454 ns 0.0013 96 B
PredicateSustained True True True 3,609.06 ns 24.530 ns 27.265 ns - 656 B

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 530.6 ns 0.26 ns 0.23 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,241.9 ns 12.13 ns 11.35 ns 13.65 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,223.5 ns 2.00 ns 1.88 ns 2.31 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,190.0 ns 2.45 ns 2.29 ns 2.24 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,136.4 ns 17.59 ns 15.60 ns 17.22 0.03 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 532.7 ns 0.69 ns 0.64 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 579,869.3 ns 1,001.43 ns 887.74 ns 1,088.49 2.05 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,919.0 ns 6.41 ns 5.69 ns 3.60 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,913.3 ns 6.58 ns 6.15 ns 3.59 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 759,307.6 ns 791.29 ns 660.77 ns 1,425.32 2.05 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 528.4 ns 0.33 ns 0.29 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,904,853.1 ns 416,280.43 ns 389,388.97 ns 113,363.27 716.20 250.0000 125.0000 125.0000 16001251 B 46,515.26
InvokeIntArrayFixed 100000 61,066.1 ns 502.13 ns 469.69 ns 115.56 0.86 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,680.3 ns 331.96 ns 294.27 ns 114.83 0.54 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,426,420.7 ns 1,358,957.88 ns 1,271,170.05 ns 159,767.61 2,331.12 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.139 μs 0.0009 μs 0.0007 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.162 μs 0.0087 μs 0.0081 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.129 μs 0.0012 μs 0.0010 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.2 ns 0.05 ns 0.04 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 147.2 ns 0.03 ns 0.02 ns 1.36 0.0002 24 B 1.00
GetInstanceStringField 117.4 ns 0.03 ns 0.03 ns 1.08 - - 0.00
SetInstanceStringField 728.7 ns 0.89 ns 0.83 ns 6.73 0.0038 288 B 12.00
GetStaticIntField 134.5 ns 0.04 ns 0.03 ns 1.24 0.0002 24 B 1.00
SetStaticIntField 158.5 ns 0.05 ns 0.04 ns 1.46 0.0002 24 B 1.00
GetStaticStringField 119.4 ns 0.10 ns 0.09 ns 1.10 - - 0.00
SetStaticStringField 740.2 ns 1.12 ns 0.99 ns 6.84 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 145.2 ns 0.03 ns 0.02 ns 1.34 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 375.9 ns 0.21 ns 0.19 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 346.3 ns 0.17 ns 0.16 ns 0.92 - - NA
InvokeStaticWithFeedback 534.6 ns 0.35 ns 0.29 ns 1.42 0.0048 344 B NA
InvokeInstanceEmpty 376.4 ns 0.34 ns 0.31 ns 1.00 - - NA
InvokeInstanceWithFeedback 540.9 ns 0.66 ns 0.58 ns 1.44 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.323 μs 0.0020 μs 0.0019 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,991.1 ns 7.04 ns 6.58 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 584.1 ns 0.31 ns 0.27 ns 0.29 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,763.9 ns 89.83 ns 70.13 ns 1.00 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 601.0 ns 0.67 ns 0.60 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,577,999.5 ns 100,487.13 ns 93,995.72 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 629.2 ns 0.39 ns 0.35 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,054.9 ns 6.76 ns 6.33 ns - 104 B
PredicateRoundTrip False False True 1,059.4 ns 5.00 ns 4.68 ns - 104 B
PredicateRoundTrip False True False 1,284.0 ns 5.48 ns 4.86 ns 0.0019 200 B
PredicateRoundTrip False True True 4,699.4 ns 8.73 ns 8.16 ns 0.0076 792 B
PredicateRoundTrip True False False 434.4 ns 0.51 ns 0.42 ns - 24 B
PredicateRoundTrip True False True 427.2 ns 0.96 ns 0.90 ns - 24 B
PredicateRoundTrip True True False 644.5 ns 0.58 ns 0.51 ns 0.0010 120 B
PredicateRoundTrip True True True 3,914.3 ns 2.98 ns 2.32 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 631.60 ns 0.622 ns 0.551 ns - 80 B
PredicateSustained False False True 624.51 ns 0.414 ns 0.345 ns - 80 B
PredicateSustained False True False 820.22 ns 5.149 ns 4.816 ns 0.0014 176 B
PredicateSustained False True True 4,228.34 ns 11.594 ns 10.845 ns 0.0100 768 B
PredicateSustained True False False 59.62 ns 0.652 ns 0.578 ns - -
PredicateSustained True False True 60.51 ns 1.184 ns 1.215 ns - -
PredicateSustained True True False 254.63 ns 0.506 ns 0.473 ns 0.0013 96 B
PredicateSustained True True True 3,534.33 ns 23.346 ns 21.838 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 536.7 ns 0.46 ns 0.41 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,244.3 ns 11.82 ns 11.05 ns 13.50 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,217.5 ns 1.18 ns 0.98 ns 2.27 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,220.9 ns 1.74 ns 1.55 ns 2.28 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,753.1 ns 100.42 ns 93.94 ns 18.17 0.17 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 547.8 ns 0.69 ns 0.65 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 585,475.0 ns 1,207.94 ns 1,070.81 ns 1,068.69 2.25 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,931.7 ns 2.96 ns 2.62 ns 3.53 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,913.9 ns 4.19 ns 3.91 ns 3.49 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 789,459.7 ns 2,198.35 ns 1,835.72 ns 1,441.03 3.63 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 543.5 ns 0.34 ns 0.28 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,828,034.8 ns 189,164.25 ns 176,944.35 ns 110,075.56 320.18 250.0000 125.0000 125.0000 16000802 B 46,513.96
InvokeIntArrayFixed 100000 60,457.6 ns 355.78 ns 315.39 ns 111.23 0.56 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,453.9 ns 194.41 ns 172.34 ns 111.23 0.31 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 88,490,021.1 ns 601,379.42 ns 533,107.20 ns 162,809.78 951.33 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.161 μs 0.0096 μs 0.0090 μs 1.156 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.176 μs 0.0108 μs 0.0101 μs 1.169 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.171 μs 0.0099 μs 0.0093 μs 1.164 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 102.9 ns 0.01 ns 0.01 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 145.9 ns 0.04 ns 0.03 ns 1.42 0.0002 24 B 1.00
GetInstanceStringField 114.9 ns 0.04 ns 0.03 ns 1.12 - - 0.00
SetInstanceStringField 741.7 ns 0.95 ns 0.89 ns 7.21 0.0038 288 B 12.00
GetStaticIntField 124.7 ns 0.05 ns 0.04 ns 1.21 0.0002 24 B 1.00
SetStaticIntField 143.9 ns 0.07 ns 0.06 ns 1.40 0.0002 24 B 1.00
GetStaticStringField 109.9 ns 0.02 ns 0.02 ns 1.07 - - 0.00
SetStaticStringField 731.8 ns 1.13 ns 1.06 ns 7.11 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 150.9 ns 0.05 ns 0.05 ns 1.47 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 301.5 ns 0.17 ns 0.16 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 273.8 ns 0.16 ns 0.14 ns 0.91 - - NA
InvokeStaticWithFeedback 539.4 ns 0.37 ns 0.33 ns 1.79 0.0048 344 B NA
InvokeInstanceEmpty 318.4 ns 0.08 ns 0.07 ns 1.06 - - NA
InvokeInstanceWithFeedback 541.5 ns 0.47 ns 0.42 ns 1.80 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.328 μs 0.0014 μs 0.0012 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,965.2 ns 22.81 ns 21.34 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 589.7 ns 0.26 ns 0.23 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,040.2 ns 184.62 ns 172.69 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 593.8 ns 0.23 ns 0.19 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,087,193.1 ns 64,581.61 ns 60,409.68 ns 1.000 78.1250 78.1250 78.1250 2400822 B 1.000
InvokeSingleStringPreallocated 100000 639.1 ns 0.33 ns 0.26 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,056.0 ns 5.10 ns 4.77 ns - 104 B
PredicateRoundTrip False False True 1,064.1 ns 6.74 ns 6.30 ns - 104 B
PredicateRoundTrip False True False 1,310.1 ns 6.48 ns 6.06 ns 0.0019 200 B
PredicateRoundTrip False True True 5,225.7 ns 22.24 ns 20.81 ns 0.0076 792 B
PredicateRoundTrip True False False 438.1 ns 0.70 ns 0.65 ns - 24 B
PredicateRoundTrip True False True 434.4 ns 0.49 ns 0.43 ns - 24 B
PredicateRoundTrip True True False 634.3 ns 1.31 ns 1.03 ns 0.0010 120 B
PredicateRoundTrip True True True 4,154.6 ns 21.47 ns 20.08 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 627.79 ns 0.965 ns 0.806 ns - 80 B
PredicateSustained False False True 625.25 ns 1.854 ns 1.548 ns - 80 B
PredicateSustained False True False 820.80 ns 6.408 ns 5.994 ns 0.0014 176 B
PredicateSustained False True True 4,415.31 ns 24.091 ns 22.535 ns 0.0100 768 B
PredicateSustained True False False 50.80 ns 0.946 ns 0.971 ns - -
PredicateSustained True False True 51.43 ns 0.981 ns 0.917 ns - -
PredicateSustained True True False 238.98 ns 0.260 ns 0.244 ns 0.0013 96 B
PredicateSustained True True True 3,780.26 ns 27.120 ns 25.368 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 532.5 ns 0.42 ns 0.38 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,219.2 ns 11.50 ns 10.76 ns 13.56 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,178.9 ns 1.40 ns 1.17 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,174.6 ns 2.03 ns 1.80 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,341.5 ns 30.03 ns 26.62 ns 17.54 0.05 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 536.8 ns 0.47 ns 0.42 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 579,000.1 ns 1,315.46 ns 1,230.48 ns 1,078.52 2.36 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,898.5 ns 7.08 ns 6.27 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,912.7 ns 4.95 ns 4.63 ns 3.56 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 759,140.2 ns 1,203.93 ns 1,005.34 ns 1,414.07 2.10 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 544.9 ns 0.56 ns 0.50 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,208,821.6 ns 221,201.24 ns 206,911.78 ns 110,497.89 380.35 250.0000 125.0000 125.0000 16000535 B 46,513.18
InvokeIntArrayFixed 100000 60,523.4 ns 274.03 ns 242.92 ns 111.08 0.44 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,977.5 ns 363.01 ns 339.56 ns 111.91 0.61 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,509,400.6 ns 469,855.55 ns 392,350.66 ns 155,095.39 707.00 1000.0000 833.3333 833.3333 27895123 B 81,090.47

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.114 μs 0.0121 μs 0.0107 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.122 μs 0.0141 μs 0.0132 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.116 μs 0.0020 μs 0.0016 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.3 ns 0.02 ns 0.02 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 154.4 ns 0.04 ns 0.03 ns 1.44 0.00 0.0002 24 B 1.00
GetInstanceStringField 117.5 ns 0.05 ns 0.04 ns 1.10 0.00 - - 0.00
SetInstanceStringField 725.6 ns 1.07 ns 1.00 ns 6.76 0.01 0.0038 288 B 12.00
GetStaticIntField 125.3 ns 0.06 ns 0.05 ns 1.17 0.00 0.0002 24 B 1.00
SetStaticIntField 153.3 ns 0.04 ns 0.04 ns 1.43 0.00 0.0002 24 B 1.00
GetStaticStringField 118.7 ns 0.04 ns 0.03 ns 1.11 0.00 - - 0.00
SetStaticStringField 717.1 ns 2.25 ns 1.99 ns 6.68 0.02 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 152.0 ns 0.08 ns 0.07 ns 1.42 0.00 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 308.0 ns 0.20 ns 0.18 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 281.6 ns 0.13 ns 0.12 ns 0.91 - - NA
InvokeStaticWithFeedback 532.2 ns 0.36 ns 0.32 ns 1.73 0.0048 344 B NA
InvokeInstanceEmpty 317.5 ns 0.14 ns 0.13 ns 1.03 - - NA
InvokeInstanceWithFeedback 550.4 ns 0.35 ns 0.31 ns 1.79 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.328 μs 0.0019 μs 0.0018 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,917.4 ns 6.35 ns 5.63 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 590.1 ns 0.26 ns 0.23 ns 0.31 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,266.8 ns 276.63 ns 258.76 ns 1.000 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 589.8 ns 0.37 ns 0.33 ns 0.010 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,541,786.0 ns 123,242.91 ns 109,251.63 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 633.9 ns 0.33 ns 0.27 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,019.1 ns 5.74 ns 5.37 ns - 104 B
PredicateRoundTrip False False True 1,023.1 ns 6.02 ns 5.63 ns - 104 B
PredicateRoundTrip False True False 1,242.4 ns 6.42 ns 6.00 ns 0.0019 200 B
PredicateRoundTrip False True True 4,834.5 ns 40.89 ns 36.25 ns 0.0076 792 B
PredicateRoundTrip True False False 428.6 ns 0.38 ns 0.34 ns - 24 B
PredicateRoundTrip True False True 430.4 ns 0.38 ns 0.34 ns - 24 B
PredicateRoundTrip True True False 626.2 ns 1.11 ns 0.87 ns 0.0010 120 B
PredicateRoundTrip True True True 3,866.4 ns 10.36 ns 9.69 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Median Gen0 Allocated
PredicateSustained False False False 600.76 ns 1.284 ns 1.138 ns 600.53 ns 0.0011 80 B
PredicateSustained False False True 601.12 ns 0.439 ns 0.343 ns 601.14 ns 0.0011 80 B
PredicateSustained False True False 798.14 ns 7.341 ns 6.867 ns 792.56 ns 0.0014 176 B
PredicateSustained False True True 4,292.57 ns 17.241 ns 16.128 ns 4,288.95 ns 0.0100 768 B
PredicateSustained True False False 51.46 ns 1.004 ns 0.986 ns 51.81 ns - -
PredicateSustained True False True 51.34 ns 1.052 ns 1.252 ns 51.83 ns - -
PredicateSustained True True False 243.32 ns 0.554 ns 0.518 ns 243.35 ns 0.0013 96 B
PredicateSustained True True True 3,443.91 ns 12.871 ns 12.039 ns 3,439.61 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 542.8 ns 0.32 ns 0.28 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,194.0 ns 11.53 ns 10.78 ns 13.25 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,188.5 ns 1.48 ns 1.38 ns 2.19 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,211.8 ns 2.22 ns 2.07 ns 2.23 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,500.5 ns 41.83 ns 39.13 ns 17.50 0.07 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 550.5 ns 0.29 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 577,355.1 ns 1,041.54 ns 974.25 ns 1,048.82 1.78 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,933.3 ns 6.99 ns 6.54 ns 3.51 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,940.3 ns 7.36 ns 6.89 ns 3.52 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 764,422.5 ns 1,613.51 ns 1,347.36 ns 1,388.64 2.44 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 534.2 ns 0.59 ns 0.52 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,796,571.7 ns 184,830.70 ns 172,890.75 ns 113,811.85 331.23 333.3333 222.2222 222.2222 16001386 B 46,515.66
InvokeIntArrayFixed 100000 60,188.9 ns 235.53 ns 208.80 ns 112.67 0.39 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,263.4 ns 423.45 ns 375.38 ns 112.81 0.69 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 83,332,771.8 ns 518,517.03 ns 432,985.21 ns 155,999.86 794.60 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.125 μs 0.0075 μs 0.0070 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.135 μs 0.0082 μs 0.0077 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.117 μs 0.0074 μs 0.0069 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 111.6 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 153.8 ns 0.06 ns 0.06 ns 1.38 0.0002 24 B 1.00
GetInstanceStringField 115.9 ns 0.04 ns 0.03 ns 1.04 - - 0.00
SetInstanceStringField 714.0 ns 0.84 ns 0.74 ns 6.40 0.0038 288 B 12.00
GetStaticIntField 125.8 ns 0.04 ns 0.03 ns 1.13 0.0002 24 B 1.00
SetStaticIntField 157.5 ns 0.06 ns 0.05 ns 1.41 0.0002 24 B 1.00
GetStaticStringField 118.7 ns 0.04 ns 0.04 ns 1.06 - - 0.00
SetStaticStringField 728.3 ns 1.13 ns 1.05 ns 6.52 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 154.3 ns 0.06 ns 0.05 ns 1.38 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 310.3 ns 0.08 ns 0.07 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 282.2 ns 0.18 ns 0.16 ns 0.91 - - NA
InvokeStaticWithFeedback 530.1 ns 0.25 ns 0.21 ns 1.71 0.0048 344 B NA
InvokeInstanceEmpty 319.7 ns 0.14 ns 0.13 ns 1.03 - - NA
InvokeInstanceWithFeedback 547.4 ns 0.52 ns 0.43 ns 1.76 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.332 μs 0.0017 μs 0.0015 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,985.4 ns 7.18 ns 5.99 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 593.6 ns 0.25 ns 0.22 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 64,292.6 ns 142.47 ns 126.29 ns 1.000 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 610.1 ns 0.70 ns 0.62 ns 0.009 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,275,756.7 ns 181,994.04 ns 236,643.68 ns 1.001 0.04 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 647.0 ns 0.54 ns 0.48 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,053.4 ns 4.90 ns 4.34 ns - 104 B
PredicateRoundTrip False False True 1,043.5 ns 0.92 ns 0.72 ns - 104 B
PredicateRoundTrip False True False 1,242.2 ns 9.67 ns 9.05 ns 0.0019 200 B
PredicateRoundTrip False True True 4,702.6 ns 10.50 ns 8.77 ns 0.0076 792 B
PredicateRoundTrip True False False 437.5 ns 3.05 ns 2.85 ns - 24 B
PredicateRoundTrip True False True 446.5 ns 0.61 ns 0.57 ns - 24 B
PredicateRoundTrip True True False 636.7 ns 4.02 ns 3.56 ns 0.0010 120 B
PredicateRoundTrip True True True 4,458.7 ns 38.48 ns 32.13 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 604.02 ns 0.418 ns 0.349 ns 0.0011 80 B
PredicateSustained False False True 608.04 ns 0.511 ns 0.399 ns 0.0011 80 B
PredicateSustained False True False 801.92 ns 5.121 ns 4.790 ns 0.0014 176 B
PredicateSustained False True True 4,227.30 ns 81.339 ns 102.868 ns 0.0100 768 B
PredicateSustained True False False 50.12 ns 0.982 ns 1.311 ns - -
PredicateSustained True False True 49.15 ns 0.294 ns 0.261 ns - -
PredicateSustained True True False 240.22 ns 0.472 ns 0.442 ns 0.0013 96 B
PredicateSustained True True True 3,549.53 ns 17.224 ns 16.916 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 537.2 ns 0.31 ns 0.27 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,087.9 ns 10.89 ns 10.18 ns 13.19 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,158.4 ns 1.10 ns 0.98 ns 2.16 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,194.9 ns 1.37 ns 1.21 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,105.4 ns 19.10 ns 17.87 ns 16.95 0.03 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 539.4 ns 0.27 ns 0.24 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 567,837.9 ns 1,020.58 ns 954.65 ns 1,052.72 1.77 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,722.6 ns 9.34 ns 8.74 ns 3.19 0.02 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,761.3 ns 6.79 ns 6.35 ns 3.27 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 756,233.0 ns 518.80 ns 459.91 ns 1,401.99 1.02 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 548.4 ns 0.36 ns 0.32 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,604,763.8 ns 229,682.61 ns 214,845.25 ns 106,874.39 384.11 333.3333 222.2222 222.2222 16001159 B 46,515.00
InvokeIntArrayFixed 100000 45,368.9 ns 321.41 ns 300.65 ns 82.74 0.53 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 45,167.6 ns 386.44 ns 342.57 ns 82.37 0.61 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 83,745,141.7 ns 611,103.53 ns 571,626.62 ns 152,721.56 1,013.12 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.124 μs 0.0091 μs 0.0085 μs 1.117 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.145 μs 0.0103 μs 0.0096 μs 1.139 μs 1.02 0.0038 360 B 1.00
DeclaredNewEmpty 1.128 μs 0.0089 μs 0.0084 μs 1.122 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 102.0 ns 0.07 ns 0.06 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 144.4 ns 0.04 ns 0.03 ns 1.42 0.0002 24 B 1.00
GetInstanceStringField 114.2 ns 0.02 ns 0.02 ns 1.12 - - 0.00
SetInstanceStringField 708.5 ns 1.19 ns 1.11 ns 6.94 0.0038 288 B 12.00
GetStaticIntField 125.0 ns 0.03 ns 0.03 ns 1.23 0.0002 24 B 1.00
SetStaticIntField 146.3 ns 0.04 ns 0.04 ns 1.43 0.0002 24 B 1.00
GetStaticStringField 112.3 ns 0.13 ns 0.13 ns 1.10 - - 0.00
SetStaticStringField 715.1 ns 0.57 ns 0.51 ns 7.01 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.2 ns 0.04 ns 0.04 ns 1.48 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 297.3 ns 0.17 ns 0.16 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 268.2 ns 0.10 ns 0.10 ns 0.90 - - NA
InvokeStaticWithFeedback 524.2 ns 0.38 ns 0.34 ns 1.76 0.0048 344 B NA
InvokeInstanceEmpty 310.9 ns 0.08 ns 0.08 ns 1.05 - - NA
InvokeInstanceWithFeedback 549.2 ns 0.30 ns 0.25 ns 1.85 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.309 μs 0.0015 μs 0.0013 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,923.8 ns 1.45 ns 1.29 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 583.0 ns 0.21 ns 0.18 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,209.5 ns 149.97 ns 140.28 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 591.3 ns 0.18 ns 0.16 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,466,996.1 ns 76,071.29 ns 71,157.13 ns 1.000 78.1250 78.1250 78.1250 2400946 B 1.000
InvokeSingleStringPreallocated 100000 624.6 ns 0.26 ns 0.23 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,048.9 ns 5.45 ns 4.83 ns - 104 B
PredicateRoundTrip False False True 1,037.6 ns 5.15 ns 4.57 ns - 104 B
PredicateRoundTrip False True False 1,281.2 ns 4.15 ns 3.68 ns 0.0019 200 B
PredicateRoundTrip False True True 4,964.5 ns 39.72 ns 37.15 ns 0.0076 792 B
PredicateRoundTrip True False False 432.8 ns 0.21 ns 0.18 ns - 24 B
PredicateRoundTrip True False True 425.8 ns 0.15 ns 0.13 ns - 24 B
PredicateRoundTrip True True False 627.6 ns 0.41 ns 0.32 ns 0.0010 120 B
PredicateRoundTrip True True True 4,461.6 ns 47.21 ns 44.16 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 629.29 ns 0.774 ns 0.605 ns - 80 B
PredicateSustained False False True 618.66 ns 0.464 ns 0.362 ns - 80 B
PredicateSustained False True False 813.45 ns 10.088 ns 9.436 ns 0.0014 176 B
PredicateSustained False True True 4,416.88 ns 29.925 ns 27.992 ns 0.0100 768 B
PredicateSustained True False False 51.12 ns 0.022 ns 0.021 ns - -
PredicateSustained True False True 52.22 ns 0.028 ns 0.025 ns - -
PredicateSustained True True False 246.24 ns 0.249 ns 0.208 ns 0.0013 96 B
PredicateSustained True True True 3,603.26 ns 28.763 ns 26.905 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 544.1 ns 0.58 ns 0.51 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,174.7 ns 11.24 ns 10.52 ns 13.19 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,175.3 ns 1.78 ns 1.66 ns 2.16 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,194.8 ns 2.69 ns 2.39 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,934.8 ns 21.07 ns 18.67 ns 16.42 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 537.2 ns 0.64 ns 0.57 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 570,239.9 ns 1,588.68 ns 1,408.32 ns 1,061.52 2.75 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,762.0 ns 11.17 ns 10.44 ns 3.28 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,734.2 ns 8.64 ns 8.08 ns 3.23 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 737,721.8 ns 1,050.84 ns 877.50 ns 1,373.29 2.10 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 529.3 ns 0.38 ns 0.32 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,343,548.9 ns 135,675.72 ns 113,295.37 ns 112,109.65 216.14 333.3333 222.2222 222.2222 16001308 B 46,515.43
InvokeIntArrayFixed 100000 45,263.7 ns 434.77 ns 385.41 ns 85.51 0.71 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 45,203.1 ns 482.91 ns 451.72 ns 85.40 0.83 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,087,864.0 ns 977,623.88 ns 866,638.11 ns 158,855.70 1,584.67 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.100 μs 0.0094 μs 0.0088 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.112 μs 0.0086 μs 0.0080 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.106 μs 0.0026 μs 0.0022 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.3 ns 0.03 ns 0.02 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 146.1 ns 0.05 ns 0.04 ns 1.36 0.0002 24 B 1.00
GetInstanceStringField 116.8 ns 0.03 ns 0.02 ns 1.09 - - 0.00
SetInstanceStringField 718.8 ns 1.14 ns 1.07 ns 6.70 0.0038 288 B 12.00
GetStaticIntField 125.2 ns 0.04 ns 0.04 ns 1.17 0.0002 24 B 1.00
SetStaticIntField 148.2 ns 0.06 ns 0.05 ns 1.38 0.0002 24 B 1.00
GetStaticStringField 114.7 ns 0.03 ns 0.03 ns 1.07 - - 0.00
SetStaticStringField 712.6 ns 1.01 ns 0.95 ns 6.64 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 152.1 ns 0.08 ns 0.07 ns 1.42 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 310.8 ns 0.15 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 274.2 ns 0.14 ns 0.13 ns 0.88 - - NA
InvokeStaticWithFeedback 522.8 ns 0.66 ns 0.55 ns 1.68 0.0048 344 B NA
InvokeInstanceEmpty 319.4 ns 0.12 ns 0.10 ns 1.03 - - NA
InvokeInstanceWithFeedback 532.9 ns 0.32 ns 0.28 ns 1.71 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.344 μs 0.0017 μs 0.0015 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,931.8 ns 19.36 ns 18.11 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 577.0 ns 0.34 ns 0.28 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,019.4 ns 82.01 ns 72.70 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 581.0 ns 0.16 ns 0.14 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,963,175.2 ns 34,618.55 ns 32,382.21 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 616.3 ns 0.31 ns 0.26 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,034.9 ns 6.09 ns 5.70 ns - 104 B
PredicateRoundTrip False False True 1,020.3 ns 8.72 ns 8.16 ns - 104 B
PredicateRoundTrip False True False 1,248.4 ns 7.22 ns 6.76 ns 0.0019 200 B
PredicateRoundTrip False True True 4,570.8 ns 10.88 ns 10.18 ns 0.0076 792 B
PredicateRoundTrip True False False 426.1 ns 0.39 ns 0.35 ns - 24 B
PredicateRoundTrip True False True 430.6 ns 0.37 ns 0.33 ns - 24 B
PredicateRoundTrip True True False 626.3 ns 1.50 ns 1.33 ns 0.0010 120 B
PredicateRoundTrip True True True 3,798.0 ns 13.82 ns 12.93 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 602.55 ns 0.344 ns 0.268 ns 0.0011 80 B
PredicateSustained False False True 603.57 ns 0.914 ns 0.810 ns 0.0011 80 B
PredicateSustained False True False 796.54 ns 5.823 ns 5.446 ns 0.0014 176 B
PredicateSustained False True True 4,087.73 ns 21.698 ns 20.296 ns 0.0100 768 B
PredicateSustained True False False 51.27 ns 0.991 ns 1.217 ns - -
PredicateSustained True False True 52.22 ns 1.052 ns 1.252 ns - -
PredicateSustained True True False 240.53 ns 0.520 ns 0.486 ns 0.0013 96 B
PredicateSustained True True True 3,448.27 ns 12.050 ns 9.408 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 522.5 ns 0.53 ns 0.47 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,131.0 ns 15.11 ns 14.13 ns 13.65 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,189.3 ns 1.80 ns 1.59 ns 2.28 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,179.3 ns 2.03 ns 1.89 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,167.7 ns 30.50 ns 28.53 ns 17.55 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 528.4 ns 0.35 ns 0.31 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 564,404.4 ns 1,164.04 ns 1,088.84 ns 1,068.14 2.08 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,754.8 ns 14.67 ns 13.73 ns 3.32 0.03 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,621.6 ns 12.79 ns 11.96 ns 3.07 0.02 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 753,377.2 ns 2,732.74 ns 2,281.96 ns 1,425.78 4.24 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 523.3 ns 0.86 ns 0.80 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,673,039.1 ns 368,497.15 ns 344,692.46 ns 114,027.48 659.69 333.3333 222.2222 222.2222 16001485 B 46,515.94
InvokeIntArrayFixed 100000 44,866.2 ns 430.98 ns 403.14 ns 85.73 0.76 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 44,985.7 ns 605.55 ns 566.43 ns 85.96 1.06 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,103,802.5 ns 888,879.27 ns 787,968.32 ns 164,533.26 1,474.64 1000.0000 833.3333 833.3333 27895100 B 81,090.41

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.105 μs 0.0033 μs 0.0026 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.118 μs 0.0126 μs 0.0118 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.120 μs 0.0122 μs 0.0114 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 112.3 ns 0.03 ns 0.02 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 155.1 ns 0.08 ns 0.07 ns 1.38 0.00 0.0002 24 B 1.00
GetInstanceStringField 117.8 ns 0.04 ns 0.03 ns 1.05 0.00 - - 0.00
SetInstanceStringField 712.5 ns 1.23 ns 1.15 ns 6.34 0.01 0.0038 288 B 12.00
GetStaticIntField 125.7 ns 0.04 ns 0.03 ns 1.12 0.00 0.0002 24 B 1.00
SetStaticIntField 146.2 ns 0.03 ns 0.03 ns 1.30 0.00 0.0002 24 B 1.00
GetStaticStringField 119.5 ns 0.05 ns 0.04 ns 1.06 0.00 - - 0.00
SetStaticStringField 718.3 ns 2.21 ns 2.06 ns 6.40 0.02 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 159.1 ns 0.05 ns 0.04 ns 1.42 0.00 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 305.2 ns 0.13 ns 0.12 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 278.2 ns 0.13 ns 0.12 ns 0.91 - - NA
InvokeStaticWithFeedback 531.3 ns 0.34 ns 0.30 ns 1.74 0.0048 344 B NA
InvokeInstanceEmpty 321.8 ns 0.23 ns 0.22 ns 1.05 - - NA
InvokeInstanceWithFeedback 529.0 ns 0.26 ns 0.21 ns 1.73 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.305 μs 0.0018 μs 0.0017 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,941.8 ns 7.45 ns 5.82 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 582.8 ns 0.24 ns 0.21 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 63,239.6 ns 222.40 ns 197.15 ns 1.000 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 586.3 ns 0.68 ns 0.64 ns 0.009 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,738,624.5 ns 132,219.71 ns 123,678.40 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 622.6 ns 0.23 ns 0.18 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,012.4 ns 1.17 ns 0.91 ns - 104 B
PredicateRoundTrip False False True 1,021.2 ns 7.09 ns 6.63 ns - 104 B
PredicateRoundTrip False True False 1,235.8 ns 8.99 ns 8.41 ns 0.0019 200 B
PredicateRoundTrip False True True 4,383.3 ns 5.97 ns 4.98 ns 0.0076 792 B
PredicateRoundTrip True False False 424.0 ns 0.32 ns 0.28 ns - 24 B
PredicateRoundTrip True False True 424.5 ns 0.29 ns 0.24 ns - 24 B
PredicateRoundTrip True True False 616.6 ns 1.73 ns 1.35 ns 0.0010 120 B
PredicateRoundTrip True True True 3,993.2 ns 27.56 ns 25.78 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 605.60 ns 1.499 ns 1.171 ns 0.0011 80 B
PredicateSustained False False True 613.64 ns 0.347 ns 0.271 ns 0.0011 80 B
PredicateSustained False True False 802.60 ns 6.365 ns 5.954 ns 0.0014 176 B
PredicateSustained False True True 4,237.40 ns 16.857 ns 13.161 ns 0.0100 768 B
PredicateSustained True False False 51.21 ns 0.444 ns 0.416 ns - -
PredicateSustained True False True 52.51 ns 0.027 ns 0.024 ns - -
PredicateSustained True True False 239.78 ns 0.490 ns 0.458 ns 0.0013 96 B
PredicateSustained True True True 3,522.58 ns 21.850 ns 24.287 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 531.6 ns 0.48 ns 0.43 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,286.8 ns 30.23 ns 26.79 ns 13.71 0.05 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,216.2 ns 2.97 ns 2.78 ns 2.29 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,194.5 ns 2.83 ns 2.65 ns 2.25 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,287.9 ns 16.73 ns 14.83 ns 17.47 0.03 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 526.0 ns 0.49 ns 0.43 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 584,518.1 ns 1,446.55 ns 1,353.11 ns 1,111.18 2.64 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,935.7 ns 7.29 ns 6.82 ns 3.68 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,952.1 ns 14.05 ns 13.14 ns 3.71 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 759,750.2 ns 972.50 ns 862.10 ns 1,444.30 1.96 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 535.3 ns 0.60 ns 0.53 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,216,068.8 ns 267,788.80 ns 250,489.81 ns 110,618.09 465.47 250.0000 125.0000 125.0000 16000622 B 46,513.44
InvokeIntArrayFixed 100000 61,046.0 ns 253.17 ns 211.41 ns 114.04 0.40 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,154.6 ns 414.50 ns 387.72 ns 114.24 0.71 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,661,849.4 ns 817,402.51 ns 764,598.82 ns 161,887.95 1,391.91 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.142 μs 0.0106 μs 0.0094 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.154 μs 0.0090 μs 0.0085 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.166 μs 0.0016 μs 0.0014 μs 1.02 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.5 ns 0.04 ns 0.04 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 143.1 ns 0.06 ns 0.06 ns 1.33 0.00 0.0002 24 B 1.00
GetInstanceStringField 117.5 ns 0.12 ns 0.11 ns 1.09 0.00 - - 0.00
SetInstanceStringField 725.7 ns 1.80 ns 1.68 ns 6.75 0.02 0.0038 288 B 12.00
GetStaticIntField 128.3 ns 0.11 ns 0.09 ns 1.19 0.00 0.0002 24 B 1.00
SetStaticIntField 151.7 ns 0.07 ns 0.06 ns 1.41 0.00 0.0002 24 B 1.00
GetStaticStringField 115.8 ns 0.04 ns 0.03 ns 1.08 0.00 - - 0.00
SetStaticStringField 731.9 ns 1.65 ns 1.54 ns 6.81 0.01 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 150.5 ns 0.07 ns 0.06 ns 1.40 0.00 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 380.5 ns 0.23 ns 0.21 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 345.0 ns 0.29 ns 0.26 ns 0.91 - - NA
InvokeStaticWithFeedback 533.5 ns 0.40 ns 0.36 ns 1.40 0.0048 344 B NA
InvokeInstanceEmpty 377.3 ns 0.21 ns 0.20 ns 0.99 - - NA
InvokeInstanceWithFeedback 542.0 ns 0.30 ns 0.25 ns 1.42 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.327 μs 0.0029 μs 0.0026 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,998.9 ns 5.34 ns 5.00 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 589.9 ns 0.67 ns 0.62 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 62,495.7 ns 190.51 ns 168.88 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 580.9 ns 0.28 ns 0.25 ns 0.009 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,009,583.3 ns 73,656.01 ns 68,897.88 ns 1.000 78.1250 78.1250 78.1250 2400718 B 1.000
InvokeSingleStringPreallocated 100000 630.8 ns 0.46 ns 0.40 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,051.3 ns 4.54 ns 3.79 ns - 104 B
PredicateRoundTrip False False True 1,054.3 ns 1.47 ns 1.30 ns - 104 B
PredicateRoundTrip False True False 1,283.7 ns 5.23 ns 4.63 ns 0.0019 200 B
PredicateRoundTrip False True True 4,701.5 ns 11.81 ns 11.05 ns 0.0076 792 B
PredicateRoundTrip True False False 440.1 ns 0.61 ns 0.57 ns - 24 B
PredicateRoundTrip True False True 434.4 ns 0.84 ns 0.79 ns - 24 B
PredicateRoundTrip True True False 640.3 ns 0.38 ns 0.32 ns 0.0010 120 B
PredicateRoundTrip True True True 4,044.7 ns 2.82 ns 2.50 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 622.05 ns 0.427 ns 0.357 ns - 80 B
PredicateSustained False False True 617.79 ns 0.341 ns 0.302 ns - 80 B
PredicateSustained False True False 808.35 ns 6.239 ns 5.836 ns 0.0014 176 B
PredicateSustained False True True 4,219.79 ns 8.483 ns 7.935 ns 0.0100 768 B
PredicateSustained True False False 59.90 ns 0.019 ns 0.016 ns - -
PredicateSustained True False True 59.45 ns 0.024 ns 0.022 ns - -
PredicateSustained True True False 251.25 ns 1.160 ns 1.085 ns 0.0013 96 B
PredicateSustained True True True 3,549.00 ns 13.618 ns 10.632 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 531.0 ns 0.45 ns 0.37 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,104.9 ns 8.94 ns 8.36 ns 13.38 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,178.3 ns 1.56 ns 1.39 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,175.2 ns 2.36 ns 2.21 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,860.8 ns 105.64 ns 98.81 ns 18.57 0.18 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 536.6 ns 0.53 ns 0.44 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 560,868.7 ns 1,311.22 ns 1,226.52 ns 1,045.18 2.36 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,861.2 ns 8.31 ns 7.36 ns 3.47 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,895.6 ns 3.68 ns 3.26 ns 3.53 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 761,350.8 ns 731.53 ns 571.13 ns 1,418.77 1.52 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 530.6 ns 0.69 ns 0.61 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,439,201.4 ns 163,125.90 ns 152,588.07 ns 112,021.56 304.93 333.3333 222.2222 222.2222 16001677 B 46,516.50
InvokeIntArrayFixed 100000 60,215.3 ns 370.53 ns 328.47 ns 113.48 0.61 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,182.1 ns 371.55 ns 329.37 ns 113.42 0.61 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,008,115.6 ns 724,287.80 ns 642,062.27 ns 160,209.78 1,182.45 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.127 μs 0.0095 μs 0.0089 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.156 μs 0.0149 μs 0.0139 μs 1.03 0.0038 360 B 1.00
DeclaredNewEmpty 1.138 μs 0.0123 μs 0.0115 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 102.5 ns 0.03 ns 0.02 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 137.6 ns 0.09 ns 0.07 ns 1.34 0.0002 24 B 1.00
GetInstanceStringField 114.0 ns 0.02 ns 0.02 ns 1.11 - - 0.00
SetInstanceStringField 722.7 ns 0.96 ns 0.90 ns 7.05 0.0038 288 B 12.00
GetStaticIntField 116.2 ns 0.06 ns 0.05 ns 1.13 0.0002 24 B 1.00
SetStaticIntField 140.6 ns 0.06 ns 0.05 ns 1.37 0.0002 24 B 1.00
GetStaticStringField 102.3 ns 0.01 ns 0.01 ns 1.00 - - 0.00
SetStaticStringField 708.2 ns 1.27 ns 1.19 ns 6.91 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 150.6 ns 0.02 ns 0.02 ns 1.47 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 298.5 ns 0.20 ns 0.19 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 260.8 ns 0.16 ns 0.14 ns 0.87 - - NA
InvokeStaticWithFeedback 542.3 ns 0.48 ns 0.40 ns 1.82 0.0048 344 B NA
InvokeInstanceEmpty 306.0 ns 0.17 ns 0.16 ns 1.03 - - NA
InvokeInstanceWithFeedback 537.6 ns 0.35 ns 0.30 ns 1.80 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.309 μs 0.0024 μs 0.0020 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,947.2 ns 26.02 ns 24.34 ns 1.00 0.02 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 577.2 ns 0.64 ns 0.57 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 56,249.7 ns 244.36 ns 228.58 ns 1.00 0.01 0.3052 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 580.6 ns 0.27 ns 0.24 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,893,424.4 ns 165,122.98 ns 154,456.14 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 633.0 ns 1.90 ns 1.78 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,021.1 ns 5.94 ns 5.55 ns - 104 B
PredicateRoundTrip False False True 1,030.6 ns 6.59 ns 6.16 ns - 104 B
PredicateRoundTrip False True False 1,239.9 ns 7.07 ns 6.62 ns 0.0019 200 B
PredicateRoundTrip False True True 5,052.4 ns 35.56 ns 29.70 ns 0.0076 792 B
PredicateRoundTrip True False False 423.9 ns 0.59 ns 0.52 ns - 24 B
PredicateRoundTrip True False True 424.8 ns 0.39 ns 0.34 ns - 24 B
PredicateRoundTrip True True False 627.2 ns 0.32 ns 0.25 ns 0.0010 120 B
PredicateRoundTrip True True True 3,872.5 ns 9.24 ns 8.64 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 593.80 ns 1.669 ns 1.561 ns 0.0011 80 B
PredicateSustained False False True 589.55 ns 1.186 ns 0.991 ns 0.0011 80 B
PredicateSustained False True False 784.48 ns 8.105 ns 7.581 ns 0.0014 176 B
PredicateSustained False True True 4,185.51 ns 15.221 ns 14.238 ns 0.0100 768 B
PredicateSustained True False False 51.09 ns 1.008 ns 1.035 ns - -
PredicateSustained True False True 50.71 ns 0.979 ns 1.006 ns - -
PredicateSustained True True False 239.25 ns 0.443 ns 0.393 ns 0.0013 96 B
PredicateSustained True True True 3,584.57 ns 18.602 ns 17.400 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 529.8 ns 0.69 ns 0.61 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,288.3 ns 12.33 ns 11.53 ns 13.76 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,184.7 ns 1.73 ns 1.61 ns 2.24 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,193.8 ns 1.16 ns 0.97 ns 2.25 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,308.4 ns 34.69 ns 30.75 ns 17.57 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 528.5 ns 0.33 ns 0.30 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 567,945.1 ns 990.00 ns 926.05 ns 1,074.69 1.79 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,908.6 ns 4.68 ns 4.15 ns 3.61 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,903.8 ns 3.93 ns 3.67 ns 3.60 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 744,402.9 ns 1,485.34 ns 1,240.32 ns 1,408.59 2.39 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 518.9 ns 0.44 ns 0.39 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,341,544.2 ns 176,671.00 ns 165,258.16 ns 114,371.31 319.54 333.3333 222.2222 222.2222 16001492 B 46,515.97
InvokeIntArrayFixed 100000 61,372.8 ns 385.44 ns 360.54 ns 118.29 0.68 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,541.7 ns 420.14 ns 393.00 ns 118.61 0.74 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,699,069.2 ns 1,639,914.41 ns 1,533,976.96 ns 163,243.88 2,865.55 1000.0000 833.3333 833.3333 27894432 B 81,088.47

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.118 μs 0.0037 μs 0.0033 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.116 μs 0.0086 μs 0.0076 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.123 μs 0.0094 μs 0.0088 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 105.5 ns 0.02 ns 0.02 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 154.8 ns 0.03 ns 0.03 ns 1.47 0.0002 24 B 1.00
GetInstanceStringField 118.5 ns 0.03 ns 0.03 ns 1.12 - - 0.00
SetInstanceStringField 730.2 ns 0.97 ns 0.90 ns 6.92 0.0038 288 B 12.00
GetStaticIntField 127.5 ns 0.03 ns 0.03 ns 1.21 0.0002 24 B 1.00
SetStaticIntField 150.7 ns 0.05 ns 0.04 ns 1.43 0.0002 24 B 1.00
GetStaticStringField 119.9 ns 0.02 ns 0.02 ns 1.14 - - 0.00
SetStaticStringField 719.4 ns 1.00 ns 0.93 ns 6.82 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 152.5 ns 0.04 ns 0.04 ns 1.45 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 315.6 ns 0.14 ns 0.13 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 272.0 ns 0.13 ns 0.11 ns 0.86 - - NA
InvokeStaticWithFeedback 533.5 ns 0.40 ns 0.35 ns 1.69 0.0048 344 B NA
InvokeInstanceEmpty 316.0 ns 0.09 ns 0.09 ns 1.00 - - NA
InvokeInstanceWithFeedback 526.8 ns 0.65 ns 0.57 ns 1.67 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.340 μs 0.0033 μs 0.0031 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,930.0 ns 17.70 ns 16.56 ns 1.00 0.01 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 590.0 ns 0.46 ns 0.39 ns 0.31 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 57,975.4 ns 214.61 ns 200.74 ns 1.00 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 591.8 ns 0.41 ns 0.37 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,094,033.7 ns 107,030.56 ns 100,116.45 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 636.6 ns 1.63 ns 1.44 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,023.6 ns 5.36 ns 5.02 ns - 104 B
PredicateRoundTrip False False True 1,011.7 ns 5.76 ns 5.39 ns - 104 B
PredicateRoundTrip False True False 1,217.9 ns 5.86 ns 5.48 ns 0.0019 200 B
PredicateRoundTrip False True True 4,653.0 ns 7.22 ns 6.76 ns 0.0076 792 B
PredicateRoundTrip True False False 419.3 ns 0.40 ns 0.36 ns - 24 B
PredicateRoundTrip True False True 431.4 ns 0.33 ns 0.27 ns - 24 B
PredicateRoundTrip True True False 621.4 ns 0.75 ns 0.62 ns 0.0010 120 B
PredicateRoundTrip True True True 3,897.6 ns 10.23 ns 9.57 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 595.68 ns 1.041 ns 0.973 ns 0.0011 80 B
PredicateSustained False False True 587.60 ns 0.778 ns 0.690 ns 0.0011 80 B
PredicateSustained False True False 781.82 ns 3.903 ns 3.259 ns 0.0014 176 B
PredicateSustained False True True 4,238.03 ns 22.947 ns 21.465 ns 0.0100 768 B
PredicateSustained True False False 52.72 ns 1.007 ns 1.077 ns - -
PredicateSustained True False True 53.56 ns 0.039 ns 0.035 ns - -
PredicateSustained True True False 243.45 ns 0.443 ns 0.415 ns 0.0013 96 B
PredicateSustained True True True 3,441.15 ns 17.261 ns 16.146 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 565.7 ns 0.77 ns 0.72 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,098.2 ns 28.33 ns 26.50 ns 12.55 0.05 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,181.8 ns 1.70 ns 1.50 ns 2.09 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,198.0 ns 1.67 ns 1.56 ns 2.12 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,132.2 ns 31.53 ns 29.50 ns 16.14 0.05 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 543.0 ns 0.44 ns 0.39 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 568,545.5 ns 1,191.30 ns 1,114.34 ns 1,047.02 2.11 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,912.6 ns 4.01 ns 3.55 ns 3.52 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,922.2 ns 8.72 ns 8.16 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 767,268.7 ns 1,463.77 ns 1,222.31 ns 1,412.98 2.38 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 541.5 ns 0.50 ns 0.45 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,536,653.5 ns 260,908.07 ns 244,053.57 ns 109,952.80 445.18 333.3333 222.2222 222.2222 16001345 B 46,515.54
InvokeIntArrayFixed 100000 59,922.3 ns 240.27 ns 200.64 ns 110.66 0.37 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,002.8 ns 349.08 ns 326.53 ns 110.81 0.59 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,006,681.4 ns 329,055.66 ns 291,699.28 ns 158,837.88 535.62 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.103 μs 0.0099 μs 0.0093 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.119 μs 0.0079 μs 0.0070 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.126 μs 0.0085 μs 0.0079 μs 1.02 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 107.5 ns 0.05 ns 0.05 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 149.8 ns 0.04 ns 0.03 ns 1.39 0.0002 24 B 1.00
GetInstanceStringField 116.8 ns 0.02 ns 0.02 ns 1.09 - - 0.00
SetInstanceStringField 728.5 ns 1.23 ns 1.09 ns 6.78 0.0038 288 B 12.00
GetStaticIntField 127.1 ns 0.03 ns 0.03 ns 1.18 0.0002 24 B 1.00
SetStaticIntField 148.3 ns 0.05 ns 0.04 ns 1.38 0.0002 24 B 1.00
GetStaticStringField 118.4 ns 0.05 ns 0.05 ns 1.10 - - 0.00
SetStaticStringField 710.2 ns 1.15 ns 1.08 ns 6.61 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 154.0 ns 0.07 ns 0.06 ns 1.43 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 304.9 ns 0.18 ns 0.17 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 268.6 ns 0.12 ns 0.11 ns 0.88 - - NA
InvokeStaticWithFeedback 528.9 ns 0.34 ns 0.30 ns 1.73 0.0048 344 B NA
InvokeInstanceEmpty 317.4 ns 0.20 ns 0.19 ns 1.04 - - NA
InvokeInstanceWithFeedback 556.2 ns 1.21 ns 1.13 ns 1.82 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.356 μs 0.0010 μs 0.0009 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,966.6 ns 14.63 ns 13.69 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 591.7 ns 0.40 ns 0.34 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,580.5 ns 163.89 ns 136.86 ns 1.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 606.5 ns 0.39 ns 0.33 ns 0.01 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,373,029.7 ns 89,005.12 ns 83,255.44 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 641.3 ns 0.29 ns 0.26 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,025.6 ns 6.44 ns 6.03 ns - 104 B
PredicateRoundTrip False False True 1,043.1 ns 5.39 ns 5.04 ns - 104 B
PredicateRoundTrip False True False 1,244.2 ns 6.63 ns 6.20 ns 0.0019 200 B
PredicateRoundTrip False True True 4,451.2 ns 8.55 ns 7.14 ns 0.0076 792 B
PredicateRoundTrip True False False 432.9 ns 0.26 ns 0.23 ns - 24 B
PredicateRoundTrip True False True 434.3 ns 0.52 ns 0.48 ns - 24 B
PredicateRoundTrip True True False 623.7 ns 2.55 ns 2.13 ns 0.0010 120 B
PredicateRoundTrip True True True 3,771.4 ns 5.61 ns 4.68 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 585.32 ns 0.597 ns 0.466 ns 0.0011 80 B
PredicateSustained False False True 589.52 ns 0.467 ns 0.365 ns 0.0011 80 B
PredicateSustained False True False 773.75 ns 6.554 ns 6.131 ns 0.0014 176 B
PredicateSustained False True True 4,083.83 ns 70.507 ns 65.952 ns 0.0100 768 B
PredicateSustained True False False 49.82 ns 0.300 ns 0.280 ns - -
PredicateSustained True False True 48.55 ns 0.961 ns 0.944 ns - -
PredicateSustained True True False 239.76 ns 0.479 ns 0.448 ns 0.0013 96 B
PredicateSustained True True True 3,432.13 ns 48.038 ns 57.186 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 539.9 ns 0.82 ns 0.72 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,182.4 ns 13.28 ns 11.77 ns 13.30 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,187.7 ns 2.21 ns 1.96 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,196.6 ns 1.21 ns 1.07 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,335.2 ns 25.51 ns 23.86 ns 17.29 0.05 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 545.3 ns 0.58 ns 0.51 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 573,030.1 ns 996.17 ns 931.82 ns 1,050.95 1.91 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,902.5 ns 5.63 ns 4.99 ns 3.49 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,928.0 ns 3.81 ns 3.37 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 769,982.0 ns 903.55 ns 754.50 ns 1,412.16 1.85 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 547.0 ns 0.46 ns 0.41 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,739,956.4 ns 126,305.20 ns 118,145.97 ns 109,218.02 223.50 333.3333 222.2222 222.2222 16002108 B 46,517.76
InvokeIntArrayFixed 100000 62,607.2 ns 303.62 ns 269.15 ns 114.46 0.48 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,856.3 ns 267.05 ns 236.73 ns 113.09 0.43 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,306,124.6 ns 869,792.04 ns 813,604.02 ns 155,958.71 1,444.83 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.139 μs 0.0105 μs 0.0098 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.143 μs 0.0014 μs 0.0011 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.132 μs 0.0071 μs 0.0066 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 103.3 ns 0.05 ns 0.04 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 139.6 ns 0.09 ns 0.07 ns 1.35 0.0002 24 B 1.00
GetInstanceStringField 114.7 ns 0.05 ns 0.04 ns 1.11 - - 0.00
SetInstanceStringField 724.1 ns 1.68 ns 1.57 ns 7.01 0.0038 288 B 12.00
GetStaticIntField 124.8 ns 0.06 ns 0.05 ns 1.21 0.0002 24 B 1.00
SetStaticIntField 147.4 ns 0.09 ns 0.08 ns 1.43 0.0002 24 B 1.00
GetStaticStringField 113.9 ns 0.05 ns 0.04 ns 1.10 - - 0.00
SetStaticStringField 714.2 ns 1.07 ns 1.00 ns 6.91 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 154.5 ns 0.11 ns 0.10 ns 1.50 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 293.3 ns 0.20 ns 0.17 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 269.6 ns 0.08 ns 0.07 ns 0.92 - - NA
InvokeStaticWithFeedback 555.3 ns 0.49 ns 0.44 ns 1.89 0.0048 344 B NA
InvokeInstanceEmpty 304.6 ns 0.21 ns 0.20 ns 1.04 - - NA
InvokeInstanceWithFeedback 561.1 ns 0.46 ns 0.41 ns 1.91 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.346 μs 0.0030 μs 0.0028 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,968.3 ns 11.48 ns 9.59 ns 1.00 0.01 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 596.5 ns 0.53 ns 0.47 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,287.5 ns 172.56 ns 161.41 ns 1.00 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 604.6 ns 0.58 ns 0.51 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,516,942.2 ns 173,813.29 ns 162,585.06 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 630.2 ns 0.70 ns 0.62 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,051.9 ns 5.64 ns 5.28 ns - 104 B
PredicateRoundTrip False False True 1,055.5 ns 6.02 ns 5.63 ns - 104 B
PredicateRoundTrip False True False 1,261.3 ns 2.39 ns 2.12 ns 0.0019 200 B
PredicateRoundTrip False True True 4,855.8 ns 21.50 ns 20.11 ns 0.0076 792 B
PredicateRoundTrip True False False 433.8 ns 0.47 ns 0.42 ns - 24 B
PredicateRoundTrip True False True 433.0 ns 0.36 ns 0.32 ns - 24 B
PredicateRoundTrip True True False 626.2 ns 2.10 ns 1.97 ns 0.0010 120 B
PredicateRoundTrip True True True 4,474.6 ns 24.17 ns 22.61 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 614.52 ns 0.919 ns 0.767 ns - 80 B
PredicateSustained False False True 622.23 ns 0.804 ns 0.671 ns - 80 B
PredicateSustained False True False 806.94 ns 7.125 ns 6.665 ns 0.0014 176 B
PredicateSustained False True True 4,233.15 ns 15.599 ns 14.591 ns 0.0100 768 B
PredicateSustained True False False 50.81 ns 0.940 ns 1.045 ns - -
PredicateSustained True False True 51.47 ns 1.018 ns 1.089 ns - -
PredicateSustained True True False 240.72 ns 0.400 ns 0.374 ns 0.0013 96 B
PredicateSustained True True True 3,566.23 ns 15.721 ns 14.706 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 540.8 ns 0.60 ns 0.53 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,070.1 ns 13.21 ns 12.36 ns 13.07 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,204.1 ns 1.69 ns 1.50 ns 2.23 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,192.9 ns 1.95 ns 1.73 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,893.6 ns 10.93 ns 10.22 ns 16.45 0.02 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 523.1 ns 0.28 ns 0.25 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 572,022.0 ns 1,476.92 ns 1,381.51 ns 1,093.50 2.61 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,912.0 ns 6.92 ns 6.14 ns 3.66 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,903.1 ns 7.57 ns 7.08 ns 3.64 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 739,953.1 ns 1,975.66 ns 1,649.76 ns 1,414.53 3.11 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 526.7 ns 0.55 ns 0.48 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,396,172.4 ns 232,427.17 ns 217,412.52 ns 112,770.01 412.09 250.0000 125.0000 125.0000 16000544 B 46,513.21
InvokeIntArrayFixed 100000 59,986.1 ns 213.68 ns 189.42 ns 113.89 0.36 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 59,887.6 ns 210.10 ns 196.52 ns 113.70 0.38 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,944,251.0 ns 603,037.79 ns 564,081.92 ns 161,275.79 1,046.97 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.119 μs 0.0082 μs 0.0077 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.116 μs 0.0089 μs 0.0084 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.132 μs 0.0082 μs 0.0077 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 109.7 ns 0.05 ns 0.04 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 149.5 ns 0.04 ns 0.04 ns 1.36 0.0002 24 B 1.00
GetInstanceStringField 116.6 ns 0.01 ns 0.01 ns 1.06 - - 0.00
SetInstanceStringField 725.7 ns 1.54 ns 1.44 ns 6.62 0.0038 288 B 12.00
GetStaticIntField 124.9 ns 0.04 ns 0.04 ns 1.14 0.0002 24 B 1.00
SetStaticIntField 148.3 ns 0.04 ns 0.04 ns 1.35 0.0002 24 B 1.00
GetStaticStringField 116.1 ns 0.04 ns 0.04 ns 1.06 - - 0.00
SetStaticStringField 735.3 ns 1.08 ns 1.01 ns 6.70 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 150.4 ns 0.04 ns 0.03 ns 1.37 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 304.9 ns 0.08 ns 0.08 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 272.2 ns 0.15 ns 0.14 ns 0.89 - - NA
InvokeStaticWithFeedback 524.5 ns 0.73 ns 0.65 ns 1.72 0.0048 344 B NA
InvokeInstanceEmpty 322.7 ns 0.24 ns 0.22 ns 1.06 - - NA
InvokeInstanceWithFeedback 548.5 ns 0.27 ns 0.24 ns 1.80 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.319 μs 0.0022 μs 0.0019 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,932.3 ns 2.34 ns 1.83 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 587.4 ns 0.34 ns 0.30 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 58,794.6 ns 107.22 ns 95.04 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 581.1 ns 0.72 ns 0.67 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,031,221.5 ns 50,072.66 ns 41,812.94 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 632.3 ns 1.59 ns 1.49 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,020.3 ns 4.26 ns 3.99 ns - 104 B
PredicateRoundTrip False False True 1,023.4 ns 4.66 ns 4.36 ns - 104 B
PredicateRoundTrip False True False 1,243.7 ns 3.60 ns 3.37 ns 0.0019 200 B
PredicateRoundTrip False True True 4,556.5 ns 10.52 ns 9.32 ns 0.0076 792 B
PredicateRoundTrip True False False 419.4 ns 0.54 ns 0.48 ns - 24 B
PredicateRoundTrip True False True 434.6 ns 0.35 ns 0.31 ns - 24 B
PredicateRoundTrip True True False 635.3 ns 0.45 ns 0.40 ns 0.0010 120 B
PredicateRoundTrip True True True 3,906.2 ns 7.46 ns 6.98 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 591.69 ns 0.804 ns 0.752 ns 0.0011 80 B
PredicateSustained False False True 601.82 ns 2.788 ns 2.472 ns 0.0011 80 B
PredicateSustained False True False 790.63 ns 5.243 ns 4.904 ns 0.0014 176 B
PredicateSustained False True True 4,083.36 ns 18.872 ns 17.653 ns 0.0100 768 B
PredicateSustained True False False 51.35 ns 1.001 ns 1.028 ns - -
PredicateSustained True False True 52.32 ns 1.012 ns 0.994 ns - -
PredicateSustained True True False 243.98 ns 0.460 ns 0.408 ns 0.0013 96 B
PredicateSustained True True True 3,477.24 ns 11.632 ns 10.880 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 532.6 ns 0.37 ns 0.33 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,105.6 ns 8.19 ns 7.26 ns 13.34 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,177.5 ns 1.33 ns 1.18 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,184.1 ns 1.59 ns 1.41 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,054.1 ns 26.87 ns 25.13 ns 17.00 0.05 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 536.2 ns 0.32 ns 0.28 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 579,436.5 ns 1,257.54 ns 1,176.30 ns 1,080.55 2.19 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,929.7 ns 2.90 ns 2.43 ns 3.60 0.00 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,900.7 ns 3.80 ns 3.37 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 770,758.8 ns 1,725.96 ns 1,441.25 ns 1,437.33 2.69 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 551.3 ns 0.35 ns 0.29 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 61,033,789.9 ns 205,912.16 ns 192,610.36 ns 110,716.96 343.02 333.3333 222.2222 222.2222 16001044 B 46,514.66
InvokeIntArrayFixed 100000 60,997.5 ns 170.46 ns 151.11 ns 110.65 0.27 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,986.0 ns 158.57 ns 140.57 ns 110.63 0.25 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,450,015.6 ns 557,797.83 ns 521,764.44 ns 156,822.69 920.18 1000.0000 833.3333 833.3333 27895380 B 81,091.22

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.132 μs 0.0072 μs 0.0067 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.115 μs 0.0061 μs 0.0057 μs 0.98 0.0038 360 B 1.00
DeclaredNewEmpty 1.124 μs 0.0057 μs 0.0054 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.2 ns 0.04 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 157.0 ns 0.04 ns 0.03 ns 1.45 0.0002 24 B 1.00
GetInstanceStringField 117.1 ns 0.03 ns 0.03 ns 1.08 - - 0.00
SetInstanceStringField 727.9 ns 0.89 ns 0.83 ns 6.73 0.0038 288 B 12.00
GetStaticIntField 125.1 ns 0.04 ns 0.03 ns 1.16 0.0002 24 B 1.00
SetStaticIntField 158.1 ns 0.04 ns 0.04 ns 1.46 0.0002 24 B 1.00
GetStaticStringField 120.3 ns 0.03 ns 0.02 ns 1.11 - - 0.00
SetStaticStringField 720.1 ns 1.10 ns 1.03 ns 6.65 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.8 ns 0.03 ns 0.03 ns 1.40 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 300.6 ns 0.08 ns 0.08 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 272.0 ns 0.12 ns 0.11 ns 0.91 - - NA
InvokeStaticWithFeedback 532.2 ns 0.34 ns 0.30 ns 1.77 0.0048 344 B NA
InvokeInstanceEmpty 315.8 ns 0.12 ns 0.11 ns 1.05 - - NA
InvokeInstanceWithFeedback 541.8 ns 0.21 ns 0.19 ns 1.80 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.328 μs 0.0010 μs 0.0008 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,981.0 ns 14.32 ns 13.39 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 589.7 ns 0.38 ns 0.36 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,372.0 ns 328.86 ns 291.53 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 589.6 ns 0.24 ns 0.22 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,638,250.7 ns 94,165.60 ns 83,475.35 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 636.5 ns 0.28 ns 0.25 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,027.8 ns 4.97 ns 4.41 ns - 104 B
PredicateRoundTrip False False True 1,028.1 ns 4.80 ns 4.25 ns - 104 B
PredicateRoundTrip False True False 1,235.4 ns 0.94 ns 0.73 ns 0.0019 200 B
PredicateRoundTrip False True True 4,497.0 ns 10.13 ns 8.46 ns 0.0076 792 B
PredicateRoundTrip True False False 429.3 ns 2.27 ns 2.12 ns - 24 B
PredicateRoundTrip True False True 428.4 ns 0.42 ns 0.40 ns - 24 B
PredicateRoundTrip True True False 627.2 ns 3.89 ns 3.64 ns 0.0010 120 B
PredicateRoundTrip True True True 4,045.6 ns 27.83 ns 24.67 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 603.84 ns 0.458 ns 0.358 ns 0.0011 80 B
PredicateSustained False False True 609.66 ns 3.136 ns 2.780 ns 0.0011 80 B
PredicateSustained False True False 793.16 ns 5.197 ns 4.861 ns 0.0014 176 B
PredicateSustained False True True 4,225.39 ns 81.152 ns 93.455 ns 0.0100 768 B
PredicateSustained True False False 52.72 ns 0.274 ns 0.243 ns - -
PredicateSustained True False True 50.05 ns 0.329 ns 0.292 ns - -
PredicateSustained True True False 236.71 ns 0.602 ns 0.563 ns 0.0013 96 B
PredicateSustained True True True 3,551.88 ns 24.905 ns 30.586 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 538.6 ns 0.48 ns 0.42 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,435.4 ns 12.46 ns 11.05 ns 13.81 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,223.0 ns 1.78 ns 1.58 ns 2.27 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,248.5 ns 1.26 ns 1.12 ns 2.32 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,395.4 ns 25.32 ns 23.68 ns 17.45 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 545.9 ns 0.44 ns 0.39 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 620,170.5 ns 1,344.26 ns 1,122.52 ns 1,136.09 2.13 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,973.1 ns 9.88 ns 9.24 ns 3.61 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,965.6 ns 6.49 ns 6.07 ns 3.60 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 784,290.4 ns 1,452.70 ns 1,213.07 ns 1,436.74 2.36 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 546.0 ns 0.37 ns 0.31 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 61,666,357.0 ns 420,571.67 ns 393,403.00 ns 112,951.45 700.65 250.0000 125.0000 125.0000 16001020 B 46,514.59
InvokeIntArrayFixed 100000 62,166.0 ns 392.75 ns 367.38 ns 113.87 0.65 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 62,172.1 ns 371.92 ns 347.89 ns 113.88 0.62 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 87,024,995.7 ns 1,348,933.54 ns 1,261,793.27 ns 159,399.71 2,240.23 833.3333 666.6667 666.6667 27895352 B 81,091.14

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.160 μs 0.0006 μs 0.0005 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.153 μs 0.0101 μs 0.0094 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.159 μs 0.0069 μs 0.0058 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 111.2 ns 0.03 ns 0.02 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 149.5 ns 0.05 ns 0.05 ns 1.35 0.00 0.0002 24 B 1.00
GetInstanceStringField 124.3 ns 0.09 ns 0.08 ns 1.12 0.00 - - 0.00
SetInstanceStringField 759.2 ns 1.80 ns 1.68 ns 6.83 0.01 0.0038 288 B 12.00
GetStaticIntField 135.2 ns 0.04 ns 0.03 ns 1.22 0.00 0.0002 24 B 1.00
SetStaticIntField 152.1 ns 0.04 ns 0.04 ns 1.37 0.00 0.0002 24 B 1.00
GetStaticStringField 126.3 ns 0.06 ns 0.05 ns 1.14 0.00 - - 0.00
SetStaticStringField 783.2 ns 4.72 ns 4.41 ns 7.05 0.04 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 151.1 ns 0.04 ns 0.04 ns 1.36 0.00 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 376.2 ns 0.18 ns 0.17 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 336.4 ns 0.23 ns 0.21 ns 0.89 - - NA
InvokeStaticWithFeedback 531.7 ns 0.31 ns 0.26 ns 1.41 0.0048 344 B NA
InvokeInstanceEmpty 387.0 ns 0.49 ns 0.44 ns 1.03 - - NA
InvokeInstanceWithFeedback 555.5 ns 0.34 ns 0.30 ns 1.48 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.356 μs 0.0020 μs 0.0018 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,029.1 ns 3.12 ns 2.44 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 601.0 ns 0.51 ns 0.43 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,885.7 ns 269.19 ns 251.80 ns 1.00 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 619.3 ns 0.34 ns 0.30 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,699,111.1 ns 163,248.76 ns 152,702.99 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 639.7 ns 0.41 ns 0.34 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,090.7 ns 4.41 ns 3.91 ns - 104 B
PredicateRoundTrip False False True 1,082.6 ns 5.05 ns 4.72 ns - 104 B
PredicateRoundTrip False True False 1,283.9 ns 6.58 ns 6.15 ns 0.0019 200 B
PredicateRoundTrip False True True 4,764.7 ns 11.65 ns 10.90 ns 0.0076 792 B
PredicateRoundTrip True False False 445.4 ns 0.94 ns 0.83 ns - 24 B
PredicateRoundTrip True False True 457.2 ns 0.77 ns 0.72 ns - 24 B
PredicateRoundTrip True True False 654.5 ns 0.58 ns 0.49 ns 0.0010 120 B
PredicateRoundTrip True True True 4,027.5 ns 6.86 ns 6.42 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 642.01 ns 1.365 ns 1.140 ns - 80 B
PredicateSustained False False True 628.67 ns 1.216 ns 0.949 ns - 80 B
PredicateSustained False True False 831.80 ns 6.004 ns 5.616 ns 0.0017 176 B
PredicateSustained False True True 4,306.46 ns 12.678 ns 11.859 ns 0.0100 768 B
PredicateSustained True False False 59.29 ns 0.484 ns 0.429 ns - -
PredicateSustained True False True 58.79 ns 1.170 ns 1.252 ns - -
PredicateSustained True True False 253.29 ns 0.598 ns 0.530 ns 0.0013 96 B
PredicateSustained True True True 3,613.92 ns 13.636 ns 12.755 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 526.3 ns 0.40 ns 0.34 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,251.9 ns 7.55 ns 6.70 ns 13.78 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,171.7 ns 1.45 ns 1.28 ns 2.23 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,192.1 ns 1.09 ns 0.91 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,571.2 ns 22.00 ns 19.50 ns 18.18 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 531.8 ns 0.31 ns 0.26 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 594,548.7 ns 1,037.95 ns 920.11 ns 1,118.06 1.75 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,913.0 ns 12.52 ns 11.71 ns 3.60 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,921.7 ns 7.15 ns 6.69 ns 3.61 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 779,263.9 ns 1,602.80 ns 1,338.41 ns 1,465.43 2.52 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 529.9 ns 0.48 ns 0.42 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,271,464.5 ns 263,324.38 ns 233,430.20 ns 113,735.93 434.54 250.0000 125.0000 125.0000 16001375 B 46,515.62
InvokeIntArrayFixed 100000 61,911.1 ns 637.56 ns 596.37 ns 116.83 1.09 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,325.1 ns 252.87 ns 224.16 ns 115.72 0.42 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,909,685.2 ns 813,036.61 ns 720,735.78 ns 162,116.81 1,319.91 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Median Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.155 μs 0.0133 μs 0.0124 μs 1.145 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.161 μs 0.0118 μs 0.0110 μs 1.153 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.152 μs 0.0120 μs 0.0112 μs 1.143 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 113.4 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 149.6 ns 0.06 ns 0.06 ns 1.32 0.0002 24 B 1.00
GetInstanceStringField 116.5 ns 0.02 ns 0.02 ns 1.03 - - 0.00
SetInstanceStringField 737.3 ns 1.09 ns 0.97 ns 6.50 0.0038 288 B 12.00
GetStaticIntField 116.1 ns 0.05 ns 0.04 ns 1.02 0.0004 24 B 1.00
SetStaticIntField 145.1 ns 0.01 ns 0.01 ns 1.28 0.0002 24 B 1.00
GetStaticStringField 109.6 ns 0.03 ns 0.03 ns 0.97 - - 0.00
SetStaticStringField 737.0 ns 1.21 ns 1.13 ns 6.50 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 149.0 ns 0.06 ns 0.05 ns 1.31 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 298.5 ns 0.12 ns 0.11 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 267.1 ns 0.10 ns 0.10 ns 0.89 - - NA
InvokeStaticWithFeedback 537.7 ns 0.38 ns 0.30 ns 1.80 0.0048 344 B NA
InvokeInstanceEmpty 317.7 ns 0.14 ns 0.13 ns 1.06 - - NA
InvokeInstanceWithFeedback 531.3 ns 0.54 ns 0.48 ns 1.78 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.349 μs 0.0030 μs 0.0028 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,931.5 ns 5.14 ns 4.01 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 579.1 ns 0.14 ns 0.11 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 59,605.1 ns 213.88 ns 200.06 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 595.5 ns 0.76 ns 0.71 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,621,459.1 ns 96,015.02 ns 89,812.51 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 625.8 ns 0.60 ns 0.53 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,010.2 ns 5.57 ns 5.21 ns - 104 B
PredicateRoundTrip False False True 1,030.9 ns 5.24 ns 4.90 ns - 104 B
PredicateRoundTrip False True False 1,219.4 ns 7.07 ns 6.62 ns 0.0019 200 B
PredicateRoundTrip False True True 4,722.8 ns 16.54 ns 15.48 ns 0.0076 792 B
PredicateRoundTrip True False False 427.5 ns 1.22 ns 1.14 ns - 24 B
PredicateRoundTrip True False True 422.1 ns 0.24 ns 0.21 ns - 24 B
PredicateRoundTrip True True False 631.5 ns 2.66 ns 2.36 ns 0.0010 120 B
PredicateRoundTrip True True True 4,052.0 ns 13.90 ns 13.00 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 600.89 ns 0.470 ns 0.417 ns 0.0011 80 B
PredicateSustained False False True 592.39 ns 3.702 ns 3.463 ns 0.0011 80 B
PredicateSustained False True False 776.38 ns 6.580 ns 6.155 ns 0.0014 176 B
PredicateSustained False True True 4,213.52 ns 30.096 ns 28.152 ns 0.0100 768 B
PredicateSustained True False False 50.98 ns 0.963 ns 1.031 ns - -
PredicateSustained True False True 50.57 ns 1.010 ns 1.122 ns - -
PredicateSustained True True False 242.10 ns 0.415 ns 0.368 ns 0.0013 96 B
PredicateSustained True True True 3,527.43 ns 18.582 ns 17.381 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 544.7 ns 0.25 ns 0.22 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,205.3 ns 22.53 ns 21.07 ns 13.23 0.04 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,196.1 ns 1.85 ns 1.64 ns 2.20 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,172.4 ns 2.55 ns 2.39 ns 2.15 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,029.4 ns 16.58 ns 15.51 ns 16.58 0.03 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 540.2 ns 0.29 ns 0.23 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 568,856.3 ns 1,483.84 ns 1,387.98 ns 1,053.04 2.52 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,876.5 ns 6.06 ns 5.67 ns 3.47 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,903.5 ns 3.43 ns 2.68 ns 3.52 0.00 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 748,527.8 ns 1,250.50 ns 1,044.23 ns 1,385.63 1.94 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 531.6 ns 0.29 ns 0.26 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,029,704.6 ns 173,311.14 ns 162,115.35 ns 112,926.05 299.95 333.3333 222.2222 222.2222 16001396 B 46,515.69
InvokeIntArrayFixed 100000 60,150.2 ns 809.40 ns 757.12 ns 113.15 1.38 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 59,922.4 ns 524.38 ns 490.50 ns 112.72 0.90 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,832,297.0 ns 897,712.83 ns 839,721.14 ns 161,465.10 1,531.58 1000.0000 833.3333 833.3333 27895421 B 81,091.34

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.112 μs 0.0121 μs 0.0107 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.118 μs 0.0126 μs 0.0118 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.110 μs 0.0105 μs 0.0098 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 110.8 ns 0.06 ns 0.06 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 147.5 ns 0.06 ns 0.05 ns 1.33 0.0002 24 B 1.00
GetInstanceStringField 120.4 ns 0.06 ns 0.05 ns 1.09 - - 0.00
SetInstanceStringField 733.7 ns 1.02 ns 0.91 ns 6.62 0.0038 288 B 12.00
GetStaticIntField 129.0 ns 0.04 ns 0.04 ns 1.16 0.0002 24 B 1.00
SetStaticIntField 156.2 ns 0.05 ns 0.04 ns 1.41 0.0002 24 B 1.00
GetStaticStringField 119.0 ns 0.07 ns 0.07 ns 1.07 - - 0.00
SetStaticStringField 714.4 ns 1.27 ns 1.19 ns 6.45 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 156.2 ns 0.12 ns 0.11 ns 1.41 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 308.0 ns 0.10 ns 0.08 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 277.3 ns 0.10 ns 0.10 ns 0.90 - - NA
InvokeStaticWithFeedback 529.4 ns 0.22 ns 0.18 ns 1.72 0.0048 344 B NA
InvokeInstanceEmpty 312.9 ns 0.21 ns 0.19 ns 1.02 - - NA
InvokeInstanceWithFeedback 546.4 ns 0.43 ns 0.36 ns 1.77 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.306 μs 0.0015 μs 0.0014 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,914.6 ns 30.21 ns 28.26 ns 1.00 0.02 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 576.9 ns 0.33 ns 0.28 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 58,234.2 ns 317.72 ns 297.20 ns 1.00 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 584.9 ns 0.38 ns 0.34 ns 0.01 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,133,242.6 ns 86,353.19 ns 76,549.85 ns 1.000 0.01 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 618.0 ns 1.14 ns 1.06 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,014.6 ns 7.68 ns 7.18 ns - 104 B
PredicateRoundTrip False False True 1,019.5 ns 5.75 ns 5.38 ns - 104 B
PredicateRoundTrip False True False 1,230.1 ns 8.14 ns 7.61 ns 0.0019 200 B
PredicateRoundTrip False True True 4,508.7 ns 16.19 ns 15.15 ns 0.0076 792 B
PredicateRoundTrip True False False 423.9 ns 0.72 ns 0.68 ns - 24 B
PredicateRoundTrip True False True 433.3 ns 0.32 ns 0.29 ns - 24 B
PredicateRoundTrip True True False 628.3 ns 0.81 ns 0.63 ns 0.0010 120 B
PredicateRoundTrip True True True 3,964.2 ns 24.42 ns 22.84 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 593.48 ns 1.065 ns 0.996 ns 0.0011 80 B
PredicateSustained False False True 599.99 ns 0.319 ns 0.249 ns 0.0011 80 B
PredicateSustained False True False 790.71 ns 7.848 ns 7.341 ns 0.0014 176 B
PredicateSustained False True True 4,044.67 ns 13.096 ns 11.609 ns 0.0100 768 B
PredicateSustained True False False 51.63 ns 1.030 ns 1.057 ns - -
PredicateSustained True False True 52.81 ns 1.006 ns 0.988 ns - -
PredicateSustained True True False 241.92 ns 0.540 ns 0.505 ns 0.0013 96 B
PredicateSustained True True True 3,389.56 ns 20.643 ns 19.309 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 543.5 ns 0.20 ns 0.17 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,300.9 ns 10.69 ns 9.47 ns 13.43 0.02 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,222.0 ns 1.75 ns 1.46 ns 2.25 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,216.3 ns 1.87 ns 1.75 ns 2.24 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,338.8 ns 37.05 ns 34.65 ns 17.18 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 539.0 ns 0.61 ns 0.54 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 581,773.7 ns 1,178.38 ns 1,102.26 ns 1,079.38 2.24 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,953.9 ns 4.51 ns 4.21 ns 3.63 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,934.9 ns 10.83 ns 10.13 ns 3.59 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 763,976.8 ns 2,042.01 ns 1,705.17 ns 1,417.43 3.34 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 546.3 ns 0.58 ns 0.52 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,280,229.8 ns 203,618.02 ns 190,464.42 ns 110,339.64 352.35 333.3333 222.2222 222.2222 16001321 B 46,515.47
InvokeIntArrayFixed 100000 61,116.5 ns 206.83 ns 172.71 ns 111.87 0.32 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,176.3 ns 434.67 ns 406.59 ns 111.98 0.73 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,969,509.9 ns 1,313,748.37 ns 1,228,881.04 ns 157,362.45 2,183.06 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.117 μs 0.0089 μs 0.0084 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.130 μs 0.0082 μs 0.0076 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.137 μs 0.0114 μs 0.0107 μs 1.02 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 114.0 ns 0.07 ns 0.06 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 147.1 ns 0.08 ns 0.06 ns 1.29 0.0002 24 B 1.00
GetInstanceStringField 121.6 ns 0.07 ns 0.07 ns 1.07 - - 0.00
SetInstanceStringField 731.1 ns 1.28 ns 1.20 ns 6.41 0.0038 288 B 12.00
GetStaticIntField 128.5 ns 0.07 ns 0.06 ns 1.13 0.0002 24 B 1.00
SetStaticIntField 159.6 ns 0.08 ns 0.07 ns 1.40 0.0002 24 B 1.00
GetStaticStringField 121.4 ns 0.04 ns 0.03 ns 1.07 - - 0.00
SetStaticStringField 717.7 ns 1.28 ns 1.20 ns 6.30 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 153.6 ns 0.04 ns 0.03 ns 1.35 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 313.6 ns 0.55 ns 0.51 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 275.6 ns 0.13 ns 0.12 ns 0.88 - - NA
InvokeStaticWithFeedback 546.9 ns 0.70 ns 0.66 ns 1.74 0.0048 344 B NA
InvokeInstanceEmpty 315.3 ns 0.18 ns 0.17 ns 1.01 - - NA
InvokeInstanceWithFeedback 544.7 ns 0.62 ns 0.55 ns 1.74 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.357 μs 0.0027 μs 0.0024 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,995.7 ns 18.97 ns 17.75 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 600.1 ns 0.48 ns 0.44 ns 0.30 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 62,635.4 ns 164.09 ns 145.47 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 598.1 ns 0.53 ns 0.44 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,166,422.8 ns 88,040.65 ns 82,353.28 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 642.5 ns 0.40 ns 0.34 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,032.2 ns 6.97 ns 6.52 ns - 104 B
PredicateRoundTrip False False True 1,025.4 ns 5.34 ns 5.00 ns - 104 B
PredicateRoundTrip False True False 1,244.2 ns 1.32 ns 1.03 ns 0.0019 200 B
PredicateRoundTrip False True True 4,687.9 ns 22.40 ns 19.86 ns 0.0076 792 B
PredicateRoundTrip True False False 437.5 ns 0.33 ns 0.31 ns - 24 B
PredicateRoundTrip True False True 437.5 ns 0.52 ns 0.49 ns - 24 B
PredicateRoundTrip True True False 646.9 ns 4.47 ns 3.96 ns 0.0010 120 B
PredicateRoundTrip True True True 3,951.2 ns 18.08 ns 16.03 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 597.08 ns 0.471 ns 0.368 ns 0.0011 80 B
PredicateSustained False False True 597.02 ns 0.708 ns 0.553 ns 0.0011 80 B
PredicateSustained False True False 793.45 ns 9.638 ns 9.015 ns 0.0014 176 B
PredicateSustained False True True 4,080.08 ns 40.795 ns 38.160 ns 0.0100 768 B
PredicateSustained True False False 48.25 ns 0.951 ns 0.976 ns - -
PredicateSustained True False True 50.08 ns 0.356 ns 0.333 ns - -
PredicateSustained True True False 242.82 ns 0.391 ns 0.365 ns 0.0013 96 B
PredicateSustained True True True 4,142.30 ns 81.992 ns 80.527 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 543.6 ns 0.89 ns 0.78 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,372.1 ns 13.75 ns 11.48 ns 13.56 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,218.8 ns 2.26 ns 2.01 ns 2.24 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,226.8 ns 1.50 ns 1.33 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,347.1 ns 20.41 ns 19.09 ns 17.20 0.04 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 537.5 ns 0.42 ns 0.37 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 595,863.5 ns 1,259.40 ns 1,178.04 ns 1,108.49 2.25 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,997.6 ns 11.60 ns 10.85 ns 3.72 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,996.4 ns 13.23 ns 12.38 ns 3.71 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 780,229.4 ns 1,397.99 ns 1,167.39 ns 1,451.47 2.30 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 526.3 ns 0.43 ns 0.36 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,739,574.7 ns 438,239.82 ns 409,929.80 ns 115,418.32 758.36 250.0000 125.0000 125.0000 16001173 B 46,515.04
InvokeIntArrayFixed 100000 61,042.2 ns 272.31 ns 212.60 ns 115.99 0.40 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 62,062.1 ns 936.38 ns 875.89 ns 117.93 1.61 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,463,580.2 ns 594,391.59 ns 496,343.90 ns 162,399.28 915.23 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.190 μs 0.0097 μs 0.0091 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.191 μs 0.0071 μs 0.0063 μs 1.00 0.0038 360 B 1.00
DeclaredNewEmpty 1.153 μs 0.0007 μs 0.0006 μs 0.97 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 109.4 ns 0.04 ns 0.04 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 145.7 ns 0.03 ns 0.02 ns 1.33 0.0002 24 B 1.00
GetInstanceStringField 119.3 ns 0.03 ns 0.02 ns 1.09 - - 0.00
SetInstanceStringField 742.9 ns 1.74 ns 1.63 ns 6.79 0.0038 288 B 12.00
GetStaticIntField 132.4 ns 0.06 ns 0.05 ns 1.21 0.0002 24 B 1.00
SetStaticIntField 154.8 ns 0.04 ns 0.03 ns 1.41 0.0002 24 B 1.00
GetStaticStringField 122.2 ns 0.05 ns 0.05 ns 1.12 - - 0.00
SetStaticStringField 735.7 ns 1.74 ns 1.63 ns 6.72 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 148.5 ns 0.06 ns 0.05 ns 1.36 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 376.8 ns 0.20 ns 0.18 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 354.6 ns 0.16 ns 0.15 ns 0.94 - - NA
InvokeStaticWithFeedback 550.5 ns 0.38 ns 0.33 ns 1.46 0.0048 344 B NA
InvokeInstanceEmpty 392.6 ns 0.24 ns 0.22 ns 1.04 - - NA
InvokeInstanceWithFeedback 543.8 ns 0.30 ns 0.25 ns 1.44 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.358 μs 0.0028 μs 0.0026 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,988.6 ns 6.56 ns 5.48 ns 1.00 0.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 605.6 ns 0.43 ns 0.36 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,683.8 ns 326.70 ns 305.60 ns 1.000 0.01 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 593.9 ns 0.51 ns 0.45 ns 0.010 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,456,066.9 ns 118,403.29 ns 110,754.51 ns 1.000 0.02 78.1250 78.1250 78.1250 2400946 B 1.000
InvokeSingleStringPreallocated 100000 622.2 ns 0.24 ns 0.20 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,062.7 ns 7.02 ns 6.56 ns - 104 B
PredicateRoundTrip False False True 1,057.3 ns 5.37 ns 5.03 ns - 104 B
PredicateRoundTrip False True False 1,268.9 ns 6.83 ns 6.38 ns 0.0019 200 B
PredicateRoundTrip False True True 4,800.3 ns 8.70 ns 7.71 ns 0.0076 792 B
PredicateRoundTrip True False False 448.3 ns 1.24 ns 1.16 ns - 24 B
PredicateRoundTrip True False True 440.6 ns 0.48 ns 0.45 ns - 24 B
PredicateRoundTrip True True False 656.5 ns 0.77 ns 0.68 ns 0.0010 120 B
PredicateRoundTrip True True True 4,146.3 ns 7.38 ns 6.90 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 623.67 ns 0.832 ns 0.738 ns - 80 B
PredicateSustained False False True 627.95 ns 0.539 ns 0.450 ns - 80 B
PredicateSustained False True False 818.86 ns 0.782 ns 0.653 ns 0.0014 176 B
PredicateSustained False True True 4,266.93 ns 10.579 ns 9.895 ns 0.0100 768 B
PredicateSustained True False False 59.22 ns 1.126 ns 1.341 ns - -
PredicateSustained True False True 58.89 ns 1.134 ns 1.260 ns - -
PredicateSustained True True False 252.69 ns 0.503 ns 0.446 ns 0.0013 96 B
PredicateSustained True True True 3,641.78 ns 12.393 ns 11.592 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 544.1 ns 0.24 ns 0.21 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,326.5 ns 5.16 ns 4.58 ns 13.47 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,221.1 ns 1.11 ns 0.98 ns 2.24 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,228.8 ns 1.70 ns 1.59 ns 2.26 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 10,069.3 ns 37.56 ns 35.13 ns 18.51 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 533.2 ns 0.40 ns 0.33 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 579,765.6 ns 1,325.77 ns 1,240.12 ns 1,087.37 2.35 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,962.3 ns 6.51 ns 6.09 ns 3.68 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,926.8 ns 12.18 ns 10.80 ns 3.61 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 784,466.5 ns 2,005.17 ns 1,674.41 ns 1,471.30 3.15 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 535.1 ns 0.33 ns 0.29 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,369,549.8 ns 218,802.61 ns 204,668.10 ns 112,820.59 375.18 250.0000 125.0000 125.0000 16000532 B 46,513.17
InvokeIntArrayFixed 100000 61,247.1 ns 479.28 ns 448.32 ns 114.46 0.81 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,745.8 ns 217.90 ns 170.12 ns 113.52 0.31 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,476,271.5 ns 536,485.89 ns 501,829.23 ns 161,609.68 912.22 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.156 μs 0.0083 μs 0.0077 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.171 μs 0.0097 μs 0.0090 μs 1.01 0.0038 360 B 1.00
DeclaredNewEmpty 1.168 μs 0.0095 μs 0.0089 μs 1.01 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 102.6 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 147.6 ns 0.10 ns 0.08 ns 1.44 0.0002 24 B 1.00
GetInstanceStringField 115.3 ns 0.04 ns 0.04 ns 1.12 - - 0.00
SetInstanceStringField 732.5 ns 0.92 ns 0.86 ns 7.14 0.0038 288 B 12.00
GetStaticIntField 123.9 ns 0.06 ns 0.05 ns 1.21 0.0002 24 B 1.00
SetStaticIntField 151.8 ns 0.06 ns 0.05 ns 1.48 0.0002 24 B 1.00
GetStaticStringField 112.8 ns 0.04 ns 0.03 ns 1.10 - - 0.00
SetStaticStringField 738.1 ns 1.45 ns 1.35 ns 7.19 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 157.7 ns 0.02 ns 0.02 ns 1.54 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 299.4 ns 0.17 ns 0.16 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 279.9 ns 0.11 ns 0.10 ns 0.93 - - NA
InvokeStaticWithFeedback 548.1 ns 0.39 ns 0.34 ns 1.83 0.0048 344 B NA
InvokeInstanceEmpty 319.2 ns 0.12 ns 0.10 ns 1.07 - - NA
InvokeInstanceWithFeedback 547.5 ns 0.65 ns 0.55 ns 1.83 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.353 μs 0.0037 μs 0.0035 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,979.0 ns 20.18 ns 18.88 ns 1.00 0.01 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 586.5 ns 0.29 ns 0.26 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,454.3 ns 204.80 ns 181.55 ns 1.000 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 581.3 ns 0.28 ns 0.25 ns 0.009 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,753,690.6 ns 118,040.67 ns 110,415.31 ns 1.000 0.02 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 638.7 ns 0.73 ns 0.64 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,050.1 ns 5.31 ns 4.97 ns - 104 B
PredicateRoundTrip False False True 1,067.7 ns 4.88 ns 4.33 ns - 104 B
PredicateRoundTrip False True False 1,260.4 ns 4.56 ns 4.04 ns 0.0019 200 B
PredicateRoundTrip False True True 5,357.8 ns 29.72 ns 27.80 ns 0.0076 792 B
PredicateRoundTrip True False False 443.5 ns 0.43 ns 0.41 ns - 24 B
PredicateRoundTrip True False True 435.2 ns 0.58 ns 0.48 ns - 24 B
PredicateRoundTrip True True False 635.0 ns 0.85 ns 0.66 ns 0.0010 120 B
PredicateRoundTrip True True True 4,248.4 ns 16.33 ns 14.48 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 617.00 ns 0.670 ns 0.594 ns - 80 B
PredicateSustained False False True 622.35 ns 1.254 ns 1.047 ns - 80 B
PredicateSustained False True False 826.33 ns 6.439 ns 6.023 ns 0.0017 176 B
PredicateSustained False True True 5,461.56 ns 38.968 ns 36.451 ns 0.0100 768 B
PredicateSustained True False False 50.77 ns 1.006 ns 1.033 ns - -
PredicateSustained True False True 51.02 ns 1.005 ns 1.032 ns - -
PredicateSustained True True False 243.49 ns 0.444 ns 0.415 ns 0.0013 96 B
PredicateSustained True True True 3,666.84 ns 17.674 ns 16.532 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 546.9 ns 0.42 ns 0.38 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,218.2 ns 7.28 ns 6.45 ns 13.20 0.01 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,221.5 ns 2.90 ns 2.72 ns 2.23 0.01 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,206.0 ns 2.48 ns 2.32 ns 2.21 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,244.8 ns 33.34 ns 31.18 ns 16.90 0.06 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 551.5 ns 0.42 ns 0.37 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 573,307.7 ns 1,418.52 ns 1,326.89 ns 1,039.49 2.43 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,911.2 ns 7.72 ns 7.22 ns 3.47 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,902.3 ns 5.80 ns 5.14 ns 3.45 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 766,243.7 ns 1,196.89 ns 999.45 ns 1,389.32 1.97 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 545.5 ns 0.18 ns 0.16 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,579,848.8 ns 210,121.18 ns 196,547.48 ns 109,216.54 350.31 250.0000 125.0000 125.0000 16000899 B 46,514.24
InvokeIntArrayFixed 100000 60,229.4 ns 551.83 ns 516.19 ns 110.41 0.92 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 60,471.1 ns 407.44 ns 381.12 ns 110.85 0.68 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,985,252.4 ns 246,825.43 ns 218,804.32 ns 159,453.71 390.19 1000.0000 833.3333 833.3333 27894277 B 81,088.01

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.146 μs 0.0115 μs 0.0108 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.137 μs 0.0099 μs 0.0088 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.149 μs 0.0103 μs 0.0096 μs 1.00 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
GetInstanceIntField 108.4 ns 0.03 ns 0.03 ns 1.00 0.0004 24 B 1.00
SetInstanceIntField 150.6 ns 0.03 ns 0.03 ns 1.39 0.0002 24 B 1.00
GetInstanceStringField 117.8 ns 0.02 ns 0.02 ns 1.09 - - 0.00
SetInstanceStringField 723.5 ns 0.78 ns 0.65 ns 6.68 0.0038 288 B 12.00
GetStaticIntField 125.4 ns 0.03 ns 0.03 ns 1.16 0.0002 24 B 1.00
SetStaticIntField 151.1 ns 0.04 ns 0.04 ns 1.39 0.0002 24 B 1.00
GetStaticStringField 115.3 ns 0.04 ns 0.04 ns 1.06 - - 0.00
SetStaticStringField 713.9 ns 0.92 ns 0.86 ns 6.59 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 157.4 ns 0.02 ns 0.02 ns 1.45 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 303.3 ns 0.15 ns 0.14 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 273.7 ns 0.08 ns 0.06 ns 0.90 - - NA
InvokeStaticWithFeedback 522.9 ns 0.41 ns 0.36 ns 1.72 0.0048 344 B NA
InvokeInstanceEmpty 324.3 ns 0.08 ns 0.07 ns 1.07 - - NA
InvokeInstanceWithFeedback 554.1 ns 0.29 ns 0.26 ns 1.83 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.344 μs 0.0024 μs 0.0022 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,946.0 ns 3.60 ns 2.81 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 594.0 ns 0.29 ns 0.26 ns 0.31 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 60,354.6 ns 240.29 ns 224.76 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 592.8 ns 0.22 ns 0.18 ns 0.010 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,107,133.3 ns 55,188.76 ns 51,623.60 ns 1.000 78.1250 78.1250 78.1250 2400890 B 1.000
InvokeSingleStringPreallocated 100000 641.5 ns 0.23 ns 0.21 ns 0.000 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,033.2 ns 4.85 ns 4.30 ns - 104 B
PredicateRoundTrip False False True 1,012.9 ns 6.95 ns 6.50 ns - 104 B
PredicateRoundTrip False True False 1,235.6 ns 5.07 ns 4.75 ns 0.0019 200 B
PredicateRoundTrip False True True 4,897.0 ns 28.78 ns 24.03 ns 0.0076 792 B
PredicateRoundTrip True False False 422.4 ns 0.34 ns 0.32 ns - 24 B
PredicateRoundTrip True False True 429.3 ns 0.49 ns 0.46 ns - 24 B
PredicateRoundTrip True True False 636.4 ns 0.93 ns 0.73 ns 0.0010 120 B
PredicateRoundTrip True True True 4,094.0 ns 38.83 ns 36.32 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 612.14 ns 1.677 ns 1.569 ns 0.0011 80 B
PredicateSustained False False True 612.27 ns 1.193 ns 1.058 ns 0.0011 80 B
PredicateSustained False True False 796.89 ns 8.312 ns 7.775 ns 0.0014 176 B
PredicateSustained False True True 4,381.87 ns 22.634 ns 21.172 ns 0.0100 768 B
PredicateSustained True False False 52.06 ns 0.961 ns 1.068 ns - -
PredicateSustained True False True 52.74 ns 1.042 ns 1.241 ns - -
PredicateSustained True True False 238.49 ns 0.258 ns 0.229 ns 0.0013 96 B
PredicateSustained True True True 3,575.45 ns 24.307 ns 22.736 ns 0.0100 688 B

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 541.5 ns 0.48 ns 0.45 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 10 7,239.6 ns 15.04 ns 13.33 ns 13.37 0.03 0.0305 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,200.4 ns 2.02 ns 1.89 ns 2.22 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,210.1 ns 2.09 ns 1.95 ns 2.23 0.00 0.0057 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,379.8 ns 20.51 ns 16.02 ns 17.32 0.03 0.0458 - - 3520 B 10.23
InvokeIntParam 1000 541.4 ns 0.50 ns 0.44 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 1000 575,294.8 ns 1,495.31 ns 1,398.72 ns 1,062.67 2.64 1.9531 - - 160448 B 466.42
InvokeIntArrayFixed 1000 1,918.3 ns 5.93 ns 4.96 ns 3.54 0.01 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,910.3 ns 11.23 ns 10.50 ns 3.53 0.02 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 772,395.6 ns 1,179.34 ns 920.75 ns 1,426.75 1.98 3.9063 0.9766 - 265888 B 772.93
InvokeIntParam 100000 536.0 ns 0.42 ns 0.37 ns 1.00 0.00 0.0048 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,310,144.1 ns 277,779.10 ns 231,958.13 ns 112,522.62 423.71 333.3333 222.2222 222.2222 16001738 B 46,516.68
InvokeIntArrayFixed 100000 60,429.9 ns 728.59 ns 681.52 ns 112.75 1.23 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 59,788.0 ns 413.99 ns 345.70 ns 111.55 0.63 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,032,126.4 ns 1,502,209.60 ns 1,405,167.79 ns 160,512.96 2,541.10 666.6667 500.0000 500.0000 27894040 B 81,087.33

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.141 μs 0.0090 μs 0.0084 μs 1.00 0.0038 360 B 1.00
NewWithSignature 1.126 μs 0.0057 μs 0.0047 μs 0.99 0.0038 360 B 1.00
DeclaredNewEmpty 1.133 μs 0.0085 μs 0.0079 μs 0.99 0.0038 360 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 110.6 ns 0.04 ns 0.03 ns 1.00 0.00 0.0004 24 B 1.00
SetInstanceIntField 158.5 ns 0.04 ns 0.04 ns 1.43 0.00 0.0002 24 B 1.00
GetInstanceStringField 119.1 ns 0.06 ns 0.05 ns 1.08 0.00 - - 0.00
SetInstanceStringField 724.6 ns 2.44 ns 2.28 ns 6.55 0.02 0.0038 288 B 12.00
GetStaticIntField 126.4 ns 0.05 ns 0.05 ns 1.14 0.00 0.0002 24 B 1.00
SetStaticIntField 148.9 ns 0.06 ns 0.05 ns 1.35 0.00 0.0002 24 B 1.00
GetStaticStringField 120.2 ns 0.05 ns 0.05 ns 1.09 0.00 - - 0.00
SetStaticStringField 715.2 ns 1.67 ns 1.56 ns 6.47 0.01 0.0038 288 B 12.00
GetInstanceIntFieldGeneric 154.5 ns 0.05 ns 0.05 ns 1.40 0.00 0.0002 24 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 311.4 ns 0.20 ns 0.18 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 275.3 ns 0.10 ns 0.09 ns 0.88 - - NA
InvokeStaticWithFeedback 552.6 ns 0.24 ns 0.21 ns 1.77 0.0048 344 B NA
InvokeInstanceEmpty 319.7 ns 0.10 ns 0.10 ns 1.03 - - NA
InvokeInstanceWithFeedback 536.8 ns 0.32 ns 0.29 ns 1.72 0.0048 344 B NA

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.355 μs 0.0036 μs 0.0034 μs 1.00 0.0095 712 B 1.00

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,002.6 ns 8.81 ns 7.36 ns 1.00 0.01 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 600.8 ns 0.40 ns 0.35 ns 0.30 0.00 0.0048 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 63,543.0 ns 178.38 ns 166.86 ns 1.000 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 610.9 ns 0.28 ns 0.25 ns 0.010 0.00 0.0048 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 9,387,499.5 ns 185,445.51 ns 164,392.61 ns 1.000 0.02 78.1250 78.1250 78.1250 2400822 B 1.000
InvokeSingleStringPreallocated 100000 644.1 ns 0.49 ns 0.43 ns 0.000 0.00 0.0048 - - 320 B 0.000

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,017.6 ns 6.62 ns 6.19 ns - 104 B
PredicateRoundTrip False False True 1,034.0 ns 8.45 ns 7.91 ns - 104 B
PredicateRoundTrip False True False 1,224.1 ns 6.62 ns 6.19 ns 0.0019 200 B
PredicateRoundTrip False True True 4,530.0 ns 8.25 ns 6.89 ns 0.0076 792 B
PredicateRoundTrip True False False 435.4 ns 0.38 ns 0.34 ns - 24 B
PredicateRoundTrip True False True 434.1 ns 0.31 ns 0.27 ns - 24 B
PredicateRoundTrip True True False 647.3 ns 4.49 ns 3.98 ns 0.0010 120 B
PredicateRoundTrip True True True 3,895.6 ns 10.28 ns 8.03 ns 0.0076 712 B

core-ubuntu-24.04-arm_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Neoverse-N2, 4 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), Arm64 RyuJIT armv8.0-a


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 610.20 ns 0.642 ns 0.501 ns 0.0011 80 B
PredicateSustained False False True 599.04 ns 0.999 ns 0.780 ns 0.0011 80 B
PredicateSustained False True False 794.21 ns 4.742 ns 4.436 ns 0.0014 176 B
PredicateSustained False True True 4,335.86 ns 38.769 ns 43.092 ns 0.0100 768 B
PredicateSustained True False False 49.93 ns 0.946 ns 1.012 ns - -
PredicateSustained True False True 48.75 ns 0.331 ns 0.310 ns - -
PredicateSustained True True False 240.41 ns 0.440 ns 0.390 ns 0.0013 96 B
PredicateSustained True True True 3,433.36 ns 34.246 ns 32.034 ns 0.0100 688 B

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 562.1 ns 5.57 ns 4.93 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 6,297.6 ns 36.33 ns 30.34 ns 11.20 0.11 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,269.7 ns 6.12 ns 5.11 ns 2.26 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,280.7 ns 4.47 ns 3.96 ns 2.28 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,891.4 ns 56.33 ns 52.69 ns 15.82 0.16 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 576.4 ns 9.00 ns 8.42 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 476,620.8 ns 2,446.77 ns 2,168.99 ns 827.09 12.31 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,962.8 ns 9.32 ns 8.26 ns 3.41 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,922.2 ns 11.67 ns 9.75 ns 3.34 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 659,978.7 ns 5,413.89 ns 5,064.15 ns 1,145.27 18.38 15.6250 5.8594 - 265856 B 852.10
InvokeIntParam 100000 570.8 ns 3.91 ns 3.26 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 58,294,678.5 ns 599,961.83 ns 561,204.67 ns 102,133.23 1,106.51 1111.1111 1000.0000 333.3333 16002060 B 51,288.65
InvokeIntArrayFixed 100000 68,370.8 ns 412.05 ns 365.27 ns 119.79 0.91 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 68,183.4 ns 367.40 ns 325.69 ns 119.46 0.86 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,797,095.2 ns 1,611,131.51 ns 1,855,381.44 ns 145,061.86 3,273.67 2000.0000 1857.1429 857.1429 27894187 B 89,404.45

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.162 μs 0.0037 μs 0.0033 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.170 μs 0.0054 μs 0.0051 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.141 μs 0.0066 μs 0.0055 μs 0.98 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 76.93 ns 0.943 ns 0.882 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 87.09 ns 0.832 ns 0.779 ns 1.13 0.02 0.0014 24 B 1.00
GetInstanceStringField 84.65 ns 1.416 ns 1.324 ns 1.10 0.02 - - 0.00
SetInstanceStringField 601.76 ns 2.560 ns 2.138 ns 7.82 0.09 0.0153 256 B 10.67
GetStaticIntField 83.96 ns 1.010 ns 0.945 ns 1.09 0.02 0.0014 24 B 1.00
SetStaticIntField 89.98 ns 0.469 ns 0.391 ns 1.17 0.01 0.0014 24 B 1.00
GetStaticStringField 83.66 ns 1.181 ns 1.105 ns 1.09 0.02 - - 0.00
SetStaticStringField 602.00 ns 6.088 ns 5.695 ns 7.83 0.11 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 84.07 ns 0.739 ns 0.691 ns 1.09 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 346.1 ns 5.07 ns 4.74 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 347.6 ns 5.26 ns 4.92 ns 1.00 0.02 - - NA
InvokeStaticWithFeedback 526.1 ns 4.64 ns 4.34 ns 1.52 0.02 0.0181 312 B NA
InvokeInstanceEmpty 362.0 ns 4.20 ns 3.93 ns 1.05 0.02 - - NA
InvokeInstanceWithFeedback 580.2 ns 5.65 ns 5.28 ns 1.68 0.03 0.0181 312 B NA

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.442 μs 0.0099 μs 0.0093 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,111.8 ns 7.49 ns 6.64 ns 1.00 0.00 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 594.2 ns 4.05 ns 3.59 ns 0.28 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,663.0 ns 725.15 ns 678.31 ns 1.000 0.02 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 592.8 ns 3.93 ns 3.48 ns 0.010 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,828,521.9 ns 138,733.78 ns 154,202.23 ns 1.000 0.03 78.1250 78.1250 78.1250 2401089 B 1.000
InvokeSingleStringPreallocated 100000 634.8 ns 4.28 ns 4.00 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,127.1 ns 14.37 ns 13.44 ns 0.0057 104 B
PredicateRoundTrip False False True 1,101.8 ns 16.52 ns 15.46 ns 0.0057 104 B
PredicateRoundTrip False True False 1,361.8 ns 4.27 ns 3.78 ns 0.0114 200 B
PredicateRoundTrip False True True 4,697.6 ns 27.10 ns 22.63 ns 0.0381 760 B
PredicateRoundTrip True False False 418.5 ns 5.37 ns 5.02 ns 0.0014 24 B
PredicateRoundTrip True False True 417.1 ns 4.71 ns 4.41 ns 0.0014 24 B
PredicateRoundTrip True True False 691.7 ns 5.86 ns 5.20 ns 0.0067 120 B
PredicateRoundTrip True True True 4,003.6 ns 12.63 ns 11.20 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 538.53 ns 5.232 ns 4.638 ns 0.0040 80 B
PredicateSustained False False True 530.04 ns 6.146 ns 5.749 ns 0.0040 80 B
PredicateSustained False True False 741.89 ns 5.758 ns 5.386 ns 0.0100 176 B
PredicateSustained False True True 4,234.57 ns 29.478 ns 24.615 ns 0.0400 736 B
PredicateSustained True False False 29.03 ns 0.283 ns 0.265 ns - -
PredicateSustained True False True 29.06 ns 0.317 ns 0.297 ns - -
PredicateSustained True True False 208.10 ns 2.050 ns 1.918 ns 0.0056 96 B
PredicateSustained True True True 3,390.68 ns 17.761 ns 14.832 ns 0.0300 656 B

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 485.2 ns 3.69 ns 3.28 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,572.1 ns 24.51 ns 22.93 ns 11.48 0.09 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,132.7 ns 6.24 ns 5.53 ns 2.33 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,138.4 ns 5.28 ns 4.94 ns 2.35 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,707.1 ns 41.66 ns 38.97 ns 15.88 0.13 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 496.7 ns 2.34 ns 2.07 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 398,333.8 ns 1,144.00 ns 1,070.10 ns 802.01 3.85 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,885.8 ns 10.87 ns 10.17 ns 3.80 0.03 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,893.1 ns 7.75 ns 7.25 ns 3.81 0.02 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 611,008.9 ns 4,478.41 ns 3,739.67 ns 1,230.22 8.79 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 484.6 ns 1.41 ns 1.10 ns 1.00 0.00 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 51,125,775.4 ns 402,444.35 ns 376,446.69 ns 105,510.27 787.17 1100.0000 1000.0000 300.0000 16001905 B 51,288.16
InvokeIntArrayFixed 100000 63,677.3 ns 194.28 ns 172.22 ns 131.41 0.45 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 63,468.1 ns 190.41 ns 178.11 ns 130.98 0.46 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 77,543,934.2 ns 1,543,250.50 ns 2,578,425.10 ns 160,030.47 5,264.46 2142.8571 2000.0000 1000.0000 27898075 B 89,416.91

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.032 μs 0.0050 μs 0.0044 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.075 μs 0.0049 μs 0.0046 μs 1.04 0.0210 360 B 1.00
DeclaredNewEmpty 1.048 μs 0.0057 μs 0.0051 μs 1.02 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 87.74 ns 0.535 ns 0.500 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 89.48 ns 0.658 ns 0.616 ns 1.02 0.01 0.0014 24 B 1.00
GetInstanceStringField 85.15 ns 0.602 ns 0.534 ns 0.97 0.01 - - 0.00
SetInstanceStringField 523.04 ns 3.167 ns 2.962 ns 5.96 0.05 0.0153 256 B 10.67
GetStaticIntField 85.71 ns 0.685 ns 0.641 ns 0.98 0.01 0.0014 24 B 1.00
SetStaticIntField 85.44 ns 0.371 ns 0.329 ns 0.97 0.01 0.0014 24 B 1.00
GetStaticStringField 78.48 ns 0.524 ns 0.465 ns 0.89 0.01 - - 0.00
SetStaticStringField 526.73 ns 3.694 ns 3.275 ns 6.00 0.05 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 85.95 ns 0.477 ns 0.446 ns 0.98 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 247.7 ns 2.48 ns 2.20 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 247.4 ns 2.17 ns 2.03 ns 1.00 0.01 - - NA
InvokeStaticWithFeedback 503.7 ns 3.50 ns 3.28 ns 2.03 0.02 0.0181 312 B NA
InvokeInstanceEmpty 251.7 ns 3.40 ns 3.18 ns 1.02 0.02 - - NA
InvokeInstanceWithFeedback 523.3 ns 2.72 ns 2.55 ns 2.11 0.02 0.0181 312 B NA

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.319 μs 0.0096 μs 0.0090 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,052.0 ns 8.91 ns 8.34 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 533.3 ns 3.31 ns 3.10 ns 0.26 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 76,733.0 ns 1,053.22 ns 985.18 ns 1.000 0.02 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 543.3 ns 4.31 ns 3.82 ns 0.007 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,798,277.0 ns 76,492.71 ns 71,551.33 ns 1.000 0.01 78.1250 78.1250 78.1250 2400953 B 1.000
InvokeSingleStringPreallocated 100000 562.8 ns 4.27 ns 3.99 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 984.8 ns 5.96 ns 4.98 ns 0.0057 104 B
PredicateRoundTrip False False True 999.5 ns 7.64 ns 7.14 ns 0.0057 104 B
PredicateRoundTrip False True False 1,264.3 ns 4.45 ns 3.72 ns 0.0114 200 B
PredicateRoundTrip False True True 4,362.7 ns 16.38 ns 13.68 ns 0.0381 760 B
PredicateRoundTrip True False False 373.8 ns 3.52 ns 3.30 ns 0.0014 24 B
PredicateRoundTrip True False True 387.4 ns 3.96 ns 3.70 ns 0.0014 24 B
PredicateRoundTrip True True False 652.9 ns 2.81 ns 2.49 ns 0.0067 120 B
PredicateRoundTrip True True True 3,542.8 ns 6.84 ns 5.71 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 527.99 ns 3.230 ns 2.522 ns 0.0040 80 B
PredicateSustained False False True 496.20 ns 5.234 ns 4.639 ns 0.0045 80 B
PredicateSustained False True False 671.60 ns 5.742 ns 5.371 ns 0.0100 176 B
PredicateSustained False True True 3,722.33 ns 45.559 ns 40.387 ns 0.0400 736 B
PredicateSustained True False False 29.11 ns 0.159 ns 0.148 ns - -
PredicateSustained True False True 30.52 ns 0.185 ns 0.164 ns - -
PredicateSustained True True False 192.78 ns 1.279 ns 1.134 ns 0.0056 96 B
PredicateSustained True True True 3,020.53 ns 13.675 ns 12.791 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 562.6 ns 8.41 ns 7.87 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 6,051.1 ns 65.57 ns 61.33 ns 10.76 0.18 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,214.5 ns 6.00 ns 5.32 ns 2.16 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,170.2 ns 9.38 ns 8.78 ns 2.08 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,405.6 ns 35.72 ns 31.66 ns 14.94 0.21 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 562.7 ns 5.51 ns 5.15 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 446,916.8 ns 2,630.57 ns 2,196.65 ns 794.33 7.99 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,827.9 ns 4.80 ns 4.01 ns 3.25 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,916.3 ns 9.18 ns 8.59 ns 3.41 0.03 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 638,256.3 ns 5,063.73 ns 4,488.86 ns 1,134.41 12.68 15.6250 5.8594 - 265856 B 852.10
InvokeIntParam 100000 572.4 ns 3.84 ns 3.40 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,135,791.2 ns 440,693.85 ns 390,663.62 ns 99,816.18 872.51 1111.1111 1000.0000 333.3333 16002299 B 51,289.42
InvokeIntArrayFixed 100000 68,599.7 ns 666.68 ns 623.61 ns 119.84 1.26 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 68,285.1 ns 669.89 ns 593.84 ns 119.29 1.21 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,068,517.7 ns 1,304,567.21 ns 1,220,292.98 ns 141,626.64 2,217.97 2142.8571 2000.0000 1000.0000 27896720 B 89,412.56

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.108 μs 0.0069 μs 0.0061 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.120 μs 0.0089 μs 0.0078 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.105 μs 0.0051 μs 0.0045 μs 1.00 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 73.32 ns 0.625 ns 0.585 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 87.18 ns 0.675 ns 0.632 ns 1.19 0.01 0.0014 24 B 1.00
GetInstanceStringField 88.53 ns 0.868 ns 0.812 ns 1.21 0.01 - - 0.00
SetInstanceStringField 580.21 ns 2.282 ns 2.023 ns 7.91 0.07 0.0153 256 B 10.67
GetStaticIntField 84.48 ns 0.565 ns 0.529 ns 1.15 0.01 0.0014 24 B 1.00
SetStaticIntField 85.03 ns 1.181 ns 1.105 ns 1.16 0.02 0.0014 24 B 1.00
GetStaticStringField 76.68 ns 1.017 ns 0.951 ns 1.05 0.01 - - 0.00
SetStaticStringField 585.54 ns 2.787 ns 2.471 ns 7.99 0.07 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 81.58 ns 0.925 ns 0.866 ns 1.11 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 257.8 ns 1.21 ns 1.07 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 267.4 ns 2.49 ns 2.33 ns 1.04 0.01 - - NA
InvokeStaticWithFeedback 547.3 ns 7.19 ns 6.73 ns 2.12 0.03 0.0181 312 B NA
InvokeInstanceEmpty 287.4 ns 3.46 ns 3.24 ns 1.11 0.01 - - NA
InvokeInstanceWithFeedback 558.6 ns 6.32 ns 5.91 ns 2.17 0.02 0.0181 312 B NA

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.456 μs 0.0061 μs 0.0054 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,949.8 ns 9.75 ns 9.12 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 592.0 ns 5.09 ns 4.76 ns 0.30 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 56,200.5 ns 714.66 ns 668.49 ns 1.00 0.02 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 575.3 ns 3.38 ns 3.17 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,827,205.6 ns 152,943.58 ns 163,647.91 ns 1.000 0.03 78.1250 78.1250 78.1250 2401013 B 1.000
InvokeSingleStringPreallocated 100000 617.1 ns 4.03 ns 3.77 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,102.1 ns 10.35 ns 9.17 ns 0.0057 104 B
PredicateRoundTrip False False True 1,050.1 ns 11.37 ns 10.64 ns 0.0057 104 B
PredicateRoundTrip False True False 1,284.6 ns 7.97 ns 7.07 ns 0.0114 200 B
PredicateRoundTrip False True True 4,328.3 ns 25.61 ns 22.70 ns 0.0381 760 B
PredicateRoundTrip True False False 422.8 ns 4.33 ns 4.05 ns 0.0014 24 B
PredicateRoundTrip True False True 427.5 ns 4.03 ns 3.77 ns 0.0014 24 B
PredicateRoundTrip True True False 660.7 ns 2.04 ns 1.81 ns 0.0067 120 B
PredicateRoundTrip True True True 3,796.3 ns 27.16 ns 24.08 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 525.04 ns 6.286 ns 5.880 ns 0.0040 80 B
PredicateSustained False False True 525.35 ns 4.831 ns 4.034 ns 0.0040 80 B
PredicateSustained False True False 756.80 ns 3.738 ns 3.497 ns 0.0100 176 B
PredicateSustained False True True 3,931.95 ns 20.011 ns 18.718 ns 0.0400 736 B
PredicateSustained True False False 28.03 ns 0.223 ns 0.198 ns - -
PredicateSustained True False True 28.17 ns 0.213 ns 0.200 ns - -
PredicateSustained True True False 199.62 ns 1.374 ns 1.285 ns 0.0056 96 B
PredicateSustained True True True 3,206.99 ns 19.794 ns 18.515 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 588.6 ns 5.70 ns 4.76 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,857.5 ns 19.85 ns 16.57 ns 9.95 0.08 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,213.7 ns 5.28 ns 4.68 ns 2.06 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,206.6 ns 6.90 ns 6.11 ns 2.05 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,268.0 ns 86.78 ns 76.93 ns 14.05 0.17 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 553.0 ns 5.06 ns 4.49 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 438,720.1 ns 2,221.68 ns 1,969.46 ns 793.37 7.10 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,872.1 ns 10.82 ns 10.12 ns 3.39 0.03 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,873.4 ns 11.12 ns 10.40 ns 3.39 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 650,746.3 ns 5,291.11 ns 4,949.31 ns 1,176.80 12.65 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 574.3 ns 5.12 ns 4.27 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 55,339,141.1 ns 481,239.76 ns 450,151.97 ns 96,367.82 1,030.88 1100.0000 1000.0000 300.0000 16002274 B 51,289.34
InvokeIntArrayFixed 100000 67,753.4 ns 544.69 ns 482.85 ns 117.99 1.18 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 68,648.4 ns 1,085.16 ns 961.96 ns 119.54 1.84 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,925,581.3 ns 660,745.43 ns 551,752.36 ns 142,665.56 1,386.98 2142.8571 2000.0000 1000.0000 27896847 B 89,412.97

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.141 μs 0.0051 μs 0.0045 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.116 μs 0.0047 μs 0.0039 μs 0.98 0.0210 360 B 1.00
DeclaredNewEmpty 1.111 μs 0.0106 μs 0.0099 μs 0.97 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 73.19 ns 0.542 ns 0.507 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 79.93 ns 0.741 ns 0.657 ns 1.09 0.01 0.0014 24 B 1.00
GetInstanceStringField 77.57 ns 0.621 ns 0.581 ns 1.06 0.01 - - 0.00
SetInstanceStringField 557.26 ns 5.198 ns 4.862 ns 7.61 0.08 0.0153 256 B 10.67
GetStaticIntField 77.67 ns 0.418 ns 0.391 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 85.41 ns 0.676 ns 0.633 ns 1.17 0.01 0.0014 24 B 1.00
GetStaticStringField 69.73 ns 0.907 ns 0.848 ns 0.95 0.01 - - 0.00
SetStaticStringField 573.65 ns 4.471 ns 3.964 ns 7.84 0.07 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 80.02 ns 0.880 ns 0.823 ns 1.09 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 250.0 ns 4.10 ns 3.84 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 272.5 ns 2.24 ns 2.09 ns 1.09 0.02 - - NA
InvokeStaticWithFeedback 548.3 ns 3.97 ns 3.71 ns 2.19 0.04 0.0181 312 B NA
InvokeInstanceEmpty 296.7 ns 3.90 ns 3.64 ns 1.19 0.02 - - NA
InvokeInstanceWithFeedback 556.0 ns 7.43 ns 6.95 ns 2.22 0.04 0.0181 312 B NA

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.448 μs 0.0074 μs 0.0066 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,020.9 ns 10.51 ns 9.32 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 590.3 ns 6.54 ns 6.12 ns 0.29 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 57,587.3 ns 506.07 ns 473.38 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 578.4 ns 7.17 ns 6.71 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,920,738.3 ns 157,523.70 ns 193,453.26 ns 1.001 0.03 78.1250 78.1250 78.1250 2400622 B 1.000
InvokeSingleStringPreallocated 100000 617.1 ns 5.51 ns 4.88 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,021.7 ns 9.91 ns 9.27 ns 0.0057 104 B
PredicateRoundTrip False False True 990.5 ns 12.04 ns 10.67 ns 0.0057 104 B
PredicateRoundTrip False True False 1,271.1 ns 4.21 ns 3.74 ns 0.0114 200 B
PredicateRoundTrip False True True 4,484.2 ns 13.76 ns 11.49 ns 0.0381 760 B
PredicateRoundTrip True False False 417.9 ns 5.23 ns 4.89 ns 0.0014 24 B
PredicateRoundTrip True False True 402.0 ns 5.49 ns 4.87 ns 0.0014 24 B
PredicateRoundTrip True True False 653.3 ns 3.30 ns 3.09 ns 0.0067 120 B
PredicateRoundTrip True True True 3,742.5 ns 13.19 ns 11.69 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 498.26 ns 7.597 ns 6.735 ns 0.0040 80 B
PredicateSustained False False True 492.20 ns 6.454 ns 6.037 ns 0.0045 80 B
PredicateSustained False True False 750.68 ns 7.875 ns 7.367 ns 0.0100 176 B
PredicateSustained False True True 3,837.43 ns 21.068 ns 19.707 ns 0.0400 736 B
PredicateSustained True False False 29.14 ns 0.293 ns 0.260 ns - -
PredicateSustained True False True 30.48 ns 0.209 ns 0.195 ns - -
PredicateSustained True True False 197.02 ns 0.686 ns 0.608 ns 0.0056 96 B
PredicateSustained True True True 3,173.70 ns 12.627 ns 11.193 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 525.4 ns 5.57 ns 5.21 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,983.8 ns 25.88 ns 22.95 ns 11.39 0.12 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,152.8 ns 5.05 ns 4.48 ns 2.19 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,179.2 ns 7.58 ns 7.09 ns 2.24 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,019.4 ns 36.18 ns 30.21 ns 15.27 0.16 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 519.8 ns 9.11 ns 8.52 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 442,562.5 ns 2,388.45 ns 2,234.15 ns 851.60 14.24 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,581.9 ns 4.38 ns 4.09 ns 3.04 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,586.9 ns 6.90 ns 5.76 ns 3.05 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 644,457.6 ns 3,530.83 ns 2,948.40 ns 1,240.09 20.58 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 522.3 ns 4.34 ns 4.06 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 56,606,365.0 ns 623,617.45 ns 552,820.63 ns 108,393.02 1,309.17 1111.1111 1000.0000 333.3333 16002422 B 51,289.81
InvokeIntArrayFixed 100000 39,103.9 ns 347.83 ns 325.36 ns 74.88 0.83 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 39,164.0 ns 218.56 ns 193.75 ns 74.99 0.67 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 80,505,427.9 ns 1,225,752.70 ns 1,086,597.84 ns 154,156.28 2,321.92 2142.8571 2000.0000 1000.0000 27897601 B 89,415.39

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.068 μs 0.0092 μs 0.0086 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.080 μs 0.0087 μs 0.0082 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.070 μs 0.0061 μs 0.0058 μs 1.00 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 85.08 ns 0.732 ns 0.685 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 84.40 ns 0.907 ns 0.848 ns 0.99 0.01 0.0014 24 B 1.00
GetInstanceStringField 80.17 ns 0.751 ns 0.703 ns 0.94 0.01 - - 0.00
SetInstanceStringField 580.29 ns 3.285 ns 2.912 ns 6.82 0.06 0.0153 256 B 10.67
GetStaticIntField 83.23 ns 1.227 ns 1.148 ns 0.98 0.02 0.0014 24 B 1.00
SetStaticIntField 85.00 ns 0.762 ns 0.713 ns 1.00 0.01 0.0014 24 B 1.00
GetStaticStringField 75.83 ns 0.656 ns 0.614 ns 0.89 0.01 - - 0.00
SetStaticStringField 593.80 ns 4.802 ns 4.010 ns 6.98 0.07 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 91.66 ns 0.980 ns 0.917 ns 1.08 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 265.2 ns 2.68 ns 2.38 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 272.0 ns 2.50 ns 2.34 ns 1.03 0.01 - - NA
InvokeStaticWithFeedback 501.7 ns 6.12 ns 5.73 ns 1.89 0.03 0.0181 312 B NA
InvokeInstanceEmpty 277.2 ns 2.94 ns 2.75 ns 1.05 0.01 - - NA
InvokeInstanceWithFeedback 514.3 ns 6.61 ns 6.18 ns 1.94 0.03 0.0181 312 B NA

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.349 μs 0.0092 μs 0.0086 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,954.0 ns 16.64 ns 15.56 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 553.6 ns 7.48 ns 7.00 ns 0.28 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 51,071.7 ns 577.14 ns 539.85 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 574.2 ns 6.92 ns 6.47 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,708,933.3 ns 129,402.08 ns 143,830.07 ns 1.000 0.03 70.3125 70.3125 70.3125 2400895 B 1.000
InvokeSingleStringPreallocated 100000 635.8 ns 7.84 ns 7.33 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,020.0 ns 10.88 ns 10.18 ns 0.0057 104 B
PredicateRoundTrip False False True 984.5 ns 10.69 ns 10.00 ns 0.0057 104 B
PredicateRoundTrip False True False 1,268.2 ns 3.60 ns 3.19 ns 0.0114 200 B
PredicateRoundTrip False True True 4,296.6 ns 18.12 ns 16.07 ns 0.0381 760 B
PredicateRoundTrip True False False 406.1 ns 3.66 ns 3.43 ns 0.0014 24 B
PredicateRoundTrip True False True 409.3 ns 7.50 ns 7.01 ns 0.0014 24 B
PredicateRoundTrip True True False 657.0 ns 2.42 ns 2.02 ns 0.0067 120 B
PredicateRoundTrip True True True 3,610.6 ns 13.78 ns 11.50 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 497.39 ns 3.362 ns 3.144 ns 0.0045 80 B
PredicateSustained False False True 495.72 ns 3.612 ns 3.202 ns 0.0045 80 B
PredicateSustained False True False 725.26 ns 6.717 ns 5.954 ns 0.0100 176 B
PredicateSustained False True True 3,772.39 ns 15.757 ns 13.968 ns 0.0400 736 B
PredicateSustained True False False 31.38 ns 0.277 ns 0.259 ns - -
PredicateSustained True False True 27.51 ns 0.217 ns 0.203 ns - -
PredicateSustained True True False 200.15 ns 1.250 ns 1.169 ns 0.0056 96 B
PredicateSustained True True True 3,141.87 ns 13.487 ns 11.262 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 386.4 ns 6.72 ns 6.29 ns 1.00 0.02 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 10 4,910.1 ns 52.73 ns 49.32 ns 12.71 0.24 0.0229 - - 2016 B 6.46
InvokeIntArrayFixed 10 755.2 ns 3.93 ns 3.68 ns 1.95 0.03 0.0048 - - 416 B 1.33
InvokeVarArgsWholeArray 10 761.0 ns 9.20 ns 8.61 ns 1.97 0.04 0.0048 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,677.2 ns 82.97 ns 73.55 ns 19.87 0.37 0.0305 - - 3488 B 11.18
InvokeIntParam 1000 390.8 ns 4.66 ns 4.14 ns 1.00 0.01 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 1000 388,681.9 ns 4,220.06 ns 3,947.45 ns 994.76 14.05 1.4648 0.4883 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,307.1 ns 10.85 ns 10.15 ns 3.35 0.04 0.0038 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,316.7 ns 7.83 ns 7.33 ns 3.37 0.04 0.0038 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 658,234.9 ns 8,498.86 ns 7,534.02 ns 1,684.64 25.28 2.9297 - - 265856 B 852.10
InvokeIntParam 100000 378.1 ns 7.17 ns 6.71 ns 1.00 0.02 0.0033 - - 312 B 1.00
InvokeStringArrayFixed 100000 44,347,080.4 ns 558,403.13 ns 495,009.83 ns 117,334.34 2,362.62 272.7273 181.8182 181.8182 16000948 B 51,285.09
InvokeIntArrayFixed 100000 49,059.6 ns 358.59 ns 317.88 ns 129.80 2.35 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 48,631.6 ns 500.28 ns 467.96 ns 128.67 2.49 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 74,537,921.2 ns 1,457,926.89 ns 1,363,745.72 ns 197,213.83 4,842.75 1142.8571 1000.0000 1000.0000 27899093 B 89,420.17

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 937.0 ns 18.57 ns 19.07 ns 1.00 0.03 0.0038 360 B 1.00
NewWithSignature 801.8 ns 13.18 ns 11.01 ns 0.86 0.02 0.0038 360 B 1.00
DeclaredNewEmpty 835.2 ns 11.48 ns 10.17 ns 0.89 0.02 0.0038 360 B 1.00

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 65.26 ns 1.275 ns 1.468 ns 1.00 0.03 0.0002 24 B 1.00
SetInstanceIntField 71.47 ns 1.410 ns 1.679 ns 1.10 0.03 0.0002 24 B 1.00
GetInstanceStringField 73.62 ns 1.431 ns 1.338 ns 1.13 0.03 - - 0.00
SetInstanceStringField 470.70 ns 9.242 ns 9.077 ns 7.22 0.21 0.0029 256 B 10.67
GetStaticIntField 69.61 ns 1.438 ns 1.539 ns 1.07 0.03 0.0002 24 B 1.00
SetStaticIntField 69.05 ns 0.911 ns 0.852 ns 1.06 0.03 0.0002 24 B 1.00
GetStaticStringField 68.16 ns 0.887 ns 0.830 ns 1.04 0.03 - - 0.00
SetStaticStringField 478.39 ns 9.501 ns 10.941 ns 7.33 0.23 0.0029 256 B 10.67
GetInstanceIntFieldGeneric 68.52 ns 1.402 ns 1.377 ns 1.05 0.03 0.0002 24 B 1.00

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 198.2 ns 3.03 ns 2.84 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 197.6 ns 2.97 ns 2.77 ns 1.00 0.02 - - NA
InvokeStaticWithFeedback 379.0 ns 5.76 ns 4.81 ns 1.91 0.04 0.0033 312 B NA
InvokeInstanceEmpty 202.8 ns 2.16 ns 2.02 ns 1.02 0.02 - - NA
InvokeInstanceWithFeedback 393.7 ns 6.15 ns 5.45 ns 1.99 0.04 0.0033 312 B NA

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 945.1 ns 17.90 ns 16.75 ns 1.00 0.02 0.0076 680 B 1.00

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,411.0 ns 12.74 ns 11.91 ns 1.00 0.01 0.0076 - - 656 B 1.00
InvokeSingleStringPreallocated 10 403.6 ns 4.37 ns 3.88 ns 0.29 0.00 0.0033 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 44,356.5 ns 236.21 ns 184.41 ns 1.000 0.01 0.2441 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 400.5 ns 4.19 ns 3.50 ns 0.009 0.00 0.0033 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 5,132,729.5 ns 82,854.14 ns 77,501.81 ns 1.000 0.02 70.3125 70.3125 70.3125 2400569 B 1.000
InvokeSingleStringPreallocated 100000 424.2 ns 4.23 ns 3.96 ns 0.000 0.00 0.0033 - - 288 B 0.000

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 722.2 ns 11.10 ns 9.84 ns 0.0010 104 B
PredicateRoundTrip False False True 728.8 ns 5.65 ns 5.01 ns 0.0010 104 B
PredicateRoundTrip False True False 916.8 ns 15.08 ns 14.11 ns 0.0019 200 B
PredicateRoundTrip False True True 3,357.0 ns 59.92 ns 56.05 ns 0.0076 760 B
PredicateRoundTrip True False False 287.5 ns 5.53 ns 5.68 ns - 24 B
PredicateRoundTrip True False True 291.7 ns 5.01 ns 4.69 ns - 24 B
PredicateRoundTrip True True False 478.8 ns 4.92 ns 4.60 ns 0.0010 120 B
PredicateRoundTrip True True True 2,870.2 ns 55.89 ns 52.28 ns 0.0076 680 B

core-ubuntu-24.04_net10.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 428.38 ns 5.128 ns 4.797 ns 0.0008 80 B
PredicateSustained False False True 421.40 ns 5.773 ns 5.400 ns 0.0008 80 B
PredicateSustained False True False 583.13 ns 6.354 ns 5.306 ns 0.0011 176 B
PredicateSustained False True True 3,033.01 ns 59.882 ns 73.540 ns 0.0050 736 B
PredicateSustained True False False 43.27 ns 0.262 ns 0.219 ns - -
PredicateSustained True False True 42.28 ns 0.610 ns 0.571 ns - -
PredicateSustained True True False 174.16 ns 1.765 ns 1.651 ns 0.0009 96 B
PredicateSustained True True True 2,500.01 ns 48.148 ns 45.037 ns 0.0050 656 B

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 487.9 ns 5.50 ns 4.87 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,551.2 ns 27.07 ns 25.32 ns 11.38 0.12 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,136.6 ns 8.88 ns 7.87 ns 2.33 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,137.6 ns 7.31 ns 6.48 ns 2.33 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,759.6 ns 29.12 ns 24.32 ns 15.91 0.16 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 509.3 ns 3.27 ns 2.90 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 419,279.7 ns 3,586.03 ns 3,178.93 ns 823.27 7.53 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,600.7 ns 5.10 ns 4.77 ns 3.14 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,595.7 ns 5.97 ns 5.29 ns 3.13 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 628,796.4 ns 3,101.18 ns 2,749.12 ns 1,234.67 8.55 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 485.9 ns 2.90 ns 2.71 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 52,402,552.0 ns 355,885.91 ns 315,483.59 ns 107,847.29 855.76 1100.0000 1000.0000 300.0000 16001206 B 51,285.92
InvokeIntArrayFixed 100000 31,471.5 ns 253.29 ns 236.93 ns 64.77 0.59 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 31,469.9 ns 138.02 ns 129.10 ns 64.77 0.43 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,763,573.1 ns 1,241,564.10 ns 1,100,614.24 ns 170,331.91 2,373.36 2000.0000 1857.1429 857.1429 27892951 B 89,400.48

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.020 μs 0.0074 μs 0.0066 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.021 μs 0.0054 μs 0.0045 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.052 μs 0.0057 μs 0.0054 μs 1.03 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 80.61 ns 0.579 ns 0.513 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 93.51 ns 0.612 ns 0.572 ns 1.16 0.01 0.0014 24 B 1.00
GetInstanceStringField 79.23 ns 0.532 ns 0.497 ns 0.98 0.01 - - 0.00
SetInstanceStringField 529.86 ns 2.258 ns 1.886 ns 6.57 0.05 0.0153 256 B 10.67
GetStaticIntField 83.90 ns 0.673 ns 0.630 ns 1.04 0.01 0.0014 24 B 1.00
SetStaticIntField 84.50 ns 0.500 ns 0.467 ns 1.05 0.01 0.0014 24 B 1.00
GetStaticStringField 75.57 ns 0.519 ns 0.485 ns 0.94 0.01 - - 0.00
SetStaticStringField 542.78 ns 2.289 ns 1.911 ns 6.73 0.05 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 85.08 ns 0.472 ns 0.394 ns 1.06 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 244.2 ns 1.84 ns 1.54 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 261.4 ns 1.69 ns 1.58 ns 1.07 0.01 - - NA
InvokeStaticWithFeedback 498.0 ns 2.41 ns 2.02 ns 2.04 0.01 0.0181 312 B NA
InvokeInstanceEmpty 247.8 ns 3.01 ns 2.51 ns 1.01 0.01 - - NA
InvokeInstanceWithFeedback 506.0 ns 5.34 ns 4.99 ns 2.07 0.02 0.0181 312 B NA

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.266 μs 0.0112 μs 0.0105 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,964.9 ns 10.04 ns 9.40 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 544.3 ns 3.53 ns 3.13 ns 0.28 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,611.7 ns 251.02 ns 222.52 ns 1.000 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 511.0 ns 4.02 ns 3.76 ns 0.008 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,069,133.3 ns 139,006.40 ns 130,026.67 ns 1.000 0.02 78.1250 78.1250 78.1250 2400872 B 1.000
InvokeSingleStringPreallocated 100000 593.2 ns 5.86 ns 5.48 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 948.7 ns 8.49 ns 7.53 ns 0.0057 104 B
PredicateRoundTrip False False True 961.1 ns 6.18 ns 5.48 ns 0.0057 104 B
PredicateRoundTrip False True False 1,241.1 ns 5.69 ns 5.32 ns 0.0114 200 B
PredicateRoundTrip False True True 4,158.2 ns 15.01 ns 14.04 ns 0.0381 760 B
PredicateRoundTrip True False False 366.3 ns 2.57 ns 2.41 ns 0.0014 24 B
PredicateRoundTrip True False True 368.6 ns 2.90 ns 2.71 ns 0.0014 24 B
PredicateRoundTrip True True False 653.4 ns 3.24 ns 3.03 ns 0.0067 120 B
PredicateRoundTrip True True True 3,577.2 ns 11.30 ns 10.02 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 464.71 ns 2.928 ns 2.596 ns 0.0045 80 B
PredicateSustained False False True 482.07 ns 4.215 ns 3.942 ns 0.0045 80 B
PredicateSustained False True False 638.53 ns 3.843 ns 3.595 ns 0.0100 176 B
PredicateSustained False True True 3,614.79 ns 24.894 ns 23.286 ns 0.0400 736 B
PredicateSustained True False False 31.13 ns 0.225 ns 0.199 ns - -
PredicateSustained True False True 32.08 ns 0.166 ns 0.156 ns - -
PredicateSustained True True False 188.48 ns 1.116 ns 0.990 ns 0.0056 96 B
PredicateSustained True True True 3,043.74 ns 12.124 ns 10.748 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 551.5 ns 5.39 ns 5.04 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 6,393.7 ns 54.94 ns 48.70 ns 11.59 0.13 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,223.1 ns 10.10 ns 9.44 ns 2.22 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,230.4 ns 3.58 ns 3.17 ns 2.23 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,737.0 ns 37.55 ns 31.35 ns 15.84 0.15 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 577.9 ns 4.04 ns 3.58 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 464,692.5 ns 1,626.73 ns 1,358.40 ns 804.08 5.33 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,919.4 ns 20.51 ns 19.18 ns 3.32 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,882.2 ns 13.16 ns 12.31 ns 3.26 0.03 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 661,865.9 ns 5,328.95 ns 4,723.97 ns 1,145.26 10.47 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 576.4 ns 4.99 ns 4.66 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,886,710.8 ns 656,330.63 ns 581,820.01 ns 100,438.41 1,256.32 1111.1111 1000.0000 333.3333 16001801 B 51,287.82
InvokeIntArrayFixed 100000 67,111.2 ns 406.34 ns 380.09 ns 116.44 1.12 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 67,028.2 ns 331.98 ns 294.29 ns 116.30 1.04 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,161,273.1 ns 1,545,030.21 ns 1,586,632.27 ns 142,556.86 2,902.47 2142.8571 2000.0000 1000.0000 27897377 B 89,414.67

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.146 μs 0.0060 μs 0.0056 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.129 μs 0.0046 μs 0.0043 μs 0.98 0.0210 360 B 1.00
DeclaredNewEmpty 1.136 μs 0.0049 μs 0.0041 μs 0.99 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 77.50 ns 0.602 ns 0.563 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 87.70 ns 1.164 ns 1.089 ns 1.13 0.02 0.0014 24 B 1.00
GetInstanceStringField 79.96 ns 0.722 ns 0.640 ns 1.03 0.01 - - 0.00
SetInstanceStringField 623.30 ns 3.618 ns 3.384 ns 8.04 0.07 0.0153 256 B 10.67
GetStaticIntField 82.72 ns 0.788 ns 0.737 ns 1.07 0.01 0.0014 24 B 1.00
SetStaticIntField 83.68 ns 0.626 ns 0.555 ns 1.08 0.01 0.0014 24 B 1.00
GetStaticStringField 77.25 ns 0.859 ns 0.804 ns 1.00 0.01 - - 0.00
SetStaticStringField 629.24 ns 2.470 ns 2.189 ns 8.12 0.06 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 92.58 ns 0.885 ns 0.784 ns 1.19 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 340.9 ns 4.27 ns 3.99 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 319.3 ns 5.54 ns 5.18 ns 0.94 0.02 - - NA
InvokeStaticWithFeedback 528.4 ns 4.76 ns 3.97 ns 1.55 0.02 0.0181 312 B NA
InvokeInstanceEmpty 364.3 ns 7.15 ns 6.69 ns 1.07 0.02 - - NA
InvokeInstanceWithFeedback 548.4 ns 7.34 ns 6.87 ns 1.61 0.03 0.0181 312 B NA

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.404 μs 0.0054 μs 0.0048 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,026.4 ns 11.67 ns 9.75 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 610.3 ns 6.65 ns 6.22 ns 0.30 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 56,942.5 ns 355.36 ns 315.02 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 582.1 ns 6.15 ns 5.75 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,725,830.8 ns 151,599.94 ns 141,806.68 ns 1.000 0.03 70.3125 70.3125 70.3125 2400976 B 1.000
InvokeSingleStringPreallocated 100000 627.5 ns 6.49 ns 6.07 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,068.6 ns 13.79 ns 12.90 ns 0.0057 104 B
PredicateRoundTrip False False True 1,072.0 ns 13.74 ns 11.47 ns 0.0057 104 B
PredicateRoundTrip False True False 1,333.9 ns 4.56 ns 3.81 ns 0.0114 200 B
PredicateRoundTrip False True True 4,623.4 ns 77.97 ns 72.94 ns 0.0381 760 B
PredicateRoundTrip True False False 411.6 ns 5.54 ns 5.19 ns 0.0014 24 B
PredicateRoundTrip True False True 416.1 ns 6.70 ns 6.27 ns 0.0014 24 B
PredicateRoundTrip True True False 735.9 ns 2.50 ns 2.08 ns 0.0067 120 B
PredicateRoundTrip True True True 3,847.7 ns 22.57 ns 20.01 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 552.72 ns 3.637 ns 3.037 ns 0.0040 80 B
PredicateSustained False False True 557.68 ns 4.501 ns 4.211 ns 0.0044 80 B
PredicateSustained False True False 757.44 ns 8.383 ns 7.841 ns 0.0100 176 B
PredicateSustained False True True 4,020.52 ns 15.450 ns 12.902 ns 0.0400 736 B
PredicateSustained True False False 28.95 ns 0.298 ns 0.278 ns - -
PredicateSustained True False True 29.89 ns 0.249 ns 0.233 ns - -
PredicateSustained True True False 203.64 ns 0.667 ns 0.521 ns 0.0056 96 B
PredicateSustained True True True 3,339.00 ns 18.777 ns 17.564 ns 0.0300 656 B

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 256.4 ns 1.88 ns 1.66 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 3,357.8 ns 49.10 ns 43.52 ns 13.10 0.18 0.1183 - - 2016 B 6.46
InvokeIntArrayFixed 10 651.5 ns 12.88 ns 12.05 ns 2.54 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 644.4 ns 12.75 ns 12.52 ns 2.51 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 4,307.7 ns 57.69 ns 48.18 ns 16.80 0.21 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 246.8 ns 4.52 ns 4.01 ns 1.00 0.02 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 257,327.8 ns 3,707.57 ns 3,468.06 ns 1,042.99 21.18 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,068.7 ns 16.53 ns 15.46 ns 4.33 0.09 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,046.9 ns 6.89 ns 5.75 ns 4.24 0.07 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 330,923.0 ns 2,181.68 ns 2,040.75 ns 1,341.28 22.36 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 242.5 ns 3.51 ns 3.28 ns 1.00 0.02 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 31,872,153.0 ns 552,472.12 ns 489,752.14 ns 131,453.27 2,592.55 1187.5000 1062.5000 375.0000 16001144 B 51,285.72
InvokeIntArrayFixed 100000 35,610.1 ns 256.19 ns 227.11 ns 146.87 2.11 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 35,572.8 ns 305.91 ns 271.18 ns 146.72 2.19 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 43,095,138.6 ns 695,131.87 ns 580,466.60 ns 177,741.27 3,263.13 2166.6667 2083.3333 1083.3333 27896945 B 89,413.29

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 580.3 ns 6.40 ns 5.99 ns 1.00 0.0210 360 B 1.00
NewWithSignature 596.5 ns 6.52 ns 5.78 ns 1.03 0.0210 360 B 1.00
DeclaredNewEmpty 591.8 ns 6.59 ns 5.50 ns 1.02 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 39.13 ns 0.449 ns 0.420 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 44.66 ns 0.420 ns 0.351 ns 1.14 0.01 0.0014 24 B 1.00
GetInstanceStringField 43.06 ns 0.287 ns 0.268 ns 1.10 0.01 - - 0.00
SetInstanceStringField 302.78 ns 5.831 ns 5.727 ns 7.74 0.16 0.0153 256 B 10.67
GetStaticIntField 45.93 ns 0.638 ns 0.532 ns 1.17 0.02 0.0014 24 B 1.00
SetStaticIntField 45.96 ns 0.461 ns 0.431 ns 1.17 0.02 0.0014 24 B 1.00
GetStaticStringField 40.08 ns 0.426 ns 0.356 ns 1.02 0.01 - - 0.00
SetStaticStringField 305.82 ns 6.111 ns 6.002 ns 7.82 0.17 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 43.44 ns 0.546 ns 0.511 ns 1.11 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 128.7 ns 1.19 ns 0.99 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 126.2 ns 1.36 ns 1.27 ns 0.98 0.01 - - NA
InvokeStaticWithFeedback 231.1 ns 2.88 ns 2.55 ns 1.80 0.02 0.0186 312 B NA
InvokeInstanceEmpty 127.9 ns 1.35 ns 1.26 ns 0.99 0.01 - - NA
InvokeInstanceWithFeedback 269.3 ns 5.09 ns 4.51 ns 2.09 0.04 0.0186 312 B NA

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 717.9 ns 13.02 ns 12.18 ns 1.00 0.02 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,046.7 ns 8.55 ns 8.00 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 281.4 ns 2.60 ns 2.30 ns 0.27 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 27,130.4 ns 308.76 ns 257.83 ns 1.00 0.01 1.4343 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 279.1 ns 3.99 ns 3.73 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 4,684,557.4 ns 92,239.83 ns 98,695.58 ns 1.000 0.03 70.3125 70.3125 70.3125 2400903 B 1.000
InvokeSingleStringPreallocated 100000 288.8 ns 3.68 ns 3.45 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 562.8 ns 6.62 ns 5.53 ns 0.0057 104 B
PredicateRoundTrip False False True 544.5 ns 9.27 ns 8.22 ns 0.0057 104 B
PredicateRoundTrip False True False 689.5 ns 6.36 ns 5.95 ns 0.0114 200 B
PredicateRoundTrip False True True 2,388.6 ns 47.19 ns 41.83 ns 0.0420 760 B
PredicateRoundTrip True False False 196.9 ns 3.82 ns 3.75 ns 0.0014 24 B
PredicateRoundTrip True False True 205.0 ns 3.63 ns 3.40 ns 0.0014 24 B
PredicateRoundTrip True True False 346.1 ns 4.39 ns 3.89 ns 0.0072 120 B
PredicateRoundTrip True True True 1,994.4 ns 22.09 ns 20.66 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.46GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 273.70 ns 4.502 ns 4.212 ns 0.0047 80 B
PredicateSustained False False True 270.30 ns 3.544 ns 2.959 ns 0.0047 80 B
PredicateSustained False True False 369.34 ns 5.976 ns 5.297 ns 0.0100 176 B
PredicateSustained False True True 2,035.43 ns 17.750 ns 15.735 ns 0.0433 736 B
PredicateSustained True False False 29.27 ns 0.371 ns 0.328 ns - -
PredicateSustained True False True 28.91 ns 0.259 ns 0.242 ns - -
PredicateSustained True True False 122.62 ns 1.585 ns 1.483 ns 0.0056 96 B
PredicateSustained True True True 1,691.61 ns 13.299 ns 11.105 ns 0.0367 656 B

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 532.1 ns 5.54 ns 5.19 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,752.3 ns 20.67 ns 18.33 ns 10.81 0.11 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,122.1 ns 9.23 ns 8.63 ns 2.11 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,127.3 ns 9.50 ns 8.43 ns 2.12 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,972.7 ns 37.75 ns 35.31 ns 14.99 0.16 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 529.1 ns 3.77 ns 3.52 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 422,775.3 ns 3,533.03 ns 3,131.94 ns 799.06 7.71 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,801.3 ns 7.08 ns 6.62 ns 3.40 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,792.2 ns 6.86 ns 6.42 ns 3.39 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 619,132.0 ns 2,773.48 ns 2,315.98 ns 1,170.18 8.67 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 526.6 ns 7.85 ns 7.34 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 54,269,423.1 ns 560,368.85 ns 496,752.39 ns 103,080.30 1,671.60 1100.0000 1000.0000 300.0000 16001878 B 51,288.07
InvokeIntArrayFixed 100000 65,418.0 ns 308.49 ns 288.56 ns 124.26 1.77 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 66,017.3 ns 617.09 ns 577.22 ns 125.39 2.01 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 77,144,735.1 ns 1,410,377.79 ns 1,319,268.26 ns 146,530.07 3,139.14 2142.8571 2000.0000 1000.0000 27896963 B 89,413.34

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.064 μs 0.0075 μs 0.0070 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.068 μs 0.0137 μs 0.0128 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.075 μs 0.0082 μs 0.0076 μs 1.01 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 72.30 ns 0.629 ns 0.525 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 81.62 ns 0.907 ns 0.848 ns 1.13 0.01 0.0014 24 B 1.00
GetInstanceStringField 73.71 ns 1.046 ns 0.978 ns 1.02 0.01 - - 0.00
SetInstanceStringField 559.39 ns 4.231 ns 3.957 ns 7.74 0.08 0.0153 256 B 10.67
GetStaticIntField 76.55 ns 0.566 ns 0.473 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 77.83 ns 0.745 ns 0.660 ns 1.08 0.01 0.0014 24 B 1.00
GetStaticStringField 69.88 ns 0.902 ns 0.800 ns 0.97 0.01 - - 0.00
SetStaticStringField 556.02 ns 4.285 ns 3.798 ns 7.69 0.07 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 84.49 ns 0.757 ns 0.671 ns 1.17 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 264.0 ns 3.10 ns 2.90 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 253.5 ns 3.11 ns 2.76 ns 0.96 0.01 - - NA
InvokeStaticWithFeedback 507.2 ns 6.52 ns 5.78 ns 1.92 0.03 0.0181 312 B NA
InvokeInstanceEmpty 275.0 ns 2.95 ns 2.76 ns 1.04 0.02 - - NA
InvokeInstanceWithFeedback 549.0 ns 6.87 ns 6.09 ns 2.08 0.03 0.0181 312 B NA

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.345 μs 0.0064 μs 0.0057 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,962.3 ns 9.99 ns 9.34 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 563.8 ns 8.18 ns 7.66 ns 0.29 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 54,040.9 ns 561.81 ns 525.52 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 572.1 ns 6.36 ns 5.95 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,872,833.1 ns 128,127.87 ns 131,577.89 ns 1.000 0.03 70.3125 70.3125 70.3125 2400710 B 1.000
InvokeSingleStringPreallocated 100000 585.0 ns 4.16 ns 3.89 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 982.3 ns 8.45 ns 7.90 ns 0.0057 104 B
PredicateRoundTrip False False True 980.0 ns 9.70 ns 8.60 ns 0.0057 104 B
PredicateRoundTrip False True False 1,241.7 ns 5.16 ns 4.83 ns 0.0114 200 B
PredicateRoundTrip False True True 4,198.5 ns 35.86 ns 33.54 ns 0.0381 760 B
PredicateRoundTrip True False False 404.5 ns 3.00 ns 2.80 ns 0.0014 24 B
PredicateRoundTrip True False True 414.6 ns 4.79 ns 4.48 ns 0.0014 24 B
PredicateRoundTrip True True False 626.9 ns 2.84 ns 2.65 ns 0.0067 120 B
PredicateRoundTrip True True True 3,594.9 ns 12.84 ns 11.38 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 483.76 ns 4.380 ns 4.097 ns 0.0038 80 B
PredicateSustained False False True 486.41 ns 5.793 ns 5.419 ns 0.0045 80 B
PredicateSustained False True False 712.90 ns 9.219 ns 8.172 ns 0.0100 176 B
PredicateSustained False True True 3,675.82 ns 26.361 ns 23.368 ns 0.0400 736 B
PredicateSustained True False False 28.30 ns 0.328 ns 0.307 ns - -
PredicateSustained True False True 28.24 ns 0.227 ns 0.190 ns - -
PredicateSustained True True False 203.55 ns 1.642 ns 1.536 ns 0.0056 96 B
PredicateSustained True True True 3,068.02 ns 17.444 ns 16.317 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 529.1 ns 5.00 ns 4.68 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 6,051.1 ns 45.24 ns 42.32 ns 11.44 0.12 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,176.6 ns 5.84 ns 5.18 ns 2.22 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,199.3 ns 4.72 ns 4.18 ns 2.27 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,273.7 ns 34.90 ns 32.65 ns 15.64 0.15 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 527.7 ns 6.16 ns 5.76 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 436,299.7 ns 2,277.74 ns 2,130.60 ns 826.90 9.60 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,847.3 ns 8.13 ns 7.21 ns 3.50 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,860.9 ns 9.07 ns 8.04 ns 3.53 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 660,127.4 ns 2,626.01 ns 2,327.89 ns 1,251.11 13.93 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 553.9 ns 5.07 ns 4.50 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 55,258,966.4 ns 661,041.18 ns 618,338.33 ns 99,772.31 1,338.00 1100.0000 1000.0000 300.0000 16001657 B 51,287.36
InvokeIntArrayFixed 100000 66,466.7 ns 329.87 ns 308.56 ns 120.01 1.09 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 66,246.4 ns 348.71 ns 309.12 ns 119.61 1.09 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 76,910,105.5 ns 1,482,612.13 ns 1,456,123.35 ns 138,864.32 2,777.18 2142.8571 2000.0000 1000.0000 27896649 B 89,412.34

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.100 μs 0.0056 μs 0.0047 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.113 μs 0.0041 μs 0.0036 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.149 μs 0.0060 μs 0.0053 μs 1.04 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 73.66 ns 0.812 ns 0.760 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 83.01 ns 0.779 ns 0.728 ns 1.13 0.01 0.0014 24 B 1.00
GetInstanceStringField 72.56 ns 1.081 ns 1.011 ns 0.99 0.02 - - 0.00
SetInstanceStringField 592.95 ns 5.305 ns 4.962 ns 8.05 0.10 0.0153 256 B 10.67
GetStaticIntField 83.04 ns 0.724 ns 0.642 ns 1.13 0.01 0.0014 24 B 1.00
SetStaticIntField 82.34 ns 0.784 ns 0.733 ns 1.12 0.01 0.0014 24 B 1.00
GetStaticStringField 68.69 ns 1.076 ns 0.954 ns 0.93 0.02 - - 0.00
SetStaticStringField 617.93 ns 4.905 ns 4.588 ns 8.39 0.10 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 87.33 ns 0.681 ns 0.604 ns 1.19 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 259.4 ns 3.84 ns 3.59 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 269.3 ns 3.60 ns 3.19 ns 1.04 0.02 - - NA
InvokeStaticWithFeedback 529.5 ns 7.68 ns 7.18 ns 2.04 0.04 0.0181 312 B NA
InvokeInstanceEmpty 282.0 ns 3.03 ns 2.84 ns 1.09 0.02 - - NA
InvokeInstanceWithFeedback 575.2 ns 5.52 ns 5.16 ns 2.22 0.04 0.0181 312 B NA

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.441 μs 0.0104 μs 0.0092 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,110.3 ns 12.30 ns 11.50 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 603.5 ns 9.16 ns 8.57 ns 0.29 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,585.8 ns 237.77 ns 210.78 ns 1.000 0.00 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 591.4 ns 8.64 ns 8.08 ns 0.010 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,519,009.4 ns 136,337.74 ns 133,901.89 ns 1.000 0.02 78.1250 78.1250 78.1250 2400658 B 1.000
InvokeSingleStringPreallocated 100000 615.9 ns 4.20 ns 3.28 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,051.2 ns 11.41 ns 10.67 ns 0.0057 104 B
PredicateRoundTrip False False True 1,058.2 ns 12.23 ns 11.44 ns 0.0057 104 B
PredicateRoundTrip False True False 1,306.0 ns 5.25 ns 4.91 ns 0.0114 200 B
PredicateRoundTrip False True True 4,315.4 ns 16.51 ns 14.64 ns 0.0381 760 B
PredicateRoundTrip True False False 420.6 ns 4.22 ns 3.95 ns 0.0014 24 B
PredicateRoundTrip True False True 430.4 ns 5.18 ns 4.85 ns 0.0014 24 B
PredicateRoundTrip True True False 664.4 ns 2.18 ns 1.93 ns 0.0067 120 B
PredicateRoundTrip True True True 3,744.1 ns 12.35 ns 11.56 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 485.44 ns 5.404 ns 5.055 ns 0.0045 80 B
PredicateSustained False False True 501.57 ns 3.051 ns 2.854 ns 0.0040 80 B
PredicateSustained False True False 709.56 ns 5.512 ns 5.156 ns 0.0100 176 B
PredicateSustained False True True 3,831.82 ns 18.597 ns 17.396 ns 0.0400 736 B
PredicateSustained True False False 29.12 ns 0.372 ns 0.348 ns - -
PredicateSustained True False True 28.98 ns 0.355 ns 0.315 ns - -
PredicateSustained True True False 197.74 ns 1.804 ns 1.688 ns 0.0056 96 B
PredicateSustained True True True 3,192.55 ns 12.505 ns 9.763 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 568.9 ns 7.20 ns 6.74 ns 1.00 0.02 0.0124 - - 312 B 1.00
InvokeStringArrayFixed 10 6,531.9 ns 48.50 ns 42.99 ns 11.48 0.15 0.0763 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,127.2 ns 10.21 ns 9.55 ns 1.98 0.03 0.0153 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,163.9 ns 8.02 ns 6.69 ns 2.05 0.03 0.0153 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,503.0 ns 32.47 ns 27.11 ns 14.95 0.18 0.1373 - - 3488 B 11.18
InvokeIntParam 1000 495.9 ns 4.53 ns 3.78 ns 1.00 0.01 0.0124 - - 312 B 1.00
InvokeStringArrayFixed 1000 501,710.5 ns 4,677.72 ns 4,375.54 ns 1,011.72 11.30 5.8594 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,912.1 ns 8.29 ns 6.92 ns 3.86 0.03 0.0153 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,903.1 ns 13.40 ns 12.53 ns 3.84 0.04 0.0153 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 688,020.6 ns 6,654.68 ns 6,224.80 ns 1,387.43 15.83 9.7656 2.9297 - 265856 B 852.10
InvokeIntParam 100000 548.8 ns 3.77 ns 3.53 ns 1.00 0.01 0.0124 - - 312 B 1.00
InvokeStringArrayFixed 100000 61,246,597.6 ns 754,961.05 ns 669,253.30 ns 111,600.91 1,367.17 875.0000 750.0000 375.0000 16000709 B 51,284.32
InvokeIntArrayFixed 100000 76,864.8 ns 609.46 ns 570.09 ns 140.06 1.33 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 77,155.2 ns 874.93 ns 818.41 ns 140.59 1.69 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,486,767.4 ns 956,887.43 ns 848,255.79 ns 150,303.84 1,761.42 1666.6667 1500.0000 1000.0000 27897175 B 89,414.02

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.149 μs 0.0063 μs 0.0059 μs 1.00 0.0134 360 B 1.00
NewWithSignature 1.152 μs 0.0072 μs 0.0067 μs 1.00 0.0134 360 B 1.00
DeclaredNewEmpty 1.149 μs 0.0102 μs 0.0095 μs 1.00 0.0134 360 B 1.00

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 76.87 ns 0.238 ns 0.199 ns 1.00 0.00 0.0010 24 B 1.00
SetInstanceIntField 87.45 ns 0.341 ns 0.319 ns 1.14 0.00 0.0010 24 B 1.00
GetInstanceStringField 77.18 ns 0.494 ns 0.462 ns 1.00 0.01 - - 0.00
SetInstanceStringField 677.29 ns 3.074 ns 2.725 ns 8.81 0.04 0.0095 256 B 10.67
GetStaticIntField 82.50 ns 0.221 ns 0.196 ns 1.07 0.00 0.0010 24 B 1.00
SetStaticIntField 81.48 ns 0.425 ns 0.397 ns 1.06 0.01 0.0010 24 B 1.00
GetStaticStringField 68.31 ns 0.793 ns 0.742 ns 0.89 0.01 - - 0.00
SetStaticStringField 666.69 ns 5.977 ns 4.991 ns 8.67 0.07 0.0095 256 B 10.67
GetInstanceIntFieldGeneric 88.18 ns 0.502 ns 0.470 ns 1.15 0.01 0.0010 24 B 1.00

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 258.1 ns 1.77 ns 1.56 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 257.9 ns 1.38 ns 1.29 ns 1.00 0.01 - - NA
InvokeStaticWithFeedback 518.1 ns 4.15 ns 3.88 ns 2.01 0.02 0.0124 312 B NA
InvokeInstanceEmpty 264.9 ns 1.42 ns 1.33 ns 1.03 0.01 - - NA
InvokeInstanceWithFeedback 526.3 ns 4.28 ns 3.80 ns 2.04 0.02 0.0124 312 B NA

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.365 μs 0.0081 μs 0.0076 μs 1.00 0.0267 680 B 1.00

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,896.5 ns 12.21 ns 10.20 ns 1.00 0.01 0.0229 - - 656 B 1.00
InvokeSingleStringPreallocated 10 591.3 ns 5.55 ns 4.64 ns 0.31 0.00 0.0114 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 51,469.9 ns 289.13 ns 270.45 ns 1.00 0.01 0.9155 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 625.5 ns 2.38 ns 2.11 ns 0.01 0.00 0.0114 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,173,824.1 ns 103,666.22 ns 91,897.40 ns 1.000 0.02 78.1250 78.1250 78.1250 2400954 B 1.000
InvokeSingleStringPreallocated 100000 551.1 ns 2.96 ns 2.76 ns 0.000 0.00 0.0114 - - 288 B 0.000

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,013.7 ns 6.06 ns 5.66 ns 0.0038 104 B
PredicateRoundTrip False False True 1,015.1 ns 6.37 ns 5.95 ns 0.0038 104 B
PredicateRoundTrip False True False 1,281.9 ns 8.21 ns 7.68 ns 0.0076 200 B
PredicateRoundTrip False True True 4,411.6 ns 16.98 ns 15.89 ns 0.0229 760 B
PredicateRoundTrip True False False 411.6 ns 1.95 ns 1.83 ns 0.0010 24 B
PredicateRoundTrip True False True 406.1 ns 1.78 ns 1.57 ns 0.0010 24 B
PredicateRoundTrip True True False 720.4 ns 2.74 ns 2.29 ns 0.0048 120 B
PredicateRoundTrip True True True 3,895.7 ns 29.15 ns 27.26 ns 0.0229 680 B

core-ubuntu-24.04_net10.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 525.04 ns 4.582 ns 4.062 ns 0.0030 80 B
PredicateSustained False False True 517.12 ns 4.394 ns 4.110 ns 0.0030 80 B
PredicateSustained False True False 755.37 ns 6.712 ns 5.950 ns 0.0057 176 B
PredicateSustained False True True 3,886.31 ns 28.389 ns 26.555 ns 0.0200 736 B
PredicateSustained True False False 48.12 ns 0.945 ns 1.631 ns - -
PredicateSustained True False True 48.19 ns 0.285 ns 0.267 ns - -
PredicateSustained True True False 235.79 ns 1.398 ns 1.308 ns 0.0038 96 B
PredicateSustained True True True 3,236.34 ns 17.725 ns 14.801 ns 0.0250 656 B

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 373.2 ns 3.03 ns 2.69 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 4,239.2 ns 27.65 ns 25.86 ns 11.36 0.10 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 867.8 ns 6.28 ns 5.88 ns 2.33 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 868.6 ns 2.94 ns 2.61 ns 2.33 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 5,992.6 ns 48.51 ns 40.51 ns 16.06 0.15 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 376.7 ns 1.95 ns 1.73 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 309,448.8 ns 1,238.96 ns 1,158.92 ns 821.43 4.72 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,461.9 ns 4.13 ns 3.86 ns 3.88 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,464.7 ns 5.31 ns 4.71 ns 3.89 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 465,636.0 ns 4,380.58 ns 4,097.60 ns 1,236.03 11.88 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 371.6 ns 3.12 ns 2.92 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 39,118,089.2 ns 202,886.81 ns 179,853.87 ns 105,281.61 931.31 1076.9231 923.0769 307.6923 16001634 B 51,287.29
InvokeIntArrayFixed 100000 50,863.1 ns 96.78 ns 90.52 ns 136.89 1.07 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 50,889.6 ns 125.79 ns 105.04 ns 136.96 1.08 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 60,703,150.1 ns 1,202,735.51 ns 1,385,072.00 ns 163,375.20 3,847.88 2125.0000 2000.0000 1000.0000 27897279 B 89,414.36

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 814.8 ns 6.86 ns 6.41 ns 1.00 0.0210 360 B 1.00
NewWithSignature 780.1 ns 2.60 ns 2.43 ns 0.96 0.0210 360 B 1.00
DeclaredNewEmpty 789.5 ns 3.40 ns 3.18 ns 0.97 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 62.61 ns 0.435 ns 0.386 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 73.37 ns 0.691 ns 0.612 ns 1.17 0.01 0.0014 24 B 1.00
GetInstanceStringField 63.59 ns 0.667 ns 0.624 ns 1.02 0.01 - - 0.00
SetInstanceStringField 403.62 ns 3.503 ns 3.277 ns 6.45 0.06 0.0153 256 B 10.67
GetStaticIntField 64.28 ns 0.400 ns 0.374 ns 1.03 0.01 0.0014 24 B 1.00
SetStaticIntField 63.45 ns 0.430 ns 0.359 ns 1.01 0.01 0.0014 24 B 1.00
GetStaticStringField 58.92 ns 0.241 ns 0.226 ns 0.94 0.01 - - 0.00
SetStaticStringField 393.90 ns 3.238 ns 2.870 ns 6.29 0.06 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 66.48 ns 0.580 ns 0.542 ns 1.06 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 190.4 ns 1.40 ns 1.24 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 190.2 ns 1.18 ns 1.11 ns 1.00 0.01 - - NA
InvokeStaticWithFeedback 366.2 ns 2.67 ns 2.37 ns 1.92 0.02 0.0186 312 B NA
InvokeInstanceEmpty 191.9 ns 1.60 ns 1.50 ns 1.01 0.01 - - NA
InvokeInstanceWithFeedback 372.8 ns 2.33 ns 2.07 ns 1.96 0.02 0.0186 312 B NA

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.016 μs 0.0099 μs 0.0087 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,509.6 ns 7.58 ns 7.09 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 415.5 ns 3.13 ns 2.93 ns 0.28 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 43,012.1 ns 349.33 ns 309.68 ns 1.000 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 398.4 ns 1.61 ns 1.35 ns 0.009 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,011,249.9 ns 85,890.59 ns 76,139.77 ns 1.000 0.02 70.3125 70.3125 70.3125 2401013 B 1.000
InvokeSingleStringPreallocated 100000 406.0 ns 2.65 ns 2.48 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 720.0 ns 4.59 ns 4.29 ns 0.0057 104 B
PredicateRoundTrip False False True 745.3 ns 5.32 ns 4.44 ns 0.0057 104 B
PredicateRoundTrip False True False 927.0 ns 2.44 ns 2.28 ns 0.0114 200 B
PredicateRoundTrip False True True 3,127.2 ns 11.16 ns 9.89 ns 0.0420 760 B
PredicateRoundTrip True False False 282.0 ns 2.01 ns 1.88 ns 0.0014 24 B
PredicateRoundTrip True False True 276.2 ns 4.67 ns 4.37 ns 0.0014 24 B
PredicateRoundTrip True True False 481.4 ns 3.17 ns 2.81 ns 0.0067 120 B
PredicateRoundTrip True True True 2,668.0 ns 15.01 ns 12.53 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 355.85 ns 2.446 ns 2.288 ns 0.0047 80 B
PredicateSustained False False True 363.92 ns 1.261 ns 1.180 ns 0.0043 80 B
PredicateSustained False True False 486.00 ns 2.875 ns 2.689 ns 0.0100 176 B
PredicateSustained False True True 2,719.67 ns 21.621 ns 19.167 ns 0.0400 736 B
PredicateSustained True False False 24.02 ns 0.188 ns 0.176 ns - -
PredicateSustained True False True 24.43 ns 0.199 ns 0.176 ns - -
PredicateSustained True True False 144.92 ns 0.784 ns 0.733 ns 0.0056 96 B
PredicateSustained True True True 2,234.87 ns 11.826 ns 10.483 ns 0.0367 656 B

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 482.1 ns 3.21 ns 2.84 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,532.0 ns 16.20 ns 15.15 ns 11.48 0.07 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,174.7 ns 5.47 ns 5.12 ns 2.44 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,137.8 ns 7.17 ns 6.70 ns 2.36 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 7,645.2 ns 26.44 ns 23.44 ns 15.86 0.10 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 478.5 ns 3.31 ns 2.94 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 404,462.3 ns 1,502.21 ns 1,331.67 ns 845.31 5.71 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,848.9 ns 14.30 ns 13.37 ns 3.86 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,835.3 ns 4.47 ns 3.96 ns 3.84 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 615,224.5 ns 2,077.44 ns 1,841.60 ns 1,285.79 8.52 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 481.2 ns 4.93 ns 4.62 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 51,929,471.1 ns 471,872.59 ns 418,302.76 ns 107,934.43 1,306.67 1100.0000 1000.0000 300.0000 16001378 B 51,286.47
InvokeIntArrayFixed 100000 61,887.3 ns 167.41 ns 148.41 ns 128.63 1.23 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 61,923.8 ns 117.48 ns 104.15 ns 128.71 1.21 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,274,134.4 ns 1,646,309.08 ns 1,895,891.98 ns 173,083.73 4,168.38 2142.8571 2000.0000 1000.0000 27894440 B 89,405.26

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.013 μs 0.0057 μs 0.0051 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.028 μs 0.0060 μs 0.0056 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.037 μs 0.0050 μs 0.0044 μs 1.02 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 81.76 ns 0.464 ns 0.434 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 84.51 ns 0.671 ns 0.628 ns 1.03 0.01 0.0014 24 B 1.00
GetInstanceStringField 92.69 ns 1.119 ns 1.047 ns 1.13 0.01 - - 0.00
SetInstanceStringField 506.39 ns 2.176 ns 1.817 ns 6.19 0.04 0.0153 256 B 10.67
GetStaticIntField 88.97 ns 0.559 ns 0.522 ns 1.09 0.01 0.0014 24 B 1.00
SetStaticIntField 84.34 ns 0.620 ns 0.549 ns 1.03 0.01 0.0014 24 B 1.00
GetStaticStringField 75.87 ns 0.547 ns 0.457 ns 0.93 0.01 - - 0.00
SetStaticStringField 486.70 ns 3.845 ns 3.596 ns 5.95 0.05 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 87.85 ns 0.332 ns 0.277 ns 1.07 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 246.9 ns 1.64 ns 1.45 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 249.5 ns 2.54 ns 2.37 ns 1.01 0.01 - - NA
InvokeStaticWithFeedback 471.6 ns 2.51 ns 2.09 ns 1.91 0.01 0.0186 312 B NA
InvokeInstanceEmpty 241.1 ns 2.29 ns 2.03 ns 0.98 0.01 - - NA
InvokeInstanceWithFeedback 525.7 ns 3.89 ns 3.45 ns 2.13 0.02 0.0181 312 B NA

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.292 μs 0.0053 μs 0.0049 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,978.4 ns 11.61 ns 10.86 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 521.7 ns 5.04 ns 4.71 ns 0.26 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 60,573.1 ns 513.25 ns 428.59 ns 1.000 0.01 1.3428 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 499.6 ns 1.63 ns 1.44 ns 0.008 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,930,256.9 ns 122,064.24 ns 114,178.97 ns 1.000 0.02 78.1250 78.1250 78.1250 2400947 B 1.000
InvokeSingleStringPreallocated 100000 555.9 ns 5.52 ns 5.17 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 953.9 ns 8.87 ns 8.30 ns 0.0057 104 B
PredicateRoundTrip False False True 941.7 ns 5.57 ns 5.21 ns 0.0057 104 B
PredicateRoundTrip False True False 1,228.9 ns 5.35 ns 4.74 ns 0.0114 200 B
PredicateRoundTrip False True True 4,132.5 ns 19.58 ns 17.36 ns 0.0381 760 B
PredicateRoundTrip True False False 368.7 ns 2.66 ns 2.49 ns 0.0014 24 B
PredicateRoundTrip True False True 376.4 ns 3.99 ns 3.73 ns 0.0014 24 B
PredicateRoundTrip True True False 630.9 ns 2.61 ns 2.44 ns 0.0067 120 B
PredicateRoundTrip True True True 3,591.5 ns 9.05 ns 8.02 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.86GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 463.69 ns 3.270 ns 3.059 ns 0.0045 80 B
PredicateSustained False False True 466.72 ns 4.132 ns 3.663 ns 0.0045 80 B
PredicateSustained False True False 639.52 ns 5.052 ns 4.726 ns 0.0100 176 B
PredicateSustained False True True 3,624.52 ns 19.277 ns 17.089 ns 0.0400 736 B
PredicateSustained True False False 30.60 ns 0.123 ns 0.109 ns - -
PredicateSustained True False True 31.42 ns 0.269 ns 0.251 ns - -
PredicateSustained True True False 189.09 ns 1.264 ns 1.120 ns 0.0056 96 B
PredicateSustained True True True 3,080.16 ns 17.206 ns 16.094 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 299.9 ns 3.11 ns 2.76 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 4,113.5 ns 71.46 ns 66.85 ns 13.72 0.25 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 747.4 ns 11.83 ns 10.48 ns 2.49 0.04 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 747.2 ns 13.10 ns 12.87 ns 2.49 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 5,289.6 ns 99.29 ns 88.02 ns 17.64 0.32 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 298.7 ns 3.10 ns 2.75 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 329,510.5 ns 6,495.28 ns 6,075.69 ns 1,103.32 21.99 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,222.6 ns 12.30 ns 10.90 ns 4.09 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,239.5 ns 24.56 ns 25.22 ns 4.15 0.09 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 407,853.0 ns 6,552.65 ns 6,129.35 ns 1,365.64 23.26 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 278.0 ns 1.95 ns 1.73 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 38,304,418.2 ns 751,681.67 ns 738,251.91 ns 137,794.79 2,706.09 1142.8571 1000.0000 357.1429 16002203 B 51,289.11
InvokeIntArrayFixed 100000 38,943.6 ns 422.31 ns 352.65 ns 140.09 1.48 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 39,824.2 ns 561.95 ns 498.15 ns 143.26 1.93 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 54,048,736.8 ns 973,505.31 ns 812,921.03 ns 194,432.78 3,048.76 2000.0000 1888.8889 888.8889 27893176 B 89,401.21

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 687.4 ns 11.57 ns 10.26 ns 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 693.7 ns 12.16 ns 10.78 ns 1.01 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 716.3 ns 11.50 ns 10.76 ns 1.04 0.02 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 48.75 ns 0.880 ns 0.823 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 56.64 ns 0.973 ns 0.813 ns 1.16 0.02 0.0014 24 B 1.00
GetInstanceStringField 54.38 ns 0.377 ns 0.294 ns 1.12 0.02 - - 0.00
SetInstanceStringField 381.53 ns 4.943 ns 4.382 ns 7.83 0.15 0.0153 256 B 10.67
GetStaticIntField 56.93 ns 1.051 ns 0.983 ns 1.17 0.03 0.0014 24 B 1.00
SetStaticIntField 58.29 ns 0.619 ns 0.579 ns 1.20 0.02 0.0014 24 B 1.00
GetStaticStringField 53.86 ns 0.513 ns 0.428 ns 1.11 0.02 - - 0.00
SetStaticStringField 393.74 ns 2.747 ns 2.294 ns 8.08 0.14 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 49.00 ns 0.839 ns 0.744 ns 1.01 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 175.1 ns 3.15 ns 3.63 ns 1.00 0.03 - - NA
InvokeStaticEmptyWithSignature 212.3 ns 2.92 ns 2.59 ns 1.21 0.03 - - NA
InvokeStaticWithFeedback 272.9 ns 5.13 ns 5.26 ns 1.56 0.04 0.0186 312 B NA
InvokeInstanceEmpty 189.3 ns 1.68 ns 1.49 ns 1.08 0.02 - - NA
InvokeInstanceWithFeedback 286.6 ns 2.18 ns 1.93 ns 1.64 0.03 0.0186 312 B NA

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeMultiParam 798.7 ns 15.42 ns 15.84 ns 1.00 0.03 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,252.5 ns 15.98 ns 13.34 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 310.6 ns 1.76 ns 1.38 ns 0.25 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 36,842.5 ns 483.88 ns 377.78 ns 1.000 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 316.2 ns 2.44 ns 2.16 ns 0.009 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 5,309,123.2 ns 98,782.20 ns 87,567.85 ns 1.000 0.02 70.3125 70.3125 70.3125 2400912 B 1.000
InvokeSingleStringPreallocated 100000 306.8 ns 5.64 ns 4.41 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 651.3 ns 10.29 ns 11.01 ns 0.0057 104 B
PredicateRoundTrip False False True 638.9 ns 12.20 ns 10.81 ns 0.0057 104 B
PredicateRoundTrip False True False 780.0 ns 15.27 ns 15.69 ns 0.0114 200 B
PredicateRoundTrip False True True 2,717.5 ns 28.62 ns 23.90 ns 0.0420 760 B
PredicateRoundTrip True False False 210.1 ns 2.49 ns 2.08 ns 0.0014 24 B
PredicateRoundTrip True False True 218.7 ns 3.55 ns 3.15 ns 0.0014 24 B
PredicateRoundTrip True True False 369.1 ns 6.01 ns 5.02 ns 0.0072 120 B
PredicateRoundTrip True True True 2,286.1 ns 33.53 ns 28.00 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 4.15GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 316.44 ns 2.368 ns 1.977 ns 0.0047 80 B
PredicateSustained False False True 316.77 ns 3.733 ns 2.915 ns 0.0047 80 B
PredicateSustained False True False 425.17 ns 4.419 ns 3.918 ns 0.0100 176 B
PredicateSustained False True True 2,344.07 ns 39.339 ns 32.850 ns 0.0433 736 B
PredicateSustained True False False 30.04 ns 0.252 ns 0.211 ns - -
PredicateSustained True False True 30.06 ns 0.306 ns 0.271 ns - -
PredicateSustained True True False 128.18 ns 2.458 ns 2.299 ns 0.0056 96 B
PredicateSustained True True True 1,914.73 ns 28.943 ns 25.657 ns 0.0367 656 B

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 551.2 ns 4.58 ns 4.29 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,921.3 ns 54.57 ns 51.04 ns 10.74 0.12 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,208.2 ns 7.62 ns 7.13 ns 2.19 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,182.0 ns 7.03 ns 6.23 ns 2.14 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,189.3 ns 60.01 ns 50.11 ns 14.86 0.14 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 546.6 ns 4.04 ns 3.78 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 449,652.0 ns 5,421.06 ns 5,070.86 ns 822.72 10.56 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,980.9 ns 15.25 ns 14.27 ns 3.62 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,973.0 ns 23.32 ns 21.81 ns 3.61 0.05 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 655,582.5 ns 5,411.62 ns 4,797.26 ns 1,199.51 11.72 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 540.3 ns 3.36 ns 3.15 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 59,516,797.6 ns 1,166,352.21 ns 1,296,397.39 ns 110,164.46 2,421.43 1111.1111 1000.0000 333.3333 16001527 B 51,286.95
InvokeIntArrayFixed 100000 71,917.7 ns 1,279.43 ns 1,523.07 ns 133.12 2.86 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 72,567.8 ns 1,170.33 ns 1,037.47 ns 134.32 2.00 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 79,852,016.7 ns 1,207,361.18 ns 1,008,201.26 ns 147,804.56 1,983.05 2000.0000 1833.3333 1000.0000 27897584 B 89,415.33

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.100 μs 0.0086 μs 0.0081 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.119 μs 0.0127 μs 0.0113 μs 1.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.099 μs 0.0041 μs 0.0036 μs 1.00 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 85.95 ns 0.554 ns 0.518 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 86.05 ns 0.631 ns 0.590 ns 1.00 0.01 0.0014 24 B 1.00
GetInstanceStringField 80.80 ns 0.919 ns 0.860 ns 0.94 0.01 - - 0.00
SetInstanceStringField 569.50 ns 4.735 ns 4.197 ns 6.63 0.06 0.0153 256 B 10.67
GetStaticIntField 86.22 ns 0.880 ns 0.780 ns 1.00 0.01 0.0014 24 B 1.00
SetStaticIntField 89.46 ns 0.500 ns 0.443 ns 1.04 0.01 0.0014 24 B 1.00
GetStaticStringField 75.98 ns 0.601 ns 0.502 ns 0.88 0.01 - - 0.00
SetStaticStringField 573.41 ns 2.966 ns 2.476 ns 6.67 0.05 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 89.98 ns 0.638 ns 0.566 ns 1.05 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 282.5 ns 3.28 ns 3.06 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 277.9 ns 2.83 ns 2.64 ns 0.98 0.01 - - NA
InvokeStaticWithFeedback 532.2 ns 5.27 ns 4.93 ns 1.88 0.03 0.0181 312 B NA
InvokeInstanceEmpty 273.1 ns 3.30 ns 2.92 ns 0.97 0.01 - - NA
InvokeInstanceWithFeedback 545.0 ns 4.46 ns 4.17 ns 1.93 0.02 0.0181 312 B NA

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.408 μs 0.0073 μs 0.0069 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,943.9 ns 13.53 ns 11.99 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 588.7 ns 4.51 ns 3.77 ns 0.30 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 53,419.9 ns 484.73 ns 453.42 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 580.9 ns 3.42 ns 3.04 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 8,466,691.3 ns 166,442.22 ns 227,828.01 ns 1.001 0.04 78.1250 78.1250 78.1250 2400882 B 1.000
InvokeSingleStringPreallocated 100000 620.7 ns 5.92 ns 5.53 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 999.6 ns 12.45 ns 11.65 ns 0.0057 104 B
PredicateRoundTrip False False True 997.3 ns 6.09 ns 5.40 ns 0.0057 104 B
PredicateRoundTrip False True False 1,288.3 ns 5.34 ns 4.74 ns 0.0114 200 B
PredicateRoundTrip False True True 4,404.6 ns 43.47 ns 38.53 ns 0.0381 760 B
PredicateRoundTrip True False False 402.3 ns 4.73 ns 4.43 ns 0.0014 24 B
PredicateRoundTrip True False True 392.8 ns 3.35 ns 2.97 ns 0.0014 24 B
PredicateRoundTrip True True False 631.5 ns 4.05 ns 3.59 ns 0.0067 120 B
PredicateRoundTrip True True True 3,686.6 ns 14.07 ns 12.47 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 546.34 ns 7.579 ns 7.089 ns 0.0040 80 B
PredicateSustained False False True 529.11 ns 6.211 ns 5.809 ns 0.0040 80 B
PredicateSustained False True False 754.20 ns 5.058 ns 4.731 ns 0.0100 176 B
PredicateSustained False True True 3,778.52 ns 14.578 ns 11.381 ns 0.0400 736 B
PredicateSustained True False False 27.77 ns 0.212 ns 0.199 ns - -
PredicateSustained True False True 27.78 ns 0.160 ns 0.142 ns - -
PredicateSustained True True False 195.68 ns 1.120 ns 0.936 ns 0.0056 96 B
PredicateSustained True True True 3,189.45 ns 29.848 ns 26.459 ns 0.0350 656 B

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 497.5 ns 3.45 ns 3.23 ns 1.00 0.01 0.0124 - - 312 B 1.00
InvokeStringArrayFixed 10 6,724.6 ns 30.88 ns 27.37 ns 13.52 0.10 0.0763 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,080.3 ns 7.01 ns 6.56 ns 2.17 0.02 0.0153 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,103.0 ns 8.84 ns 8.26 ns 2.22 0.02 0.0153 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,428.8 ns 61.26 ns 57.30 ns 16.94 0.15 0.1373 - - 3488 B 11.18
InvokeIntParam 1000 491.2 ns 4.06 ns 3.80 ns 1.00 0.01 0.0124 - - 312 B 1.00
InvokeStringArrayFixed 1000 559,862.3 ns 4,565.52 ns 4,270.59 ns 1,139.80 12.00 5.8594 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,850.7 ns 8.29 ns 7.35 ns 3.77 0.03 0.0153 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,837.2 ns 10.84 ns 10.14 ns 3.74 0.03 0.0153 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 711,355.8 ns 5,191.97 ns 4,856.57 ns 1,448.22 14.48 9.7656 2.9297 - 265856 B 852.10
InvokeIntParam 100000 485.2 ns 2.70 ns 2.40 ns 1.00 0.01 0.0124 - - 312 B 1.00
InvokeStringArrayFixed 100000 64,475,280.1 ns 449,704.68 ns 398,651.49 ns 132,880.67 1,015.60 875.0000 750.0000 375.0000 16000876 B 51,284.86
InvokeIntArrayFixed 100000 73,826.8 ns 295.80 ns 247.00 ns 152.15 0.88 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 74,135.3 ns 554.85 ns 519.01 ns 152.79 1.27 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,131,072.8 ns 548,353.26 ns 457,899.81 ns 167,207.52 1,209.32 1714.2857 1571.4286 1000.0000 27898114 B 89,417.03

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.108 μs 0.0056 μs 0.0049 μs 1.00 0.0134 360 B 1.00
NewWithSignature 1.095 μs 0.0082 μs 0.0076 μs 0.99 0.0134 360 B 1.00
DeclaredNewEmpty 1.082 μs 0.0086 μs 0.0080 μs 0.98 0.0134 360 B 1.00

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 77.12 ns 0.560 ns 0.524 ns 1.00 0.01 0.0010 24 B 1.00
SetInstanceIntField 87.74 ns 0.512 ns 0.479 ns 1.14 0.01 0.0010 24 B 1.00
GetInstanceStringField 75.47 ns 0.663 ns 0.620 ns 0.98 0.01 - - 0.00
SetInstanceStringField 657.32 ns 4.201 ns 3.724 ns 8.52 0.07 0.0095 256 B 10.67
GetStaticIntField 82.30 ns 0.605 ns 0.566 ns 1.07 0.01 0.0010 24 B 1.00
SetStaticIntField 85.42 ns 0.573 ns 0.536 ns 1.11 0.01 0.0010 24 B 1.00
GetStaticStringField 69.80 ns 0.622 ns 0.582 ns 0.91 0.01 - - 0.00
SetStaticStringField 652.49 ns 6.542 ns 6.120 ns 8.46 0.09 0.0095 256 B 10.67
GetInstanceIntFieldGeneric 80.44 ns 0.285 ns 0.238 ns 1.04 0.01 0.0010 24 B 1.00

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 263.0 ns 2.60 ns 2.43 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 266.1 ns 2.18 ns 2.04 ns 1.01 0.01 - - NA
InvokeStaticWithFeedback 495.1 ns 3.91 ns 3.46 ns 1.88 0.02 0.0124 312 B NA
InvokeInstanceEmpty 266.9 ns 3.46 ns 3.24 ns 1.02 0.02 - - NA
InvokeInstanceWithFeedback 494.2 ns 4.50 ns 4.21 ns 1.88 0.02 0.0124 312 B NA

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.309 μs 0.0122 μs 0.0115 μs 1.00 0.0267 680 B 1.00

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,961.3 ns 14.16 ns 13.25 ns 1.00 0.01 0.0229 - - 656 B 1.00
InvokeSingleStringPreallocated 10 523.8 ns 5.43 ns 5.08 ns 0.27 0.00 0.0114 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 54,494.0 ns 478.98 ns 448.04 ns 1.000 0.01 0.9155 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 526.3 ns 3.77 ns 3.53 ns 0.010 0.00 0.0114 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,068,734.3 ns 125,452.51 ns 117,348.36 ns 1.000 0.02 70.3125 70.3125 70.3125 2400462 B 1.000
InvokeSingleStringPreallocated 100000 530.9 ns 4.23 ns 3.95 ns 0.000 0.00 0.0114 - - 288 B 0.000

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 980.6 ns 10.10 ns 9.45 ns 0.0038 104 B
PredicateRoundTrip False False True 974.9 ns 11.05 ns 10.34 ns 0.0038 104 B
PredicateRoundTrip False True False 1,282.3 ns 6.33 ns 5.61 ns 0.0076 200 B
PredicateRoundTrip False True True 4,370.2 ns 29.78 ns 27.86 ns 0.0229 760 B
PredicateRoundTrip True False False 388.7 ns 2.82 ns 2.64 ns 0.0010 24 B
PredicateRoundTrip True False True 393.3 ns 3.91 ns 3.66 ns 0.0010 24 B
PredicateRoundTrip True True False 662.1 ns 4.78 ns 4.23 ns 0.0048 120 B
PredicateRoundTrip True True True 3,749.6 ns 12.96 ns 12.13 ns 0.0267 680 B

core-ubuntu-24.04_net10.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 498.96 ns 3.533 ns 3.305 ns 0.0027 80 B
PredicateSustained False False True 505.69 ns 3.604 ns 3.371 ns 0.0030 80 B
PredicateSustained False True False 740.90 ns 5.157 ns 4.824 ns 0.0057 176 B
PredicateSustained False True True 3,706.01 ns 37.984 ns 35.530 ns 0.0200 736 B
PredicateSustained True False False 46.85 ns 0.934 ns 1.534 ns - -
PredicateSustained True False True 46.73 ns 0.331 ns 0.310 ns - -
PredicateSustained True True False 224.24 ns 1.641 ns 1.535 ns 0.0038 96 B
PredicateSustained True True True 3,107.25 ns 21.304 ns 19.928 ns 0.0250 656 B

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 551.5 ns 5.94 ns 5.55 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 5,668.2 ns 26.33 ns 24.63 ns 10.28 0.11 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,160.5 ns 3.97 ns 3.71 ns 2.10 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,195.5 ns 3.32 ns 2.77 ns 2.17 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,234.3 ns 20.69 ns 17.27 ns 14.93 0.15 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 552.9 ns 5.38 ns 5.03 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 421,587.9 ns 1,502.61 ns 1,332.03 ns 762.54 7.11 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,826.6 ns 8.69 ns 7.70 ns 3.30 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,858.0 ns 11.33 ns 10.60 ns 3.36 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 653,608.7 ns 4,232.30 ns 3,958.90 ns 1,182.21 12.51 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 559.1 ns 6.10 ns 5.71 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 53,608,212.9 ns 503,833.77 ns 446,635.51 ns 95,887.72 1,227.54 1100.0000 1000.0000 300.0000 16002110 B 51,288.81
InvokeIntArrayFixed 100000 67,180.6 ns 223.03 ns 197.71 ns 120.16 1.24 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 67,322.3 ns 581.64 ns 544.07 ns 120.42 1.52 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 81,272,652.6 ns 1,556,346.08 ns 1,729,874.54 ns 145,370.44 3,345.87 2142.8571 2000.0000 1000.0000 27897273 B 89,414.34

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.077 μs 0.0079 μs 0.0070 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.089 μs 0.0055 μs 0.0051 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.067 μs 0.0046 μs 0.0043 μs 0.99 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 74.31 ns 0.408 ns 0.341 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 78.62 ns 1.092 ns 1.021 ns 1.06 0.01 0.0014 24 B 1.00
GetInstanceStringField 73.80 ns 0.463 ns 0.433 ns 0.99 0.01 - - 0.00
SetInstanceStringField 568.46 ns 3.270 ns 3.059 ns 7.65 0.05 0.0153 256 B 10.67
GetStaticIntField 76.94 ns 0.610 ns 0.541 ns 1.04 0.01 0.0014 24 B 1.00
SetStaticIntField 80.15 ns 0.845 ns 0.790 ns 1.08 0.01 0.0014 24 B 1.00
GetStaticStringField 72.66 ns 0.816 ns 0.763 ns 0.98 0.01 - - 0.00
SetStaticStringField 609.22 ns 5.009 ns 4.441 ns 8.20 0.07 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 78.78 ns 0.529 ns 0.495 ns 1.06 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 258.5 ns 2.84 ns 2.65 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 255.4 ns 3.44 ns 3.05 ns 0.99 0.02 - - NA
InvokeStaticWithFeedback 527.4 ns 4.74 ns 4.20 ns 2.04 0.03 0.0181 312 B NA
InvokeInstanceEmpty 270.1 ns 2.34 ns 2.08 ns 1.05 0.01 - - NA
InvokeInstanceWithFeedback 557.4 ns 3.27 ns 3.06 ns 2.16 0.02 0.0181 312 B NA

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.387 μs 0.0113 μs 0.0100 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,114.4 ns 17.07 ns 15.14 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 582.9 ns 5.43 ns 4.82 ns 0.28 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 58,148.9 ns 501.77 ns 469.35 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 586.8 ns 4.30 ns 3.81 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,365,904.0 ns 142,600.25 ns 133,388.36 ns 1.000 0.02 70.3125 70.3125 70.3125 2400790 B 1.000
InvokeSingleStringPreallocated 100000 622.0 ns 6.61 ns 6.18 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,009.1 ns 11.25 ns 10.53 ns 0.0057 104 B
PredicateRoundTrip False False True 1,020.6 ns 10.12 ns 8.97 ns 0.0057 104 B
PredicateRoundTrip False True False 1,274.1 ns 8.79 ns 7.34 ns 0.0114 200 B
PredicateRoundTrip False True True 4,332.5 ns 30.03 ns 28.09 ns 0.0381 760 B
PredicateRoundTrip True False False 422.8 ns 5.19 ns 4.85 ns 0.0014 24 B
PredicateRoundTrip True False True 437.7 ns 5.93 ns 5.55 ns 0.0014 24 B
PredicateRoundTrip True True False 684.1 ns 3.91 ns 3.27 ns 0.0067 120 B
PredicateRoundTrip True True True 3,705.0 ns 17.77 ns 15.75 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 519.18 ns 5.153 ns 4.303 ns 0.0040 80 B
PredicateSustained False False True 485.02 ns 5.235 ns 4.897 ns 0.0045 80 B
PredicateSustained False True False 686.84 ns 7.118 ns 6.658 ns 0.0100 176 B
PredicateSustained False True True 3,780.50 ns 23.841 ns 19.908 ns 0.0400 736 B
PredicateSustained True False False 28.92 ns 0.274 ns 0.243 ns - -
PredicateSustained True False True 29.13 ns 0.298 ns 0.279 ns - -
PredicateSustained True True False 205.14 ns 1.880 ns 1.667 ns 0.0056 96 B
PredicateSustained True True True 3,217.33 ns 26.969 ns 25.227 ns 0.0300 656 B

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 578.3 ns 5.82 ns 5.16 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 10 6,473.5 ns 35.55 ns 29.69 ns 11.20 0.11 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 1,238.1 ns 7.83 ns 7.33 ns 2.14 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 1,237.6 ns 6.22 ns 5.52 ns 2.14 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 8,907.0 ns 76.78 ns 68.06 ns 15.40 0.18 0.1984 - - 3488 B 11.18
InvokeIntParam 1000 564.1 ns 6.65 ns 6.22 ns 1.00 0.02 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 1000 479,652.4 ns 4,654.22 ns 4,125.85 ns 850.43 11.47 8.7891 1.9531 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,932.9 ns 9.36 ns 8.76 ns 3.43 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,890.5 ns 12.97 ns 12.13 ns 3.35 0.04 0.0229 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 668,625.2 ns 6,067.74 ns 5,378.89 ns 1,185.49 15.60 15.6250 6.8359 - 265856 B 852.10
InvokeIntParam 100000 559.9 ns 5.04 ns 4.46 ns 1.00 0.01 0.0181 - - 312 B 1.00
InvokeStringArrayFixed 100000 57,310,869.8 ns 678,853.34 ns 634,999.83 ns 102,368.57 1,348.60 1111.1111 1000.0000 333.3333 16001482 B 51,286.80
InvokeIntArrayFixed 100000 66,710.3 ns 491.39 ns 459.65 ns 119.16 1.21 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 66,871.9 ns 436.99 ns 387.38 ns 119.45 1.13 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 83,155,098.4 ns 1,645,482.72 ns 2,020,800.74 ns 148,531.48 3,710.08 2142.8571 2000.0000 1000.0000 27895216 B 89,407.74

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.123 μs 0.0060 μs 0.0056 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.136 μs 0.0089 μs 0.0079 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.159 μs 0.0071 μs 0.0063 μs 1.03 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 79.81 ns 0.958 ns 0.896 ns 1.00 0.02 0.0014 24 B 1.00
SetInstanceIntField 92.17 ns 0.982 ns 0.870 ns 1.15 0.02 0.0014 24 B 1.00
GetInstanceStringField 82.44 ns 1.147 ns 1.073 ns 1.03 0.02 - - 0.00
SetInstanceStringField 623.92 ns 6.332 ns 5.613 ns 7.82 0.11 0.0153 256 B 10.67
GetStaticIntField 84.59 ns 0.703 ns 0.657 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 89.31 ns 1.132 ns 1.004 ns 1.12 0.02 0.0014 24 B 1.00
GetStaticStringField 81.79 ns 0.769 ns 0.681 ns 1.02 0.01 - - 0.00
SetStaticStringField 629.69 ns 3.299 ns 2.925 ns 7.89 0.09 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 86.59 ns 0.982 ns 0.918 ns 1.09 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 334.2 ns 4.65 ns 4.35 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 331.2 ns 3.45 ns 3.06 ns 0.99 0.02 - - NA
InvokeStaticWithFeedback 523.2 ns 7.47 ns 6.99 ns 1.57 0.03 0.0181 312 B NA
InvokeInstanceEmpty 350.5 ns 3.34 ns 3.13 ns 1.05 0.02 - - NA
InvokeInstanceWithFeedback 557.3 ns 7.82 ns 7.32 ns 1.67 0.03 0.0181 312 B NA

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.397 μs 0.0161 μs 0.0125 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,024.7 ns 27.83 ns 24.67 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 609.9 ns 8.38 ns 7.84 ns 0.30 0.01 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 55,641.0 ns 705.98 ns 589.53 ns 1.00 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 596.5 ns 7.00 ns 6.21 ns 0.01 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 7,085,895.7 ns 77,758.70 ns 68,931.06 ns 1.000 0.01 70.3125 70.3125 70.3125 2400651 B 1.000
InvokeSingleStringPreallocated 100000 603.7 ns 5.40 ns 5.05 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,078.9 ns 10.57 ns 9.89 ns 0.0057 104 B
PredicateRoundTrip False False True 1,076.4 ns 11.39 ns 10.65 ns 0.0057 104 B
PredicateRoundTrip False True False 1,355.7 ns 9.82 ns 8.20 ns 0.0114 200 B
PredicateRoundTrip False True True 4,598.8 ns 21.75 ns 20.35 ns 0.0381 760 B
PredicateRoundTrip True False False 437.0 ns 6.09 ns 5.69 ns 0.0014 24 B
PredicateRoundTrip True False True 436.3 ns 6.97 ns 6.52 ns 0.0014 24 B
PredicateRoundTrip True True False 680.9 ns 3.39 ns 3.17 ns 0.0067 120 B
PredicateRoundTrip True True True 3,886.6 ns 24.56 ns 21.77 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 548.48 ns 7.707 ns 7.209 ns 0.0040 80 B
PredicateSustained False False True 556.84 ns 4.000 ns 3.742 ns 0.0044 80 B
PredicateSustained False True False 777.77 ns 5.155 ns 4.305 ns 0.0100 176 B
PredicateSustained False True True 4,001.33 ns 10.655 ns 8.897 ns 0.0400 736 B
PredicateSustained True False False 29.17 ns 0.274 ns 0.256 ns - -
PredicateSustained True False True 28.96 ns 0.239 ns 0.212 ns - -
PredicateSustained True True False 193.46 ns 1.471 ns 1.304 ns 0.0056 96 B
PredicateSustained True True True 3,337.63 ns 18.419 ns 16.328 ns 0.0300 656 B

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 364.8 ns 2.75 ns 2.58 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 4,341.6 ns 42.87 ns 40.10 ns 11.90 0.13 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 895.0 ns 4.39 ns 3.89 ns 2.45 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 883.1 ns 3.10 ns 2.90 ns 2.42 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 5,890.6 ns 22.77 ns 20.18 ns 16.15 0.12 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 371.1 ns 2.47 ns 2.19 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 327,988.4 ns 2,042.42 ns 1,910.48 ns 883.89 7.06 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,484.6 ns 3.03 ns 2.53 ns 4.00 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,487.3 ns 6.38 ns 5.97 ns 4.01 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 466,513.3 ns 1,167.43 ns 1,034.90 ns 1,257.20 7.60 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 366.6 ns 3.37 ns 3.15 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 39,727,678.9 ns 396,256.89 ns 351,271.41 ns 108,389.98 1,291.05 1076.9231 923.0769 307.6923 16001314 B 51,286.26
InvokeIntArrayFixed 100000 50,900.0 ns 172.83 ns 153.21 ns 138.87 1.22 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 50,787.8 ns 149.84 ns 140.16 ns 138.57 1.21 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 61,170,152.1 ns 1,217,887.37 ns 1,449,808.41 ns 166,891.99 4,106.88 2125.0000 2000.0000 1000.0000 27896583 B 89,412.12

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 807.7 ns 4.27 ns 4.00 ns 1.00 0.0210 360 B 1.00
NewWithSignature 856.4 ns 5.05 ns 4.72 ns 1.06 0.0210 360 B 1.00
DeclaredNewEmpty 812.9 ns 3.13 ns 2.77 ns 1.01 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 63.40 ns 0.361 ns 0.338 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 70.06 ns 0.786 ns 0.735 ns 1.11 0.01 0.0014 24 B 1.00
GetInstanceStringField 66.68 ns 0.371 ns 0.347 ns 1.05 0.01 - - 0.00
SetInstanceStringField 405.54 ns 2.359 ns 2.207 ns 6.40 0.05 0.0153 256 B 10.67
GetStaticIntField 78.78 ns 0.777 ns 0.689 ns 1.24 0.01 0.0014 24 B 1.00
SetStaticIntField 72.85 ns 0.688 ns 0.644 ns 1.15 0.01 0.0014 24 B 1.00
GetStaticStringField 65.18 ns 0.311 ns 0.276 ns 1.03 0.01 - - 0.00
SetStaticStringField 423.57 ns 1.362 ns 1.207 ns 6.68 0.04 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 66.72 ns 0.509 ns 0.476 ns 1.05 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 193.1 ns 0.82 ns 0.77 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 193.8 ns 1.06 ns 0.99 ns 1.00 0.01 - - NA
InvokeStaticWithFeedback 372.0 ns 2.99 ns 2.80 ns 1.93 0.02 0.0186 312 B NA
InvokeInstanceEmpty 196.9 ns 1.20 ns 1.12 ns 1.02 0.01 - - NA
InvokeInstanceWithFeedback 363.1 ns 1.68 ns 1.57 ns 1.88 0.01 0.0186 312 B NA

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.025 μs 0.0057 μs 0.0053 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,463.4 ns 4.86 ns 4.31 ns 1.00 0.00 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 380.8 ns 2.72 ns 2.54 ns 0.26 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 43,377.5 ns 584.61 ns 546.84 ns 1.000 0.02 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 380.8 ns 2.79 ns 2.47 ns 0.009 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 5,933,523.7 ns 56,540.19 ns 52,887.72 ns 1.000 0.01 70.3125 70.3125 70.3125 2400978 B 1.000
InvokeSingleStringPreallocated 100000 399.0 ns 1.84 ns 1.73 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 751.5 ns 5.56 ns 4.93 ns 0.0057 104 B
PredicateRoundTrip False False True 769.2 ns 2.79 ns 2.61 ns 0.0057 104 B
PredicateRoundTrip False True False 962.4 ns 4.58 ns 4.06 ns 0.0114 200 B
PredicateRoundTrip False True True 3,338.3 ns 9.18 ns 8.59 ns 0.0420 760 B
PredicateRoundTrip True False False 287.8 ns 3.47 ns 3.08 ns 0.0014 24 B
PredicateRoundTrip True False True 278.0 ns 2.04 ns 1.91 ns 0.0014 24 B
PredicateRoundTrip True True False 473.8 ns 2.17 ns 2.03 ns 0.0072 120 B
PredicateRoundTrip True True True 2,754.1 ns 10.54 ns 8.80 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 369.05 ns 2.064 ns 1.830 ns 0.0043 80 B
PredicateSustained False False True 370.47 ns 1.829 ns 1.711 ns 0.0043 80 B
PredicateSustained False True False 514.49 ns 2.147 ns 1.903 ns 0.0100 176 B
PredicateSustained False True True 2,913.06 ns 12.924 ns 11.456 ns 0.0400 736 B
PredicateSustained True False False 23.99 ns 0.220 ns 0.205 ns - -
PredicateSustained True False True 23.03 ns 0.236 ns 0.221 ns - -
PredicateSustained True True False 143.03 ns 0.497 ns 0.388 ns 0.0056 96 B
PredicateSustained True True True 2,318.97 ns 10.552 ns 9.871 ns 0.0367 656 B

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 274.2 ns 3.08 ns 2.88 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 3,425.2 ns 55.91 ns 52.30 ns 12.49 0.22 0.1183 - - 2016 B 6.46
InvokeIntArrayFixed 10 629.5 ns 5.09 ns 4.76 ns 2.30 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 629.6 ns 11.68 ns 10.93 ns 2.30 0.05 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 4,360.0 ns 65.66 ns 58.20 ns 15.90 0.26 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 259.7 ns 3.69 ns 3.27 ns 1.00 0.02 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 247,805.4 ns 3,710.69 ns 3,289.43 ns 954.36 16.84 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,051.6 ns 11.62 ns 10.87 ns 4.05 0.06 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,055.8 ns 15.92 ns 14.11 ns 4.07 0.07 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 332,624.4 ns 4,329.27 ns 3,615.13 ns 1,281.02 20.53 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 255.7 ns 3.66 ns 3.25 ns 1.00 0.02 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 31,861,354.5 ns 524,825.45 ns 490,922.05 ns 124,631.90 2,399.17 1187.5000 1062.5000 375.0000 16001644 B 51,287.32
InvokeIntArrayFixed 100000 36,525.0 ns 386.60 ns 361.62 ns 142.87 2.21 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 36,456.7 ns 619.07 ns 516.95 ns 142.61 2.61 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 44,371,017.6 ns 880,249.65 ns 735,048.32 ns 173,565.88 3,483.26 2090.9091 2000.0000 1000.0000 27895979 B 89,410.19

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 597.2 ns 7.51 ns 6.66 ns 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 606.9 ns 9.34 ns 8.28 ns 1.02 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 598.2 ns 11.44 ns 11.23 ns 1.00 0.02 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 39.53 ns 0.263 ns 0.246 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 43.25 ns 0.477 ns 0.399 ns 1.09 0.01 0.0014 24 B 1.00
GetInstanceStringField 42.05 ns 0.637 ns 0.565 ns 1.06 0.02 - - 0.00
SetInstanceStringField 293.85 ns 1.963 ns 1.533 ns 7.43 0.06 0.0153 256 B 10.67
GetStaticIntField 45.89 ns 0.501 ns 0.444 ns 1.16 0.01 0.0014 24 B 1.00
SetStaticIntField 44.08 ns 0.732 ns 0.783 ns 1.12 0.02 0.0014 24 B 1.00
GetStaticStringField 39.86 ns 0.330 ns 0.292 ns 1.01 0.01 - - 0.00
SetStaticStringField 292.22 ns 2.984 ns 2.791 ns 7.39 0.08 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 40.88 ns 0.489 ns 0.382 ns 1.03 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 125.9 ns 1.12 ns 1.00 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 128.9 ns 1.10 ns 0.97 ns 1.02 0.01 - - NA
InvokeStaticWithFeedback 264.4 ns 5.16 ns 7.24 ns 2.10 0.06 0.0186 312 B NA
InvokeInstanceEmpty 138.7 ns 2.66 ns 2.22 ns 1.10 0.02 - - NA
InvokeInstanceWithFeedback 264.1 ns 4.17 ns 3.69 ns 2.10 0.03 0.0186 312 B NA

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 733.7 ns 8.56 ns 6.68 ns 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,087.4 ns 9.49 ns 8.88 ns 1.00 0.01 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 281.3 ns 3.29 ns 2.92 ns 0.26 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 28,824.7 ns 302.49 ns 282.95 ns 1.000 0.01 1.4343 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 286.3 ns 4.60 ns 4.08 ns 0.010 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 4,438,280.7 ns 87,967.19 ns 114,382.21 ns 1.001 0.04 70.3125 70.3125 70.3125 2400857 B 1.000
InvokeSingleStringPreallocated 100000 276.8 ns 2.30 ns 2.04 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 540.8 ns 5.76 ns 5.39 ns 0.0057 104 B
PredicateRoundTrip False False True 538.0 ns 5.17 ns 4.83 ns 0.0057 104 B
PredicateRoundTrip False True False 670.0 ns 4.09 ns 3.62 ns 0.0114 200 B
PredicateRoundTrip False True True 2,324.2 ns 34.82 ns 53.18 ns 0.0420 760 B
PredicateRoundTrip True False False 197.9 ns 3.90 ns 4.00 ns 0.0014 24 B
PredicateRoundTrip True False True 198.9 ns 1.98 ns 1.75 ns 0.0014 24 B
PredicateRoundTrip True True False 337.3 ns 4.03 ns 3.36 ns 0.0072 120 B
PredicateRoundTrip True True True 1,980.0 ns 14.21 ns 12.60 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 253.27 ns 1.728 ns 1.531 ns 0.0047 80 B
PredicateSustained False False True 258.05 ns 2.184 ns 1.824 ns 0.0047 80 B
PredicateSustained False True False 359.95 ns 5.418 ns 4.803 ns 0.0100 176 B
PredicateSustained False True True 2,023.70 ns 19.899 ns 16.616 ns 0.0433 736 B
PredicateSustained True False False 29.16 ns 0.283 ns 0.251 ns - -
PredicateSustained True False True 29.30 ns 0.375 ns 0.313 ns - -
PredicateSustained True True False 123.89 ns 2.451 ns 2.724 ns 0.0056 96 B
PredicateSustained True True True 1,713.69 ns 16.502 ns 15.436 ns 0.0367 656 B

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 408.0 ns 2.99 ns 2.65 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 10 4,397.3 ns 38.62 ns 36.12 ns 10.78 0.11 0.1144 - - 2016 B 6.46
InvokeIntArrayFixed 10 893.9 ns 4.69 ns 4.15 ns 2.19 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 10 889.8 ns 4.81 ns 4.02 ns 2.18 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 10 6,191.9 ns 53.91 ns 50.43 ns 15.18 0.15 0.2060 - - 3488 B 11.18
InvokeIntParam 1000 397.5 ns 2.33 ns 2.06 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 1000 320,278.7 ns 3,344.60 ns 2,964.90 ns 805.72 8.26 9.2773 2.9297 - 160416 B 514.15
InvokeIntArrayFixed 1000 1,519.1 ns 10.01 ns 7.81 ns 3.82 0.03 0.0248 - - 416 B 1.33
InvokeVarArgsWholeArray 1000 1,513.8 ns 5.49 ns 4.87 ns 3.81 0.02 0.0248 - - 416 B 1.33
InvokeVarArgsSpreadElements 1000 482,213.1 ns 2,456.10 ns 2,177.27 ns 1,213.09 8.05 15.6250 7.3242 - 265856 B 852.10
InvokeIntParam 100000 379.1 ns 4.18 ns 3.70 ns 1.00 0.01 0.0186 - - 312 B 1.00
InvokeStringArrayFixed 100000 40,959,933.3 ns 426,396.19 ns 398,851.26 ns 108,047.75 1,436.29 1076.9231 923.0769 307.6923 16001210 B 51,285.93
InvokeIntArrayFixed 100000 51,457.2 ns 161.52 ns 134.88 ns 135.74 1.32 - - - 416 B 1.33
InvokeVarArgsWholeArray 100000 51,793.3 ns 532.53 ns 472.07 ns 136.62 1.76 - - - 416 B 1.33
InvokeVarArgsSpreadElements 100000 82,439,432.5 ns 1,631,874.47 ns 3,442,177.39 ns 217,466.06 9,228.88 1875.0000 1750.0000 750.0000 27894441 B 89,405.26

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 949.5 ns 17.42 ns 16.30 ns 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 944.8 ns 17.04 ns 15.94 ns 1.00 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1,001.6 ns 20.02 ns 31.17 ns 1.06 0.04 0.0210 360 B 1.00

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 74.22 ns 1.524 ns 2.748 ns 1.00 0.05 0.0014 24 B 1.00
SetInstanceIntField 80.52 ns 1.639 ns 1.951 ns 1.09 0.05 0.0014 24 B 1.00
GetInstanceStringField 70.00 ns 1.403 ns 2.056 ns 0.94 0.04 - - 0.00
SetInstanceStringField 528.33 ns 10.492 ns 15.705 ns 7.13 0.33 0.0153 256 B 10.67
GetStaticIntField 76.83 ns 1.524 ns 1.927 ns 1.04 0.05 0.0014 24 B 1.00
SetStaticIntField 76.88 ns 1.490 ns 1.657 ns 1.04 0.04 0.0014 24 B 1.00
GetStaticStringField 67.59 ns 1.361 ns 2.118 ns 0.91 0.04 - - 0.00
SetStaticStringField 479.26 ns 9.545 ns 11.722 ns 6.47 0.28 0.0153 256 B 10.67
GetInstanceIntFieldGeneric 79.16 ns 1.556 ns 1.852 ns 1.07 0.05 0.0014 24 B 1.00

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 216.4 ns 3.79 ns 3.54 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 216.6 ns 2.54 ns 2.38 ns 1.00 0.02 - - NA
InvokeStaticWithFeedback 399.7 ns 5.98 ns 5.60 ns 1.85 0.04 0.0186 312 B NA
InvokeInstanceEmpty 205.6 ns 4.11 ns 5.63 ns 0.95 0.03 - - NA
InvokeInstanceWithFeedback 402.6 ns 4.06 ns 3.39 ns 1.86 0.03 0.0186 312 B NA

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.052 μs 0.0066 μs 0.0062 μs 1.00 0.0401 680 B 1.00

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,558.9 ns 19.74 ns 17.50 ns 1.00 0.02 0.0381 - - 656 B 1.00
InvokeSingleStringPreallocated 10 414.2 ns 3.55 ns 2.96 ns 0.27 0.00 0.0172 - - 288 B 0.44
InvokeStringArrayPreallocated 1000 46,385.2 ns 414.89 ns 388.09 ns 1.000 0.01 1.4038 - - 24416 B 1.00
InvokeSingleStringPreallocated 1000 429.4 ns 2.77 ns 2.46 ns 0.009 0.00 0.0172 - - 288 B 0.01
InvokeStringArrayPreallocated 100000 6,866,757.9 ns 129,860.31 ns 115,117.78 ns 1.000 0.02 70.3125 70.3125 70.3125 2400978 B 1.000
InvokeSingleStringPreallocated 100000 414.4 ns 2.50 ns 2.22 ns 0.000 0.00 0.0172 - - 288 B 0.000

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 744.9 ns 14.82 ns 12.38 ns 0.0057 104 B
PredicateRoundTrip False False True 738.6 ns 7.61 ns 6.74 ns 0.0057 104 B
PredicateRoundTrip False True False 1,093.3 ns 21.21 ns 32.39 ns 0.0114 200 B
PredicateRoundTrip False True True 3,872.4 ns 76.05 ns 106.61 ns 0.0381 760 B
PredicateRoundTrip True False False 322.5 ns 6.14 ns 7.07 ns 0.0014 24 B
PredicateRoundTrip True False True 330.6 ns 6.56 ns 5.82 ns 0.0014 24 B
PredicateRoundTrip True True False 560.0 ns 7.07 ns 6.27 ns 0.0067 120 B
PredicateRoundTrip True True True 3,415.3 ns 63.33 ns 62.20 ns 0.0381 680 B

core-ubuntu-24.04_net10.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 412.06 ns 8.237 ns 16.259 ns 0.0046 80 B
PredicateSustained False False True 398.54 ns 7.877 ns 13.376 ns 0.0046 80 B
PredicateSustained False True False 673.88 ns 13.330 ns 15.868 ns 0.0100 176 B
PredicateSustained False True True 3,468.23 ns 68.324 ns 121.446 ns 0.0400 736 B
PredicateSustained True False False 26.91 ns 0.532 ns 0.654 ns - -
PredicateSustained True False True 28.28 ns 0.556 ns 0.704 ns - -
PredicateSustained True True False 208.75 ns 3.380 ns 2.996 ns 0.0056 96 B
PredicateSustained True True True 2,888.60 ns 57.665 ns 56.635 ns 0.0350 656 B

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 441.5 ns 4.92 ns 4.11 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 10 5,205.8 ns 32.12 ns 28.47 ns 11.79 0.12 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,019.4 ns 5.48 ns 5.12 ns 2.31 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,008.4 ns 6.32 ns 5.91 ns 2.28 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 6,899.0 ns 48.49 ns 42.98 ns 15.63 0.17 0.2060 - - 3520 B 10.23
InvokeIntParam 1000 437.5 ns 2.32 ns 1.94 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 1000 383,557.0 ns 1,136.54 ns 1,063.12 ns 876.78 4.41 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,635.8 ns 5.70 ns 5.06 ns 3.74 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,622.9 ns 9.15 ns 7.64 ns 3.71 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 543,762.6 ns 3,479.28 ns 3,084.29 ns 1,243.00 8.62 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 415.2 ns 3.89 ns 3.25 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 100000 46,958,715.9 ns 649,456.44 ns 607,501.96 ns 113,118.79 1,651.54 1000.0000 909.0909 272.7273 16002268 B 46,518.22
InvokeIntArrayFixed 100000 52,838.2 ns 999.85 ns 834.92 ns 127.28 2.16 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 51,967.2 ns 140.58 ns 131.50 ns 125.18 0.99 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 69,890,295.8 ns 506,899.12 ns 395,753.49 ns 168,358.65 1,559.43 2000.0000 1857.1429 857.1429 27894217 B 81,087.84

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 974.6 ns 2.89 ns 2.42 ns 1.00 0.0210 360 B 1.00
NewWithSignature 953.6 ns 3.82 ns 3.38 ns 0.98 0.0210 360 B 1.00
DeclaredNewEmpty 943.6 ns 3.55 ns 3.15 ns 0.97 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 81.57 ns 0.775 ns 0.647 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 102.29 ns 1.238 ns 1.158 ns 1.25 0.02 0.0014 24 B 1.00
GetInstanceStringField 93.27 ns 1.647 ns 1.540 ns 1.14 0.02 - - 0.00
SetInstanceStringField 528.25 ns 3.013 ns 2.818 ns 6.48 0.06 0.0172 288 B 12.00
GetStaticIntField 86.37 ns 0.441 ns 0.413 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 99.58 ns 0.451 ns 0.400 ns 1.22 0.01 0.0014 24 B 1.00
GetStaticStringField 83.70 ns 0.943 ns 0.882 ns 1.03 0.01 - - 0.00
SetStaticStringField 523.81 ns 3.000 ns 2.659 ns 6.42 0.06 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 108.38 ns 0.690 ns 0.611 ns 1.33 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 256.8 ns 1.64 ns 1.45 ns 1.00 - - NA
InvokeStaticEmptyWithSignature 236.7 ns 1.23 ns 1.09 ns 0.92 - - NA
InvokeStaticWithFeedback 430.2 ns 2.91 ns 2.58 ns 1.68 0.0205 344 B NA
InvokeInstanceEmpty 271.1 ns 1.35 ns 1.20 ns 1.06 - - NA
InvokeInstanceWithFeedback 438.8 ns 3.15 ns 2.63 ns 1.71 0.0205 344 B NA

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.141 μs 0.0042 μs 0.0038 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,648.9 ns 4.68 ns 4.15 ns 1.00 0.0401 - - 688 B 1.00
InvokeSingleStringPreallocated 10 482.5 ns 2.85 ns 2.67 ns 0.29 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 49,191.3 ns 405.84 ns 338.90 ns 1.000 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 472.2 ns 2.74 ns 2.43 ns 0.010 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 6,855,936.2 ns 66,600.50 ns 62,298.15 ns 1.000 78.1250 78.1250 78.1250 2400948 B 1.000
InvokeSingleStringPreallocated 100000 525.4 ns 2.36 ns 2.10 ns 0.000 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 808.9 ns 5.38 ns 4.77 ns 0.0057 104 B
PredicateRoundTrip False False True 843.8 ns 5.66 ns 5.29 ns 0.0057 104 B
PredicateRoundTrip False True False 1,000.6 ns 4.67 ns 4.14 ns 0.0114 200 B
PredicateRoundTrip False True True 3,683.8 ns 29.91 ns 26.52 ns 0.0458 792 B
PredicateRoundTrip True False False 312.9 ns 2.71 ns 2.53 ns 0.0014 24 B
PredicateRoundTrip True False True 310.6 ns 2.04 ns 1.81 ns 0.0014 24 B
PredicateRoundTrip True True False 483.1 ns 2.11 ns 1.76 ns 0.0067 120 B
PredicateRoundTrip True True True 3,266.3 ns 9.56 ns 8.48 ns 0.0420 712 B

core-ubuntu-24.04_net8.0_corretto_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 421.84 ns 2.084 ns 1.949 ns 0.0042 80 B
PredicateSustained False False True 423.83 ns 2.555 ns 2.389 ns 0.0042 80 B
PredicateSustained False True False 551.43 ns 2.998 ns 2.657 ns 0.0100 176 B
PredicateSustained False True True 3,217.05 ns 18.346 ns 16.263 ns 0.0450 768 B
PredicateSustained True False False 31.47 ns 0.191 ns 0.169 ns - -
PredicateSustained True False True 31.36 ns 0.225 ns 0.210 ns - -
PredicateSustained True True False 144.10 ns 0.439 ns 0.411 ns 0.0056 96 B
PredicateSustained True True True 2,620.26 ns 22.140 ns 20.710 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 560.7 ns 3.89 ns 3.64 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,592.9 ns 40.10 ns 37.51 ns 11.76 0.10 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,260.8 ns 6.03 ns 5.34 ns 2.25 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,297.6 ns 7.93 ns 7.03 ns 2.31 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,609.8 ns 92.05 ns 86.10 ns 15.36 0.18 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 605.2 ns 2.56 ns 2.14 ns 1.00 0.00 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 486,059.3 ns 2,356.91 ns 2,204.66 ns 803.12 4.47 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,033.9 ns 7.14 ns 6.33 ns 3.36 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,023.4 ns 12.19 ns 10.18 ns 3.34 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 706,427.6 ns 2,931.87 ns 2,448.24 ns 1,167.24 5.57 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 559.1 ns 4.52 ns 4.22 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,959,347.0 ns 677,205.56 ns 600,325.09 ns 109,036.91 1,307.68 1111.1111 1000.0000 333.3333 16001610 B 46,516.31
InvokeIntArrayFixed 100000 64,059.4 ns 231.79 ns 216.82 ns 114.58 0.92 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 63,706.9 ns 193.03 ns 171.11 ns 113.95 0.88 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,603,760.1 ns 1,472,097.46 ns 1,377,000.88 ns 153,117.93 2,633.97 1833.3333 1666.6667 833.3333 27897951 B 81,098.69

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.219 μs 0.0060 μs 0.0050 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.214 μs 0.0094 μs 0.0079 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.199 μs 0.0062 μs 0.0055 μs 0.98 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 104.0 ns 0.54 ns 0.48 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 123.6 ns 1.47 ns 1.37 ns 1.19 0.01 0.0014 24 B 1.00
GetInstanceStringField 108.9 ns 0.69 ns 0.65 ns 1.05 0.01 - - 0.00
SetInstanceStringField 632.1 ns 4.53 ns 4.01 ns 6.08 0.05 0.0172 288 B 12.00
GetStaticIntField 115.8 ns 0.72 ns 0.67 ns 1.11 0.01 0.0014 24 B 1.00
SetStaticIntField 126.8 ns 1.04 ns 0.98 ns 1.22 0.01 0.0014 24 B 1.00
GetStaticStringField 105.6 ns 0.45 ns 0.39 ns 1.02 0.01 - - 0.00
SetStaticStringField 649.9 ns 3.19 ns 2.83 ns 6.25 0.04 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 137.4 ns 1.08 ns 1.01 ns 1.32 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 281.9 ns 1.36 ns 1.27 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 265.4 ns 1.27 ns 1.19 ns 0.94 0.01 - - NA
InvokeStaticWithFeedback 532.2 ns 3.46 ns 3.06 ns 1.89 0.01 0.0200 344 B NA
InvokeInstanceEmpty 292.6 ns 1.14 ns 1.01 ns 1.04 0.01 - - NA
InvokeInstanceWithFeedback 556.1 ns 3.97 ns 3.71 ns 1.97 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.437 μs 0.0086 μs 0.0080 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,035.1 ns 9.02 ns 8.43 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 589.6 ns 3.64 ns 3.41 ns 0.29 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,223.1 ns 354.98 ns 332.04 ns 1.000 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 609.0 ns 3.41 ns 3.02 ns 0.010 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,059,556.5 ns 100,854.13 ns 94,339.02 ns 1.000 0.02 78.1250 78.1250 78.1250 2400911 B 1.000
InvokeSingleStringPreallocated 100000 664.1 ns 3.05 ns 2.54 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,056.8 ns 6.60 ns 6.17 ns 0.0057 104 B
PredicateRoundTrip False False True 1,065.9 ns 7.77 ns 6.88 ns 0.0057 104 B
PredicateRoundTrip False True False 1,274.8 ns 7.10 ns 6.64 ns 0.0114 200 B
PredicateRoundTrip False True True 4,727.0 ns 12.77 ns 11.95 ns 0.0458 792 B
PredicateRoundTrip True False False 408.7 ns 2.38 ns 2.22 ns 0.0014 24 B
PredicateRoundTrip True False True 405.7 ns 2.49 ns 2.33 ns 0.0014 24 B
PredicateRoundTrip True True False 633.8 ns 3.43 ns 3.21 ns 0.0067 120 B
PredicateRoundTrip True True True 4,031.8 ns 13.17 ns 11.67 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_corretto_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 526.48 ns 3.467 ns 3.074 ns 0.0040 80 B
PredicateSustained False False True 522.95 ns 3.997 ns 3.543 ns 0.0040 80 B
PredicateSustained False True False 699.04 ns 2.631 ns 2.197 ns 0.0100 176 B
PredicateSustained False True True 4,126.64 ns 20.946 ns 19.593 ns 0.0400 768 B
PredicateSustained True False False 39.58 ns 0.610 ns 0.571 ns - -
PredicateSustained True False True 39.45 ns 0.246 ns 0.230 ns - -
PredicateSustained True True False 185.64 ns 1.155 ns 1.081 ns 0.0056 96 B
PredicateSustained True True True 3,366.76 ns 19.687 ns 18.415 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 609.5 ns 6.15 ns 5.75 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,360.3 ns 39.22 ns 36.68 ns 10.44 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,275.2 ns 8.10 ns 7.18 ns 2.09 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,297.7 ns 7.59 ns 7.10 ns 2.13 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,840.4 ns 43.82 ns 40.99 ns 14.51 0.15 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 607.3 ns 3.35 ns 3.13 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 482,127.7 ns 4,128.48 ns 3,861.78 ns 793.87 7.32 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,904.1 ns 14.73 ns 13.06 ns 3.14 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,960.1 ns 13.17 ns 11.67 ns 3.23 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 706,902.7 ns 4,578.73 ns 4,282.94 ns 1,163.98 8.97 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 607.5 ns 4.41 ns 4.13 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,423,550.0 ns 632,704.00 ns 591,831.72 ns 99,472.71 1,149.42 1111.1111 1000.0000 333.3333 16002123 B 46,517.80
InvokeIntArrayFixed 100000 67,897.1 ns 974.24 ns 911.31 ns 111.78 1.63 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 67,667.3 ns 814.49 ns 722.02 ns 111.40 1.36 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,624,680.3 ns 1,542,861.80 ns 1,443,193.88 ns 142,606.51 2,485.63 1833.3333 1666.6667 833.3333 27896288 B 81,093.86

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.230 μs 0.0069 μs 0.0064 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.199 μs 0.0065 μs 0.0058 μs 0.97 0.0210 360 B 1.00
DeclaredNewEmpty 1.207 μs 0.0055 μs 0.0046 μs 0.98 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 89.24 ns 1.025 ns 0.959 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 115.60 ns 0.900 ns 0.842 ns 1.30 0.02 0.0014 24 B 1.00
GetInstanceStringField 96.37 ns 0.823 ns 0.770 ns 1.08 0.01 - - 0.00
SetInstanceStringField 677.22 ns 4.010 ns 3.555 ns 7.59 0.09 0.0172 288 B 12.00
GetStaticIntField 93.91 ns 0.880 ns 0.823 ns 1.05 0.01 0.0014 24 B 1.00
SetStaticIntField 119.96 ns 1.216 ns 1.137 ns 1.34 0.02 0.0014 24 B 1.00
GetStaticStringField 92.09 ns 0.923 ns 0.819 ns 1.03 0.01 - - 0.00
SetStaticStringField 695.57 ns 4.120 ns 3.652 ns 7.80 0.09 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 124.49 ns 0.793 ns 0.703 ns 1.40 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 288.6 ns 3.02 ns 2.82 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 263.9 ns 2.35 ns 2.20 ns 0.91 0.01 - - NA
InvokeStaticWithFeedback 577.2 ns 5.94 ns 5.55 ns 2.00 0.03 0.0200 344 B NA
InvokeInstanceEmpty 315.0 ns 3.87 ns 3.62 ns 1.09 0.02 - - NA
InvokeInstanceWithFeedback 613.4 ns 4.78 ns 3.99 ns 2.13 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.450 μs 0.0051 μs 0.0040 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,077.0 ns 5.03 ns 4.46 ns 1.00 0.00 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 644.7 ns 5.35 ns 5.01 ns 0.31 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 61,568.5 ns 447.79 ns 418.87 ns 1.00 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 638.2 ns 6.05 ns 5.66 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,028,024.6 ns 155,301.25 ns 217,710.68 ns 1.001 0.04 78.1250 78.1250 78.1250 2400815 B 1.000
InvokeSingleStringPreallocated 100000 714.1 ns 8.35 ns 7.81 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,023.6 ns 7.63 ns 7.14 ns 0.0057 104 B
PredicateRoundTrip False False True 1,053.1 ns 13.13 ns 12.28 ns 0.0057 104 B
PredicateRoundTrip False True False 1,351.7 ns 5.62 ns 4.70 ns 0.0114 200 B
PredicateRoundTrip False True True 4,510.3 ns 23.63 ns 20.95 ns 0.0458 792 B
PredicateRoundTrip True False False 427.9 ns 3.21 ns 3.01 ns 0.0014 24 B
PredicateRoundTrip True False True 440.5 ns 4.62 ns 4.32 ns 0.0014 24 B
PredicateRoundTrip True True False 663.3 ns 4.43 ns 4.15 ns 0.0067 120 B
PredicateRoundTrip True True True 4,025.6 ns 19.59 ns 18.32 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_corretto_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 578.63 ns 6.157 ns 5.458 ns 0.0044 80 B
PredicateSustained False False True 562.02 ns 6.282 ns 5.569 ns 0.0044 80 B
PredicateSustained False True False 771.14 ns 5.295 ns 4.953 ns 0.0100 176 B
PredicateSustained False True True 4,072.84 ns 16.799 ns 13.116 ns 0.0400 768 B
PredicateSustained True False False 38.41 ns 0.568 ns 0.503 ns - -
PredicateSustained True False True 42.87 ns 0.272 ns 0.241 ns - -
PredicateSustained True True False 199.18 ns 2.085 ns 1.848 ns 0.0056 96 B
PredicateSustained True True True 3,350.87 ns 20.707 ns 17.291 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 608.5 ns 4.77 ns 4.46 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,654.4 ns 53.10 ns 49.67 ns 10.94 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,338.4 ns 11.01 ns 10.30 ns 2.20 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,354.4 ns 5.99 ns 5.60 ns 2.23 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,817.9 ns 85.24 ns 79.73 ns 14.49 0.16 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 636.9 ns 4.43 ns 4.15 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 489,819.7 ns 3,466.65 ns 3,242.71 ns 769.10 6.91 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,975.4 ns 8.57 ns 7.60 ns 3.10 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,976.9 ns 8.26 ns 7.73 ns 3.10 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 723,461.7 ns 2,708.81 ns 2,533.82 ns 1,135.96 8.13 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 596.9 ns 4.77 ns 4.46 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,685,241.1 ns 591,351.80 ns 493,805.53 ns 99,989.12 1,077.88 1111.1111 1000.0000 333.3333 16002723 B 46,519.54
InvokeIntArrayFixed 100000 66,930.2 ns 388.11 ns 363.04 ns 112.13 1.00 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 66,421.6 ns 404.20 ns 378.09 ns 111.27 1.01 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 88,093,207.3 ns 1,086,591.22 ns 1,016,398.11 ns 147,580.24 1,966.00 1833.3333 1666.6667 833.3333 27898216 B 81,099.47

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.252 μs 0.0048 μs 0.0045 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.235 μs 0.0035 μs 0.0033 μs 0.99 0.0210 360 B 1.00
DeclaredNewEmpty 1.225 μs 0.0105 μs 0.0098 μs 0.98 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 86.54 ns 0.872 ns 0.773 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 130.76 ns 0.876 ns 0.820 ns 1.51 0.02 0.0014 24 B 1.00
GetInstanceStringField 90.61 ns 0.923 ns 0.863 ns 1.05 0.01 - - 0.00
SetInstanceStringField 656.12 ns 4.044 ns 3.585 ns 7.58 0.08 0.0172 288 B 12.00
GetStaticIntField 108.77 ns 1.897 ns 1.775 ns 1.26 0.02 0.0014 24 B 1.00
SetStaticIntField 120.74 ns 1.426 ns 1.334 ns 1.40 0.02 0.0014 24 B 1.00
GetStaticStringField 87.51 ns 0.643 ns 0.601 ns 1.01 0.01 - - 0.00
SetStaticStringField 648.12 ns 3.007 ns 2.511 ns 7.49 0.07 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 117.77 ns 1.072 ns 1.003 ns 1.36 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 283.7 ns 2.21 ns 2.07 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 282.8 ns 2.15 ns 1.91 ns 1.00 0.01 - - NA
InvokeStaticWithFeedback 588.2 ns 5.31 ns 4.43 ns 2.07 0.02 0.0200 344 B NA
InvokeInstanceEmpty 312.8 ns 4.29 ns 4.01 ns 1.10 0.02 - - NA
InvokeInstanceWithFeedback 599.1 ns 7.44 ns 6.96 ns 2.11 0.03 0.0200 344 B NA

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.460 μs 0.0077 μs 0.0068 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,085.6 ns 12.67 ns 11.23 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 659.6 ns 7.77 ns 6.49 ns 0.32 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 69,711.8 ns 601.88 ns 563.00 ns 1.000 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 694.7 ns 7.45 ns 6.97 ns 0.010 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,795,284.8 ns 144,755.79 ns 135,404.65 ns 1.000 0.02 78.1250 78.1250 78.1250 2400747 B 1.000
InvokeSingleStringPreallocated 100000 740.5 ns 4.05 ns 3.38 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,044.4 ns 8.58 ns 8.02 ns 0.0057 104 B
PredicateRoundTrip False False True 1,039.5 ns 11.76 ns 11.00 ns 0.0057 104 B
PredicateRoundTrip False True False 1,294.5 ns 3.55 ns 2.96 ns 0.0114 200 B
PredicateRoundTrip False True True 4,739.5 ns 22.79 ns 20.21 ns 0.0458 792 B
PredicateRoundTrip True False False 454.8 ns 5.30 ns 4.96 ns 0.0014 24 B
PredicateRoundTrip True False True 442.5 ns 4.98 ns 4.66 ns 0.0014 24 B
PredicateRoundTrip True True False 683.8 ns 2.29 ns 2.14 ns 0.0067 120 B
PredicateRoundTrip True True True 3,989.1 ns 22.00 ns 18.37 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_corretto_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 536.78 ns 6.437 ns 6.021 ns 0.0040 80 B
PredicateSustained False False True 549.59 ns 7.963 ns 7.449 ns 0.0044 80 B
PredicateSustained False True False 710.20 ns 3.357 ns 2.976 ns 0.0100 176 B
PredicateSustained False True True 4,020.13 ns 13.299 ns 11.789 ns 0.0400 768 B
PredicateSustained True False False 39.24 ns 0.259 ns 0.230 ns - -
PredicateSustained True False True 38.37 ns 0.319 ns 0.298 ns - -
PredicateSustained True True False 198.53 ns 1.153 ns 1.079 ns 0.0056 96 B
PredicateSustained True True True 3,404.94 ns 18.717 ns 16.592 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 601.4 ns 5.18 ns 4.85 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,610.6 ns 64.96 ns 60.76 ns 10.99 0.13 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,359.8 ns 7.67 ns 6.40 ns 2.26 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,333.4 ns 5.90 ns 5.23 ns 2.22 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,844.6 ns 78.12 ns 73.07 ns 14.71 0.16 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 603.2 ns 5.94 ns 5.56 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 515,374.4 ns 5,042.83 ns 4,470.33 ns 854.47 10.46 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,771.7 ns 13.21 ns 12.36 ns 2.94 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,743.5 ns 13.22 ns 12.37 ns 2.89 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 708,106.1 ns 8,312.51 ns 7,775.53 ns 1,174.02 16.30 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 585.5 ns 5.97 ns 5.29 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 62,451,208.6 ns 1,212,882.92 ns 1,533,908.68 ns 106,671.17 2,730.36 1000.0000 875.0000 250.0000 16002037 B 46,517.55
InvokeIntArrayFixed 100000 44,827.5 ns 874.16 ns 1,166.97 ns 76.57 2.07 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 45,358.8 ns 887.35 ns 1,554.12 ns 77.48 2.71 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 88,319,953.5 ns 699,268.42 ns 583,920.80 ns 150,856.85 1,631.94 1833.3333 1666.6667 833.3333 27897116 B 81,096.27

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.259 μs 0.0051 μs 0.0048 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.249 μs 0.0085 μs 0.0080 μs 0.99 0.0210 360 B 1.00
DeclaredNewEmpty 1.244 μs 0.0085 μs 0.0080 μs 0.99 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 93.59 ns 0.511 ns 0.478 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 119.63 ns 1.000 ns 0.936 ns 1.28 0.01 0.0014 24 B 1.00
GetInstanceStringField 101.19 ns 0.681 ns 0.637 ns 1.08 0.01 - - 0.00
SetInstanceStringField 699.70 ns 3.140 ns 2.937 ns 7.48 0.05 0.0172 288 B 12.00
GetStaticIntField 99.85 ns 0.471 ns 0.441 ns 1.07 0.01 0.0014 24 B 1.00
SetStaticIntField 139.19 ns 1.000 ns 0.835 ns 1.49 0.01 0.0014 24 B 1.00
GetStaticStringField 92.49 ns 0.646 ns 0.604 ns 0.99 0.01 - - 0.00
SetStaticStringField 664.49 ns 3.603 ns 3.370 ns 7.10 0.05 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 134.52 ns 0.855 ns 0.800 ns 1.44 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 316.0 ns 2.28 ns 2.14 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 271.6 ns 1.61 ns 1.42 ns 0.86 0.01 - - NA
InvokeStaticWithFeedback 591.9 ns 2.75 ns 2.58 ns 1.87 0.01 0.0200 344 B NA
InvokeInstanceEmpty 321.8 ns 4.19 ns 3.72 ns 1.02 0.01 - - NA
InvokeInstanceWithFeedback 611.7 ns 4.62 ns 4.32 ns 1.94 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.478 μs 0.0074 μs 0.0069 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,064.2 ns 22.93 ns 21.44 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 642.2 ns 3.81 ns 3.56 ns 0.31 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 56,711.9 ns 739.63 ns 691.85 ns 1.00 0.02 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 623.8 ns 7.01 ns 6.56 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,633,702.9 ns 151,136.72 ns 264,703.79 ns 1.001 0.05 78.1250 78.1250 78.1250 2400816 B 1.000
InvokeSingleStringPreallocated 100000 701.3 ns 10.30 ns 9.64 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,045.4 ns 10.41 ns 9.73 ns 0.0057 104 B
PredicateRoundTrip False False True 1,045.3 ns 9.30 ns 8.69 ns 0.0057 104 B
PredicateRoundTrip False True False 1,280.2 ns 3.27 ns 2.73 ns 0.0114 200 B
PredicateRoundTrip False True True 4,674.7 ns 21.55 ns 20.16 ns 0.0458 792 B
PredicateRoundTrip True False False 443.8 ns 4.44 ns 4.16 ns 0.0014 24 B
PredicateRoundTrip True False True 417.0 ns 4.30 ns 4.02 ns 0.0014 24 B
PredicateRoundTrip True True False 656.2 ns 1.67 ns 1.48 ns 0.0067 120 B
PredicateRoundTrip True True True 3,962.8 ns 28.01 ns 24.83 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_graalvm_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 564.30 ns 5.977 ns 5.591 ns 0.0044 80 B
PredicateSustained False False True 562.10 ns 6.523 ns 6.101 ns 0.0044 80 B
PredicateSustained False True False 737.71 ns 6.160 ns 5.461 ns 0.0100 176 B
PredicateSustained False True True 4,083.71 ns 35.991 ns 31.905 ns 0.0400 768 B
PredicateSustained True False False 37.16 ns 0.359 ns 0.336 ns - -
PredicateSustained True False True 38.10 ns 0.246 ns 0.192 ns - -
PredicateSustained True True False 199.79 ns 2.343 ns 2.192 ns 0.0056 96 B
PredicateSustained True True True 3,397.30 ns 22.576 ns 20.013 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 290.1 ns 2.62 ns 2.45 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 10 3,651.4 ns 9.56 ns 8.48 ns 12.59 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 707.0 ns 5.14 ns 4.80 ns 2.44 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 707.4 ns 4.81 ns 4.50 ns 2.44 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 4,701.3 ns 14.24 ns 11.89 ns 16.21 0.14 0.2060 - - 3520 B 10.23
InvokeIntParam 1000 287.9 ns 1.38 ns 1.23 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 1000 273,999.4 ns 1,309.97 ns 1,225.35 ns 951.72 5.69 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 925.2 ns 2.72 ns 2.41 ns 3.21 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 929.8 ns 2.14 ns 2.00 ns 3.23 0.01 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 372,483.0 ns 843.70 ns 704.53 ns 1,293.80 5.82 15.6250 7.3242 - 265888 B 772.93
InvokeIntParam 100000 289.9 ns 1.97 ns 1.75 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 100000 33,850,221.0 ns 313,380.08 ns 293,135.92 ns 116,783.63 1,191.95 1133.3333 1000.0000 333.3333 16001558 B 46,516.16
InvokeIntArrayFixed 100000 15,847.2 ns 53.24 ns 47.20 ns 54.67 0.35 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 15,869.5 ns 44.35 ns 41.48 ns 54.75 0.35 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 50,115,608.6 ns 443,404.16 ns 414,760.53 ns 172,899.39 1,712.29 2000.0000 1900.0000 900.0000 27895311 B 81,091.02

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 667.1 ns 3.66 ns 3.06 ns 1.00 0.0210 360 B 1.00
NewWithSignature 673.4 ns 8.10 ns 7.57 ns 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 683.3 ns 4.98 ns 4.66 ns 1.02 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 46.59 ns 0.566 ns 0.502 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 61.19 ns 0.336 ns 0.314 ns 1.31 0.02 0.0014 24 B 1.00
GetInstanceStringField 50.37 ns 0.230 ns 0.204 ns 1.08 0.01 - - 0.00
SetInstanceStringField 346.83 ns 3.938 ns 3.683 ns 7.44 0.11 0.0172 288 B 12.00
GetStaticIntField 53.11 ns 0.452 ns 0.400 ns 1.14 0.01 0.0014 24 B 1.00
SetStaticIntField 62.93 ns 0.379 ns 0.354 ns 1.35 0.02 0.0014 24 B 1.00
GetStaticStringField 48.54 ns 0.241 ns 0.225 ns 1.04 0.01 - - 0.00
SetStaticStringField 345.81 ns 2.983 ns 2.790 ns 7.42 0.10 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 64.43 ns 0.294 ns 0.275 ns 1.38 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 134.0 ns 1.07 ns 1.01 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 123.2 ns 0.61 ns 0.54 ns 0.92 0.01 - - NA
InvokeStaticWithFeedback 273.4 ns 2.23 ns 1.98 ns 2.04 0.02 0.0205 344 B NA
InvokeInstanceEmpty 136.8 ns 0.63 ns 0.56 ns 1.02 0.01 - - NA
InvokeInstanceWithFeedback 289.4 ns 2.78 ns 2.60 ns 2.16 0.02 0.0205 344 B NA

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 781.6 ns 5.80 ns 5.43 ns 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,151.8 ns 17.31 ns 16.19 ns 1.00 0.02 0.0401 - - 688 B 1.00
InvokeSingleStringPreallocated 10 319.4 ns 3.61 ns 3.37 ns 0.28 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 30,466.9 ns 246.73 ns 230.79 ns 1.00 0.01 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 324.4 ns 4.68 ns 4.15 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 5,267,027.4 ns 104,635.70 ns 250,700.48 ns 1.002 0.07 70.3125 70.3125 70.3125 2400950 B 1.000
InvokeSingleStringPreallocated 100000 332.2 ns 1.70 ns 1.51 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 556.6 ns 10.18 ns 9.03 ns 0.0057 104 B
PredicateRoundTrip False False True 581.2 ns 3.40 ns 3.18 ns 0.0057 104 B
PredicateRoundTrip False True False 693.7 ns 4.85 ns 4.30 ns 0.0114 200 B
PredicateRoundTrip False True True 2,516.0 ns 9.99 ns 9.34 ns 0.0458 792 B
PredicateRoundTrip True False False 210.5 ns 1.61 ns 1.51 ns 0.0014 24 B
PredicateRoundTrip True False True 182.7 ns 1.87 ns 1.75 ns 0.0014 24 B
PredicateRoundTrip True True False 330.3 ns 2.39 ns 2.12 ns 0.0072 120 B
PredicateRoundTrip True True True 2,211.6 ns 31.40 ns 29.37 ns 0.0420 712 B

core-ubuntu-24.04_net8.0_graalvm_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 263.69 ns 1.144 ns 1.014 ns 0.0047 80 B
PredicateSustained False False True 262.35 ns 1.418 ns 1.184 ns 0.0047 80 B
PredicateSustained False True False 368.11 ns 1.927 ns 1.708 ns 0.0100 176 B
PredicateSustained False True True 2,179.37 ns 4.713 ns 4.408 ns 0.0433 768 B
PredicateSustained True False False 31.52 ns 0.132 ns 0.117 ns - -
PredicateSustained True False True 31.63 ns 0.244 ns 0.203 ns - -
PredicateSustained True True False 123.61 ns 2.002 ns 1.872 ns 0.0056 96 B
PredicateSustained True True True 1,803.34 ns 8.691 ns 8.129 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 604.0 ns 5.62 ns 4.98 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,431.3 ns 41.47 ns 36.76 ns 10.65 0.10 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,319.8 ns 6.99 ns 6.20 ns 2.19 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,302.8 ns 6.56 ns 6.14 ns 2.16 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,543.3 ns 66.48 ns 62.18 ns 14.14 0.15 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 608.6 ns 6.99 ns 6.53 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 480,774.7 ns 4,264.69 ns 3,989.20 ns 790.04 10.42 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,750.5 ns 6.24 ns 5.21 ns 2.88 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,770.0 ns 9.19 ns 8.14 ns 2.91 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 692,187.8 ns 2,792.90 ns 2,475.83 ns 1,137.45 12.53 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 605.3 ns 4.70 ns 4.39 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,632,502.0 ns 436,754.90 ns 408,540.80 ns 98,523.10 951.81 1111.1111 1000.0000 333.3333 16001583 B 46,516.23
InvokeIntArrayFixed 100000 39,586.0 ns 346.67 ns 324.28 ns 65.40 0.69 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 39,778.7 ns 400.16 ns 354.73 ns 65.72 0.73 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,389,807.1 ns 734,792.94 ns 613,585.38 ns 142,730.75 1,399.70 1833.3333 1666.6667 833.3333 27897612 B 81,097.71

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.204 μs 0.0073 μs 0.0069 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.205 μs 0.0053 μs 0.0049 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.210 μs 0.0077 μs 0.0068 μs 1.01 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 87.95 ns 0.949 ns 0.792 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 111.74 ns 0.962 ns 0.751 ns 1.27 0.01 0.0014 24 B 1.00
GetInstanceStringField 95.18 ns 1.022 ns 0.956 ns 1.08 0.01 - - 0.00
SetInstanceStringField 609.45 ns 3.384 ns 3.165 ns 6.93 0.07 0.0172 288 B 12.00
GetStaticIntField 101.14 ns 0.427 ns 0.379 ns 1.15 0.01 0.0014 24 B 1.00
SetStaticIntField 115.84 ns 0.891 ns 0.789 ns 1.32 0.01 0.0014 24 B 1.00
GetStaticStringField 89.07 ns 0.630 ns 0.590 ns 1.01 0.01 - - 0.00
SetStaticStringField 590.82 ns 4.780 ns 4.238 ns 6.72 0.07 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 116.93 ns 1.265 ns 1.184 ns 1.33 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 290.0 ns 4.02 ns 3.76 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 269.5 ns 2.51 ns 2.35 ns 0.93 0.01 - - NA
InvokeStaticWithFeedback 602.9 ns 4.31 ns 4.03 ns 2.08 0.03 0.0200 344 B NA
InvokeInstanceEmpty 302.6 ns 4.34 ns 4.06 ns 1.04 0.02 - - NA
InvokeInstanceWithFeedback 607.0 ns 5.33 ns 4.99 ns 2.09 0.03 0.0200 344 B NA

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.456 μs 0.0056 μs 0.0052 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,201.6 ns 11.42 ns 10.68 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 651.9 ns 7.76 ns 7.26 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 63,658.3 ns 712.25 ns 666.24 ns 1.00 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 652.2 ns 5.52 ns 4.90 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,109,448.9 ns 157,285.17 ns 204,515.17 ns 1.001 0.03 78.1250 78.1250 78.1250 2400521 B 1.000
InvokeSingleStringPreallocated 100000 712.2 ns 7.22 ns 6.75 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,038.4 ns 11.38 ns 10.64 ns 0.0057 104 B
PredicateRoundTrip False False True 1,035.7 ns 13.36 ns 12.50 ns 0.0057 104 B
PredicateRoundTrip False True False 1,276.2 ns 3.92 ns 3.06 ns 0.0114 200 B
PredicateRoundTrip False True True 4,655.4 ns 23.55 ns 22.03 ns 0.0458 792 B
PredicateRoundTrip True False False 451.2 ns 3.58 ns 2.99 ns 0.0014 24 B
PredicateRoundTrip True False True 452.9 ns 2.71 ns 2.40 ns 0.0014 24 B
PredicateRoundTrip True True False 661.4 ns 3.08 ns 2.73 ns 0.0067 120 B
PredicateRoundTrip True True True 4,082.6 ns 23.52 ns 22.00 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_graalvm_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 543.31 ns 2.600 ns 2.171 ns 0.0040 80 B
PredicateSustained False False True 536.95 ns 4.617 ns 4.319 ns 0.0040 80 B
PredicateSustained False True False 721.52 ns 4.317 ns 4.038 ns 0.0100 176 B
PredicateSustained False True True 4,117.95 ns 54.274 ns 48.112 ns 0.0400 768 B
PredicateSustained True False False 44.61 ns 0.437 ns 0.341 ns - -
PredicateSustained True False True 40.72 ns 0.394 ns 0.368 ns - -
PredicateSustained True True False 195.03 ns 1.592 ns 1.489 ns 0.0056 96 B
PredicateSustained True True True 3,357.77 ns 17.619 ns 15.619 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 595.2 ns 3.78 ns 3.54 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 7,226.1 ns 23.76 ns 22.22 ns 12.14 0.08 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,356.9 ns 3.49 ns 3.10 ns 2.28 0.01 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,387.8 ns 9.50 ns 8.42 ns 2.33 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 9,053.5 ns 25.53 ns 23.89 ns 15.21 0.10 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 594.2 ns 5.37 ns 5.02 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 515,843.0 ns 2,402.57 ns 2,129.82 ns 868.21 7.88 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,027.2 ns 8.26 ns 7.32 ns 3.41 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,026.0 ns 8.79 ns 8.22 ns 3.41 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 750,954.2 ns 3,248.58 ns 3,038.72 ns 1,263.92 11.43 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 594.9 ns 5.38 ns 5.04 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 62,554,187.2 ns 685,467.44 ns 607,649.04 ns 105,159.83 1,310.94 1000.0000 875.0000 250.0000 16000979 B 46,514.47
InvokeIntArrayFixed 100000 66,920.5 ns 249.89 ns 233.74 ns 112.50 1.00 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 66,783.8 ns 505.26 ns 472.62 ns 112.27 1.20 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,496,451.9 ns 1,075,321.68 ns 1,005,856.57 ns 145,409.16 2,025.97 1666.6667 1500.0000 666.6667 27893949 B 81,087.06

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.238 μs 0.0043 μs 0.0040 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.236 μs 0.0063 μs 0.0059 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.257 μs 0.0045 μs 0.0040 μs 1.02 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 95.41 ns 0.674 ns 0.631 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 115.41 ns 0.928 ns 0.868 ns 1.21 0.01 0.0014 24 B 1.00
GetInstanceStringField 96.81 ns 1.097 ns 1.026 ns 1.01 0.01 - - 0.00
SetInstanceStringField 694.33 ns 1.969 ns 1.745 ns 7.28 0.05 0.0172 288 B 12.00
GetStaticIntField 101.52 ns 0.697 ns 0.652 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 118.20 ns 1.415 ns 1.323 ns 1.24 0.02 0.0014 24 B 1.00
GetStaticStringField 95.19 ns 0.629 ns 0.589 ns 1.00 0.01 - - 0.00
SetStaticStringField 693.91 ns 2.537 ns 2.373 ns 7.27 0.05 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 124.65 ns 1.080 ns 0.902 ns 1.31 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 368.7 ns 4.09 ns 3.83 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 328.1 ns 2.13 ns 1.99 ns 0.89 0.01 - - NA
InvokeStaticWithFeedback 582.5 ns 5.73 ns 5.36 ns 1.58 0.02 0.0200 344 B NA
InvokeInstanceEmpty 365.1 ns 4.37 ns 4.08 ns 0.99 0.01 - - NA
InvokeInstanceWithFeedback 603.1 ns 4.05 ns 3.78 ns 1.64 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.512 μs 0.0088 μs 0.0078 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,139.0 ns 9.70 ns 9.07 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 638.7 ns 8.20 ns 7.67 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 68,472.2 ns 736.28 ns 688.72 ns 1.000 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 634.0 ns 7.34 ns 6.86 ns 0.009 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,501,550.2 ns 146,783.09 ns 137,300.99 ns 1.000 0.02 78.1250 78.1250 78.1250 2400625 B 1.000
InvokeSingleStringPreallocated 100000 719.4 ns 5.33 ns 4.98 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,118.6 ns 17.63 ns 16.49 ns 0.0057 104 B
PredicateRoundTrip False False True 1,075.0 ns 15.33 ns 14.34 ns 0.0057 104 B
PredicateRoundTrip False True False 1,359.5 ns 9.17 ns 8.13 ns 0.0114 200 B
PredicateRoundTrip False True True 4,976.4 ns 21.88 ns 18.27 ns 0.0458 792 B
PredicateRoundTrip True False False 432.3 ns 5.04 ns 4.71 ns 0.0014 24 B
PredicateRoundTrip True False True 423.8 ns 4.13 ns 3.86 ns 0.0014 24 B
PredicateRoundTrip True True False 661.4 ns 3.27 ns 3.06 ns 0.0067 120 B
PredicateRoundTrip True True True 4,155.7 ns 24.72 ns 20.64 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_microsoft_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 585.01 ns 5.325 ns 4.721 ns 0.0044 80 B
PredicateSustained False False True 581.63 ns 6.178 ns 5.779 ns 0.0044 80 B
PredicateSustained False True False 811.84 ns 3.980 ns 3.723 ns 0.0100 176 B
PredicateSustained False True True 4,337.54 ns 20.621 ns 18.280 ns 0.0400 768 B
PredicateSustained True False False 38.52 ns 0.416 ns 0.389 ns - -
PredicateSustained True False True 38.41 ns 0.230 ns 0.216 ns - -
PredicateSustained True True False 196.92 ns 1.277 ns 1.132 ns 0.0056 96 B
PredicateSustained True True True 3,548.77 ns 24.560 ns 21.772 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 581.2 ns 7.57 ns 7.08 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,406.9 ns 25.23 ns 21.07 ns 11.02 0.13 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,307.1 ns 9.90 ns 8.78 ns 2.25 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,295.8 ns 7.25 ns 6.43 ns 2.23 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,793.9 ns 47.95 ns 42.51 ns 15.13 0.19 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 597.6 ns 5.25 ns 4.65 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 492,164.9 ns 2,346.25 ns 2,079.89 ns 823.67 7.05 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,955.1 ns 11.66 ns 9.74 ns 3.27 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,981.3 ns 15.65 ns 14.64 ns 3.32 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 689,850.4 ns 1,384.15 ns 1,294.74 ns 1,154.51 8.94 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 594.9 ns 4.30 ns 4.02 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,236,907.8 ns 466,286.81 ns 436,164.97 ns 101,261.40 972.15 1111.1111 1000.0000 333.3333 16001657 B 46,516.44
InvokeIntArrayFixed 100000 66,407.7 ns 342.00 ns 319.91 ns 111.63 0.90 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 66,592.8 ns 330.43 ns 309.09 ns 111.95 0.89 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,786,359.1 ns 599,503.77 ns 500,612.80 ns 145,892.42 1,254.31 2142.8571 2000.0000 1000.0000 27896486 B 81,094.44

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.233 μs 0.0103 μs 0.0097 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.215 μs 0.0060 μs 0.0056 μs 0.99 0.0210 360 B 1.00
DeclaredNewEmpty 1.246 μs 0.0092 μs 0.0076 μs 1.01 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 96.81 ns 0.590 ns 0.552 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 121.07 ns 1.088 ns 1.018 ns 1.25 0.01 0.0014 24 B 1.00
GetInstanceStringField 95.40 ns 0.485 ns 0.430 ns 0.99 0.01 - - 0.00
SetInstanceStringField 675.76 ns 3.451 ns 3.059 ns 6.98 0.05 0.0172 288 B 12.00
GetStaticIntField 102.56 ns 0.702 ns 0.586 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 118.60 ns 1.175 ns 1.099 ns 1.23 0.01 0.0014 24 B 1.00
GetStaticStringField 93.47 ns 0.649 ns 0.607 ns 0.97 0.01 - - 0.00
SetStaticStringField 713.92 ns 2.283 ns 2.024 ns 7.37 0.05 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 132.31 ns 1.740 ns 1.628 ns 1.37 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 293.2 ns 3.34 ns 3.12 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 252.0 ns 2.15 ns 2.01 ns 0.86 0.01 - - NA
InvokeStaticWithFeedback 588.5 ns 5.76 ns 5.10 ns 2.01 0.03 0.0200 344 B NA
InvokeInstanceEmpty 302.8 ns 3.93 ns 3.67 ns 1.03 0.02 - - NA
InvokeInstanceWithFeedback 598.0 ns 5.97 ns 5.58 ns 2.04 0.03 0.0200 344 B NA

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.458 μs 0.0058 μs 0.0051 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,097.5 ns 12.93 ns 11.46 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 630.4 ns 7.25 ns 6.43 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 56,464.5 ns 776.68 ns 726.51 ns 1.00 0.02 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 715.0 ns 7.34 ns 6.86 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,104,809.8 ns 125,414.92 ns 117,313.19 ns 1.000 0.02 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 675.0 ns 7.03 ns 6.58 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,066.4 ns 8.04 ns 7.52 ns 0.0057 104 B
PredicateRoundTrip False False True 1,043.7 ns 11.56 ns 10.25 ns 0.0057 104 B
PredicateRoundTrip False True False 1,312.9 ns 4.33 ns 3.84 ns 0.0114 200 B
PredicateRoundTrip False True True 4,612.1 ns 16.82 ns 14.91 ns 0.0458 792 B
PredicateRoundTrip True False False 434.9 ns 5.57 ns 5.21 ns 0.0014 24 B
PredicateRoundTrip True False True 423.5 ns 4.85 ns 4.53 ns 0.0014 24 B
PredicateRoundTrip True True False 638.2 ns 2.55 ns 2.26 ns 0.0067 120 B
PredicateRoundTrip True True True 3,960.3 ns 20.53 ns 16.03 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_microsoft_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.63GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 535.08 ns 5.438 ns 4.820 ns 0.0040 80 B
PredicateSustained False False True 533.94 ns 5.679 ns 5.312 ns 0.0040 80 B
PredicateSustained False True False 730.14 ns 4.596 ns 3.588 ns 0.0100 176 B
PredicateSustained False True True 4,189.93 ns 33.341 ns 31.187 ns 0.0400 768 B
PredicateSustained True False False 38.10 ns 0.276 ns 0.258 ns - -
PredicateSustained True False True 37.63 ns 0.184 ns 0.163 ns - -
PredicateSustained True True False 188.43 ns 0.957 ns 0.849 ns 0.0056 96 B
PredicateSustained True True True 3,501.25 ns 26.731 ns 25.004 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 556.9 ns 6.72 ns 5.95 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,341.3 ns 47.71 ns 42.30 ns 11.39 0.14 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,194.2 ns 4.96 ns 4.64 ns 2.14 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,196.5 ns 7.81 ns 6.92 ns 2.15 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,102.8 ns 29.06 ns 24.27 ns 14.55 0.16 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 568.8 ns 4.39 ns 4.11 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 466,171.0 ns 3,298.17 ns 3,085.11 ns 819.58 7.78 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,854.8 ns 7.13 ns 6.67 ns 3.26 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,902.8 ns 11.67 ns 10.92 ns 3.35 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 688,889.4 ns 5,622.67 ns 4,984.35 ns 1,211.14 11.98 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 558.0 ns 5.85 ns 5.47 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 57,620,044.8 ns 552,732.76 ns 489,983.19 ns 103,262.73 1,302.80 1111.1111 1000.0000 333.3333 16002036 B 46,517.55
InvokeIntArrayFixed 100000 65,258.9 ns 272.11 ns 241.22 ns 116.95 1.20 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 65,532.0 ns 311.03 ns 275.72 ns 117.44 1.22 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 83,710,077.1 ns 770,351.60 ns 720,587.37 ns 150,019.51 1,904.38 1833.3333 1666.6667 833.3333 27897845 B 81,098.39

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.132 μs 0.0078 μs 0.0073 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.130 μs 0.0072 μs 0.0064 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.133 μs 0.0078 μs 0.0073 μs 1.00 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 86.30 ns 0.732 ns 0.684 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 110.81 ns 0.632 ns 0.591 ns 1.28 0.01 0.0014 24 B 1.00
GetInstanceStringField 88.49 ns 0.811 ns 0.719 ns 1.03 0.01 - - 0.00
SetInstanceStringField 622.95 ns 5.552 ns 5.193 ns 7.22 0.08 0.0172 288 B 12.00
GetStaticIntField 92.97 ns 0.954 ns 0.893 ns 1.08 0.01 0.0014 24 B 1.00
SetStaticIntField 111.25 ns 0.690 ns 0.645 ns 1.29 0.01 0.0014 24 B 1.00
GetStaticStringField 93.68 ns 1.076 ns 1.007 ns 1.09 0.01 - - 0.00
SetStaticStringField 623.86 ns 5.824 ns 4.863 ns 7.23 0.08 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 132.08 ns 1.746 ns 1.634 ns 1.53 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 297.1 ns 1.89 ns 1.77 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 260.8 ns 3.41 ns 3.19 ns 0.88 0.01 - - NA
InvokeStaticWithFeedback 535.6 ns 4.91 ns 4.60 ns 1.80 0.02 0.0200 344 B NA
InvokeInstanceEmpty 317.6 ns 2.56 ns 2.27 ns 1.07 0.01 - - NA
InvokeInstanceWithFeedback 569.0 ns 7.26 ns 6.79 ns 1.92 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.368 μs 0.0070 μs 0.0066 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,059.1 ns 15.89 ns 14.87 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 594.2 ns 7.47 ns 6.99 ns 0.29 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 57,954.6 ns 439.24 ns 410.86 ns 1.00 0.01 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 600.8 ns 6.87 ns 6.42 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,248,854.6 ns 142,590.03 ns 221,995.51 ns 1.001 0.04 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 674.5 ns 8.50 ns 7.95 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 976.5 ns 9.04 ns 8.46 ns 0.0057 104 B
PredicateRoundTrip False False True 974.8 ns 13.64 ns 12.09 ns 0.0057 104 B
PredicateRoundTrip False True False 1,196.6 ns 7.01 ns 6.55 ns 0.0114 200 B
PredicateRoundTrip False True True 4,448.0 ns 22.93 ns 20.33 ns 0.0458 792 B
PredicateRoundTrip True False False 419.5 ns 4.12 ns 3.86 ns 0.0014 24 B
PredicateRoundTrip True False True 422.8 ns 2.63 ns 2.33 ns 0.0014 24 B
PredicateRoundTrip True True False 612.8 ns 2.57 ns 2.28 ns 0.0067 120 B
PredicateRoundTrip True True True 3,734.1 ns 20.75 ns 19.41 ns 0.0420 712 B

core-ubuntu-24.04_net8.0_microsoft_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 520.17 ns 4.746 ns 4.439 ns 0.0040 80 B
PredicateSustained False False True 528.36 ns 3.916 ns 3.663 ns 0.0040 80 B
PredicateSustained False True False 689.29 ns 3.345 ns 2.794 ns 0.0100 176 B
PredicateSustained False True True 3,792.96 ns 30.287 ns 26.849 ns 0.0400 768 B
PredicateSustained True False False 37.20 ns 0.163 ns 0.145 ns - -
PredicateSustained True False True 37.92 ns 0.296 ns 0.277 ns - -
PredicateSustained True True False 195.05 ns 0.691 ns 0.613 ns 0.0056 96 B
PredicateSustained True True True 3,199.06 ns 11.562 ns 10.815 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 420.5 ns 2.85 ns 2.67 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 10 5,438.7 ns 26.42 ns 24.72 ns 12.93 0.10 0.0229 - - 2048 B 5.95
InvokeIntArrayFixed 10 855.8 ns 2.95 ns 2.61 ns 2.04 0.01 0.0048 - - 448 B 1.30
InvokeVarArgsWholeArray 10 853.0 ns 4.67 ns 4.37 ns 2.03 0.02 0.0048 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 7,073.8 ns 32.42 ns 30.33 ns 16.82 0.12 0.0381 - - 3520 B 10.23
InvokeIntParam 1000 419.0 ns 3.40 ns 3.02 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 1000 441,871.3 ns 1,715.26 ns 1,604.46 ns 1,054.63 8.21 1.4648 0.4883 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,615.8 ns 8.45 ns 7.90 ns 3.86 0.03 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,615.7 ns 6.03 ns 5.64 ns 3.86 0.03 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 578,972.2 ns 3,403.61 ns 3,183.74 ns 1,381.85 12.10 2.9297 0.9766 - 265888 B 772.93
InvokeIntParam 100000 418.0 ns 3.32 ns 3.11 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 100000 47,156,681.8 ns 298,231.89 ns 264,374.80 ns 112,833.53 1,013.18 272.7273 181.8182 181.8182 16001729 B 46,516.65
InvokeIntArrayFixed 100000 71,688.2 ns 383.92 ns 359.11 ns 171.53 1.48 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 71,408.9 ns 486.57 ns 455.14 ns 170.86 1.62 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 66,597,212.6 ns 1,300,151.02 ns 1,335,159.38 ns 159,349.60 3,308.41 1000.0000 875.0000 875.0000 27894534 B 81,088.76

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1,128.4 ns 6.92 ns 6.47 ns 1.00 0.0038 360 B 1.00
NewWithSignature 925.6 ns 4.49 ns 3.75 ns 0.82 0.0038 360 B 1.00
DeclaredNewEmpty 1,058.3 ns 7.46 ns 6.98 ns 0.94 0.0038 360 B 1.00

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 74.45 ns 0.434 ns 0.406 ns 1.00 0.01 0.0002 24 B 1.00
SetInstanceIntField 86.47 ns 0.506 ns 0.473 ns 1.16 0.01 0.0002 24 B 1.00
GetInstanceStringField 73.30 ns 0.375 ns 0.350 ns 0.98 0.01 - - 0.00
SetInstanceStringField 536.99 ns 3.399 ns 3.179 ns 7.21 0.06 0.0029 288 B 12.00
GetStaticIntField 84.52 ns 0.517 ns 0.483 ns 1.14 0.01 0.0002 24 B 1.00
SetStaticIntField 93.44 ns 0.708 ns 0.662 ns 1.26 0.01 0.0002 24 B 1.00
GetStaticStringField 74.35 ns 0.358 ns 0.335 ns 1.00 0.01 - - 0.00
SetStaticStringField 531.03 ns 3.188 ns 2.826 ns 7.13 0.05 0.0029 288 B 12.00
GetInstanceIntFieldGeneric 93.67 ns 0.582 ns 0.545 ns 1.26 0.01 0.0002 24 B 1.00

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 211.0 ns 1.58 ns 1.48 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 191.7 ns 1.18 ns 1.11 ns 0.91 0.01 - - NA
InvokeStaticWithFeedback 424.2 ns 2.63 ns 2.46 ns 2.01 0.02 0.0038 344 B NA
InvokeInstanceEmpty 218.5 ns 0.92 ns 0.86 ns 1.04 0.01 - - NA
InvokeInstanceWithFeedback 435.7 ns 2.51 ns 2.35 ns 2.06 0.02 0.0038 344 B NA

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.023 μs 0.0075 μs 0.0067 μs 1.00 0.0076 712 B 1.00

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,547.0 ns 7.38 ns 6.90 ns 1.00 0.01 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 449.5 ns 5.35 ns 5.00 ns 0.29 0.00 0.0038 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 51,208.1 ns 163.09 ns 152.55 ns 1.000 0.00 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 436.9 ns 3.87 ns 3.62 ns 0.009 0.00 0.0038 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 5,817,192.3 ns 113,957.04 ns 214,038.97 ns 1.001 0.05 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 492.2 ns 6.14 ns 5.74 ns 0.000 0.00 0.0038 - - 320 B 0.000

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 719.3 ns 6.55 ns 6.13 ns 0.0010 104 B
PredicateRoundTrip False False True 720.3 ns 6.15 ns 5.75 ns 0.0010 104 B
PredicateRoundTrip False True False 897.8 ns 6.23 ns 5.82 ns 0.0019 200 B
PredicateRoundTrip False True True 3,270.0 ns 26.16 ns 23.19 ns 0.0076 792 B
PredicateRoundTrip True False False 315.6 ns 1.63 ns 1.44 ns - 24 B
PredicateRoundTrip True False True 288.2 ns 2.10 ns 1.86 ns - 24 B
PredicateRoundTrip True True False 475.5 ns 3.81 ns 3.38 ns 0.0010 120 B
PredicateRoundTrip True True True 2,748.3 ns 28.09 ns 26.27 ns 0.0076 712 B

core-ubuntu-24.04_net8.0_microsoft_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 414.92 ns 2.249 ns 1.878 ns 0.0008 80 B
PredicateSustained False False True 418.18 ns 4.522 ns 4.230 ns 0.0008 80 B
PredicateSustained False True False 638.41 ns 6.800 ns 6.360 ns 0.0013 176 B
PredicateSustained False True True 2,881.55 ns 25.858 ns 24.187 ns 0.0050 768 B
PredicateSustained True False False 44.98 ns 0.889 ns 1.461 ns - -
PredicateSustained True False True 45.45 ns 0.905 ns 1.537 ns - -
PredicateSustained True True False 176.76 ns 1.249 ns 1.169 ns 0.0009 96 B
PredicateSustained True True True 2,532.48 ns 16.241 ns 13.562 ns 0.0050 688 B

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 588.5 ns 5.51 ns 5.15 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,626.6 ns 29.43 ns 27.52 ns 11.26 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,303.6 ns 4.99 ns 4.67 ns 2.22 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,305.5 ns 5.21 ns 4.87 ns 2.22 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,885.6 ns 56.61 ns 52.95 ns 15.10 0.16 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 593.0 ns 3.75 ns 3.51 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 500,527.8 ns 2,722.76 ns 2,273.62 ns 844.04 6.07 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,994.0 ns 9.91 ns 8.79 ns 3.36 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,973.1 ns 12.99 ns 12.15 ns 3.33 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 704,083.9 ns 4,660.89 ns 4,359.80 ns 1,187.30 9.83 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 587.4 ns 6.13 ns 5.74 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 61,251,781.5 ns 391,200.68 ns 365,929.36 ns 104,279.45 1,162.42 1111.1111 1000.0000 333.3333 16002507 B 46,518.92
InvokeIntArrayFixed 100000 66,128.4 ns 473.54 ns 419.78 ns 112.58 1.28 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 65,955.3 ns 204.31 ns 170.61 ns 112.29 1.11 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 88,042,311.6 ns 778,057.32 ns 727,795.30 ns 149,889.57 1,865.29 1833.3333 1666.6667 833.3333 27896835 B 81,095.45

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.217 μs 0.0027 μs 0.0024 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.207 μs 0.0047 μs 0.0039 μs 0.99 0.0210 360 B 1.00
DeclaredNewEmpty 1.248 μs 0.0035 μs 0.0033 μs 1.03 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 92.96 ns 0.698 ns 0.619 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 118.92 ns 1.399 ns 1.309 ns 1.28 0.02 0.0014 24 B 1.00
GetInstanceStringField 94.41 ns 0.814 ns 0.761 ns 1.02 0.01 - - 0.00
SetInstanceStringField 697.27 ns 6.314 ns 5.906 ns 7.50 0.08 0.0172 288 B 12.00
GetStaticIntField 100.88 ns 0.900 ns 0.842 ns 1.09 0.01 0.0014 24 B 1.00
SetStaticIntField 116.96 ns 1.186 ns 1.109 ns 1.26 0.01 0.0014 24 B 1.00
GetStaticStringField 90.95 ns 0.813 ns 0.761 ns 0.98 0.01 - - 0.00
SetStaticStringField 715.08 ns 3.343 ns 3.127 ns 7.69 0.06 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 136.20 ns 0.904 ns 0.846 ns 1.47 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 300.3 ns 4.39 ns 4.11 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 272.1 ns 1.80 ns 1.69 ns 0.91 0.01 - - NA
InvokeStaticWithFeedback 590.2 ns 4.40 ns 3.90 ns 1.97 0.03 0.0200 344 B NA
InvokeInstanceEmpty 299.4 ns 3.66 ns 3.06 ns 1.00 0.02 - - NA
InvokeInstanceWithFeedback 597.0 ns 7.52 ns 6.67 ns 1.99 0.03 0.0200 344 B NA

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.506 μs 0.0086 μs 0.0077 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,036.6 ns 8.21 ns 6.86 ns 1.00 0.00 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 644.4 ns 6.53 ns 6.11 ns 0.32 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 57,691.8 ns 441.19 ns 412.69 ns 1.00 0.01 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 631.7 ns 6.66 ns 5.91 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,994,540.7 ns 132,522.94 ns 123,962.04 ns 1.000 0.02 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 726.5 ns 6.54 ns 5.80 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,140.9 ns 11.78 ns 11.02 ns 0.0057 104 B
PredicateRoundTrip False False True 1,102.8 ns 14.47 ns 13.54 ns 0.0057 104 B
PredicateRoundTrip False True False 1,382.7 ns 5.27 ns 4.93 ns 0.0114 200 B
PredicateRoundTrip False True True 4,793.3 ns 19.29 ns 18.04 ns 0.0458 792 B
PredicateRoundTrip True False False 433.0 ns 4.38 ns 4.10 ns 0.0014 24 B
PredicateRoundTrip True False True 439.9 ns 4.64 ns 4.12 ns 0.0014 24 B
PredicateRoundTrip True True False 652.9 ns 2.64 ns 2.34 ns 0.0067 120 B
PredicateRoundTrip True True True 3,925.8 ns 18.05 ns 16.00 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_oracle_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 597.59 ns 7.377 ns 6.901 ns 0.0044 80 B
PredicateSustained False False True 572.06 ns 5.274 ns 4.404 ns 0.0044 80 B
PredicateSustained False True False 847.88 ns 6.783 ns 6.345 ns 0.0100 176 B
PredicateSustained False True True 4,168.17 ns 39.048 ns 34.615 ns 0.0400 768 B
PredicateSustained True False False 37.00 ns 0.327 ns 0.290 ns - -
PredicateSustained True False True 38.23 ns 0.288 ns 0.269 ns - -
PredicateSustained True True False 192.42 ns 1.793 ns 1.677 ns 0.0056 96 B
PredicateSustained True True True 3,436.47 ns 24.964 ns 23.352 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 431.1 ns 2.58 ns 2.29 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 10 5,130.7 ns 29.32 ns 24.48 ns 11.90 0.08 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 950.3 ns 5.50 ns 5.15 ns 2.20 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,001.6 ns 8.68 ns 7.25 ns 2.32 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 6,627.9 ns 60.23 ns 56.34 ns 15.37 0.15 0.2060 - - 3520 B 10.23
InvokeIntParam 1000 418.4 ns 1.61 ns 1.51 ns 1.00 0.00 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 1000 385,060.4 ns 1,401.59 ns 1,170.39 ns 920.39 4.19 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,571.9 ns 6.23 ns 5.83 ns 3.76 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,578.3 ns 4.06 ns 3.80 ns 3.77 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 538,649.2 ns 3,736.41 ns 3,495.04 ns 1,287.50 9.25 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 423.5 ns 2.35 ns 2.08 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 100000 45,586,725.3 ns 555,175.41 ns 519,311.42 ns 107,641.40 1,292.60 1000.0000 909.0909 272.7273 16001458 B 46,515.87
InvokeIntArrayFixed 100000 51,028.9 ns 92.32 ns 81.84 ns 120.49 0.60 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 50,845.1 ns 106.64 ns 83.26 ns 120.06 0.60 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 68,030,389.1 ns 1,347,554.87 ns 1,260,503.66 ns 160,636.38 2,981.35 2000.0000 1875.0000 875.0000 27895758 B 81,092.32

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 901.1 ns 5.50 ns 5.15 ns 1.00 0.0210 360 B 1.00
NewWithSignature 919.8 ns 5.09 ns 4.51 ns 1.02 0.0210 360 B 1.00
DeclaredNewEmpty 904.6 ns 5.99 ns 5.31 ns 1.00 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 77.01 ns 0.471 ns 0.441 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 92.44 ns 0.630 ns 0.559 ns 1.20 0.01 0.0014 24 B 1.00
GetInstanceStringField 80.67 ns 0.655 ns 0.612 ns 1.05 0.01 - - 0.00
SetInstanceStringField 478.08 ns 2.105 ns 1.866 ns 6.21 0.04 0.0172 288 B 12.00
GetStaticIntField 84.64 ns 0.370 ns 0.328 ns 1.10 0.01 0.0014 24 B 1.00
SetStaticIntField 91.35 ns 0.610 ns 0.571 ns 1.19 0.01 0.0014 24 B 1.00
GetStaticStringField 80.72 ns 0.589 ns 0.522 ns 1.05 0.01 - - 0.00
SetStaticStringField 479.20 ns 3.422 ns 3.201 ns 6.22 0.05 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 109.17 ns 0.440 ns 0.411 ns 1.42 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 217.8 ns 0.93 ns 0.87 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 199.3 ns 0.96 ns 0.81 ns 0.92 0.01 - - NA
InvokeStaticWithFeedback 417.7 ns 4.04 ns 3.78 ns 1.92 0.02 0.0205 344 B NA
InvokeInstanceEmpty 241.0 ns 1.74 ns 1.54 ns 1.11 0.01 - - NA
InvokeInstanceWithFeedback 420.3 ns 2.38 ns 2.11 ns 1.93 0.01 0.0205 344 B NA

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.078 μs 0.0065 μs 0.0058 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,576.8 ns 11.41 ns 10.11 ns 1.00 0.0401 - - 688 B 1.00
InvokeSingleStringPreallocated 10 456.7 ns 3.02 ns 2.82 ns 0.29 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 46,286.9 ns 229.83 ns 214.99 ns 1.00 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 464.3 ns 2.35 ns 2.19 ns 0.01 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 6,655,563.7 ns 78,310.93 ns 65,393.17 ns 1.000 78.1250 78.1250 78.1250 2400946 B 1.000
InvokeSingleStringPreallocated 100000 513.8 ns 2.59 ns 2.16 ns 0.000 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 802.1 ns 4.58 ns 4.29 ns 0.0057 104 B
PredicateRoundTrip False False True 789.4 ns 4.97 ns 4.41 ns 0.0057 104 B
PredicateRoundTrip False True False 999.7 ns 5.02 ns 4.45 ns 0.0114 200 B
PredicateRoundTrip False True True 3,427.9 ns 6.29 ns 5.88 ns 0.0458 792 B
PredicateRoundTrip True False False 299.4 ns 1.93 ns 1.71 ns 0.0014 24 B
PredicateRoundTrip True False True 299.8 ns 2.21 ns 1.96 ns 0.0014 24 B
PredicateRoundTrip True True False 486.2 ns 2.66 ns 2.49 ns 0.0067 120 B
PredicateRoundTrip True True True 2,916.8 ns 12.05 ns 10.68 ns 0.0420 712 B

core-ubuntu-24.04_net8.0_oracle_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 388.74 ns 2.370 ns 2.101 ns 0.0046 80 B
PredicateSustained False False True 390.18 ns 2.155 ns 1.911 ns 0.0046 80 B
PredicateSustained False True False 522.78 ns 1.321 ns 1.235 ns 0.0100 176 B
PredicateSustained False True True 3,006.12 ns 29.079 ns 24.282 ns 0.0450 768 B
PredicateSustained True False False 31.30 ns 0.220 ns 0.206 ns - -
PredicateSustained True False True 31.66 ns 0.200 ns 0.187 ns - -
PredicateSustained True True False 143.93 ns 1.191 ns 1.056 ns 0.0056 96 B
PredicateSustained True True True 2,506.92 ns 13.883 ns 12.307 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 574.1 ns 4.46 ns 4.17 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,400.8 ns 35.77 ns 33.46 ns 11.15 0.10 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,275.2 ns 11.51 ns 10.77 ns 2.22 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,238.5 ns 6.83 ns 6.39 ns 2.16 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,490.9 ns 67.93 ns 63.54 ns 14.79 0.15 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 562.5 ns 2.77 ns 2.59 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 488,048.7 ns 2,228.62 ns 1,975.61 ns 867.72 5.16 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 2,014.7 ns 6.54 ns 5.47 ns 3.58 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 2,067.8 ns 5.51 ns 5.15 ns 3.68 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 694,928.9 ns 3,886.73 ns 3,635.65 ns 1,235.54 8.35 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 549.2 ns 3.34 ns 2.96 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 59,616,937.4 ns 611,591.32 ns 542,159.77 ns 108,547.95 1,108.38 1111.1111 1000.0000 333.3333 16002195 B 46,518.01
InvokeIntArrayFixed 100000 63,750.7 ns 227.30 ns 212.62 ns 116.07 0.71 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 63,565.6 ns 256.54 ns 227.41 ns 115.74 0.72 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,862,859.8 ns 967,092.42 ns 857,302.24 ns 156,335.39 1,713.43 1833.3333 1666.6667 833.3333 27896423 B 81,094.25

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.154 μs 0.0052 μs 0.0049 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.167 μs 0.0055 μs 0.0052 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.169 μs 0.0065 μs 0.0061 μs 1.01 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 103.95 ns 0.852 ns 0.797 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 121.70 ns 1.003 ns 0.889 ns 1.17 0.01 0.0014 24 B 1.00
GetInstanceStringField 98.71 ns 0.783 ns 0.732 ns 0.95 0.01 - - 0.00
SetInstanceStringField 601.22 ns 4.177 ns 3.702 ns 5.78 0.05 0.0172 288 B 12.00
GetStaticIntField 101.14 ns 1.029 ns 0.962 ns 0.97 0.01 0.0014 24 B 1.00
SetStaticIntField 128.76 ns 0.848 ns 0.708 ns 1.24 0.01 0.0014 24 B 1.00
GetStaticStringField 95.22 ns 0.458 ns 0.406 ns 0.92 0.01 - - 0.00
SetStaticStringField 642.09 ns 1.854 ns 1.644 ns 6.18 0.05 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 132.03 ns 0.829 ns 0.776 ns 1.27 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 280.1 ns 1.63 ns 1.52 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 254.8 ns 1.34 ns 1.25 ns 0.91 0.01 - - NA
InvokeStaticWithFeedback 578.6 ns 3.22 ns 3.01 ns 2.07 0.02 0.0200 344 B NA
InvokeInstanceEmpty 284.1 ns 2.09 ns 1.85 ns 1.01 0.01 - - NA
InvokeInstanceWithFeedback 558.7 ns 2.37 ns 2.22 ns 1.99 0.01 0.0200 344 B NA

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.444 μs 0.0076 μs 0.0071 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,107.3 ns 12.55 ns 11.13 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 631.6 ns 4.07 ns 3.80 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 65,640.6 ns 371.98 ns 329.75 ns 1.000 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 627.5 ns 3.81 ns 3.56 ns 0.010 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,674,600.1 ns 125,552.68 ns 117,442.06 ns 1.000 0.02 78.1250 78.1250 78.1250 2400780 B 1.000
InvokeSingleStringPreallocated 100000 657.6 ns 2.52 ns 2.36 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,027.5 ns 9.04 ns 8.46 ns 0.0057 104 B
PredicateRoundTrip False False True 1,028.3 ns 8.96 ns 8.38 ns 0.0057 104 B
PredicateRoundTrip False True False 1,270.8 ns 5.51 ns 5.16 ns 0.0114 200 B
PredicateRoundTrip False True True 4,563.2 ns 23.35 ns 21.84 ns 0.0458 792 B
PredicateRoundTrip True False False 398.2 ns 3.15 ns 2.95 ns 0.0014 24 B
PredicateRoundTrip True False True 405.2 ns 4.47 ns 4.18 ns 0.0014 24 B
PredicateRoundTrip True True False 630.1 ns 2.68 ns 2.38 ns 0.0067 120 B
PredicateRoundTrip True True True 3,861.1 ns 21.51 ns 20.12 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_oracle_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 512.46 ns 3.158 ns 2.954 ns 0.0040 80 B
PredicateSustained False False True 517.08 ns 2.996 ns 2.802 ns 0.0040 80 B
PredicateSustained False True False 681.63 ns 4.020 ns 3.564 ns 0.0100 176 B
PredicateSustained False True True 3,971.40 ns 20.760 ns 18.403 ns 0.0400 768 B
PredicateSustained True False False 43.34 ns 0.373 ns 0.349 ns - -
PredicateSustained True False True 41.19 ns 0.452 ns 0.423 ns - -
PredicateSustained True True False 188.58 ns 1.527 ns 1.428 ns 0.0056 96 B
PredicateSustained True True True 3,327.20 ns 32.894 ns 30.769 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 326.2 ns 6.51 ns 6.96 ns 1.00 0.03 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 10 4,178.0 ns 64.20 ns 56.91 ns 12.81 0.31 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 816.1 ns 15.50 ns 15.22 ns 2.50 0.07 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 788.9 ns 9.13 ns 8.54 ns 2.42 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 5,413.4 ns 101.68 ns 99.86 ns 16.60 0.45 0.2060 - - 3520 B 10.23
InvokeIntParam 1000 351.5 ns 5.50 ns 4.88 ns 1.00 0.02 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 1000 328,765.3 ns 4,983.98 ns 4,161.85 ns 935.58 16.86 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,245.8 ns 18.81 ns 15.71 ns 3.55 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,263.3 ns 17.35 ns 15.38 ns 3.59 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 427,636.1 ns 4,310.37 ns 3,821.03 ns 1,216.94 19.26 15.6250 7.3242 - 265888 B 772.93
InvokeIntParam 100000 348.0 ns 3.32 ns 2.94 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 100000 39,927,920.6 ns 698,581.78 ns 653,453.83 ns 114,752.65 2,045.03 1076.9231 923.0769 307.6923 16001660 B 46,516.45
InvokeIntArrayFixed 100000 36,528.9 ns 299.12 ns 249.78 ns 104.98 1.10 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 36,965.6 ns 563.00 ns 499.08 ns 106.24 1.63 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 54,191,436.5 ns 756,086.00 ns 707,243.31 ns 155,745.93 2,342.09 1888.8889 1777.7778 777.7778 27894238 B 81,087.90

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 751.8 ns 13.69 ns 12.81 ns 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 757.2 ns 15.11 ns 14.14 ns 1.01 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 743.9 ns 9.90 ns 8.78 ns 0.99 0.02 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 54.32 ns 0.578 ns 0.483 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 73.03 ns 0.935 ns 0.781 ns 1.34 0.02 0.0014 24 B 1.00
GetInstanceStringField 59.94 ns 0.868 ns 0.812 ns 1.10 0.02 - - 0.00
SetInstanceStringField 452.20 ns 8.909 ns 13.605 ns 8.33 0.26 0.0172 288 B 12.00
GetStaticIntField 65.16 ns 0.518 ns 0.485 ns 1.20 0.01 0.0014 24 B 1.00
SetStaticIntField 74.01 ns 1.442 ns 1.661 ns 1.36 0.03 0.0014 24 B 1.00
GetStaticStringField 61.84 ns 0.553 ns 0.517 ns 1.14 0.01 - - 0.00
SetStaticStringField 427.51 ns 8.441 ns 15.646 ns 7.87 0.29 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 69.93 ns 0.577 ns 0.512 ns 1.29 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 194.5 ns 2.19 ns 1.83 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 179.2 ns 1.48 ns 1.24 ns 0.92 0.01 - - NA
InvokeStaticWithFeedback 309.2 ns 2.97 ns 2.32 ns 1.59 0.02 0.0205 344 B NA
InvokeInstanceEmpty 216.3 ns 2.16 ns 1.68 ns 1.11 0.01 - - NA
InvokeInstanceWithFeedback 339.4 ns 4.83 ns 4.28 ns 1.75 0.03 0.0205 344 B NA

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 929.0 ns 6.97 ns 6.18 ns 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,348.4 ns 8.13 ns 7.20 ns 1.00 0.01 0.0401 - - 688 B 1.00
InvokeSingleStringPreallocated 10 369.6 ns 3.71 ns 2.90 ns 0.27 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 38,236.6 ns 582.57 ns 486.48 ns 1.000 0.02 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 344.5 ns 5.81 ns 5.96 ns 0.009 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 5,600,476.5 ns 83,152.36 ns 77,780.77 ns 1.000 0.02 78.1250 78.1250 78.1250 2400956 B 1.000
InvokeSingleStringPreallocated 100000 381.0 ns 5.28 ns 4.41 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 647.7 ns 5.26 ns 4.67 ns 0.0057 104 B
PredicateRoundTrip False False True 654.5 ns 11.30 ns 12.56 ns 0.0057 104 B
PredicateRoundTrip False True False 808.1 ns 9.12 ns 7.61 ns 0.0114 200 B
PredicateRoundTrip False True True 2,982.5 ns 33.94 ns 30.09 ns 0.0458 792 B
PredicateRoundTrip True False False 213.8 ns 1.47 ns 1.23 ns 0.0014 24 B
PredicateRoundTrip True False True 221.7 ns 1.43 ns 1.27 ns 0.0014 24 B
PredicateRoundTrip True True False 361.7 ns 5.78 ns 5.12 ns 0.0072 120 B
PredicateRoundTrip True True True 2,491.1 ns 35.28 ns 31.28 ns 0.0420 712 B

core-ubuntu-24.04_net8.0_temurin_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 318.28 ns 6.329 ns 6.499 ns 0.0044 80 B
PredicateSustained False False True 330.56 ns 2.747 ns 2.294 ns 0.0044 80 B
PredicateSustained False True False 441.96 ns 3.900 ns 3.457 ns 0.0100 176 B
PredicateSustained False True True 2,614.44 ns 21.044 ns 19.684 ns 0.0450 768 B
PredicateSustained True False False 32.08 ns 0.234 ns 0.219 ns - -
PredicateSustained True False True 31.94 ns 0.268 ns 0.238 ns - -
PredicateSustained True True False 124.77 ns 0.959 ns 0.850 ns 0.0056 96 B
PredicateSustained True True True 2,136.71 ns 35.477 ns 29.625 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 420.1 ns 3.88 ns 3.44 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 10 5,377.2 ns 29.66 ns 26.29 ns 12.80 0.12 0.0229 - - 2048 B 5.95
InvokeIntArrayFixed 10 854.4 ns 4.99 ns 4.66 ns 2.03 0.02 0.0048 - - 448 B 1.30
InvokeVarArgsWholeArray 10 858.1 ns 5.81 ns 5.44 ns 2.04 0.02 0.0048 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 6,979.3 ns 37.32 ns 34.91 ns 16.62 0.15 0.0381 - - 3520 B 10.23
InvokeIntParam 1000 429.5 ns 3.84 ns 3.40 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 1000 433,101.6 ns 1,599.68 ns 1,418.07 ns 1,008.42 8.35 1.4648 0.4883 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,629.6 ns 17.70 ns 16.55 ns 3.79 0.05 0.0038 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,615.4 ns 11.87 ns 11.11 ns 3.76 0.04 0.0038 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 570,166.1 ns 3,250.41 ns 3,040.43 ns 1,327.56 12.26 2.9297 0.9766 - 265888 B 772.93
InvokeIntParam 100000 418.1 ns 3.41 ns 3.03 ns 1.00 0.01 0.0038 - - 344 B 1.00
InvokeStringArrayFixed 100000 46,328,048.5 ns 376,959.46 ns 334,164.75 ns 110,812.98 1,092.55 272.7273 181.8182 181.8182 16001839 B 46,516.97
InvokeIntArrayFixed 100000 71,541.5 ns 967.35 ns 904.86 ns 171.12 2.41 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 71,445.2 ns 721.36 ns 639.46 ns 170.89 1.90 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 65,830,190.7 ns 1,282,828.73 ns 1,755,950.59 ns 157,460.54 4,267.69 1000.0000 875.0000 875.0000 27894299 B 81,088.08

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1,031.3 ns 9.42 ns 8.82 ns 1.00 0.0038 360 B 1.00
NewWithSignature 890.2 ns 5.98 ns 4.99 ns 0.86 0.0038 360 B 1.00
DeclaredNewEmpty 1,019.8 ns 6.20 ns 5.18 ns 0.99 0.0038 360 B 1.00

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 72.43 ns 0.374 ns 0.350 ns 1.00 0.01 0.0002 24 B 1.00
SetInstanceIntField 84.10 ns 0.574 ns 0.537 ns 1.16 0.01 0.0002 24 B 1.00
GetInstanceStringField 76.33 ns 0.505 ns 0.473 ns 1.05 0.01 - - 0.00
SetInstanceStringField 531.49 ns 3.086 ns 2.735 ns 7.34 0.05 0.0029 288 B 12.00
GetStaticIntField 85.07 ns 0.460 ns 0.430 ns 1.17 0.01 0.0002 24 B 1.00
SetStaticIntField 85.57 ns 0.446 ns 0.418 ns 1.18 0.01 0.0002 24 B 1.00
GetStaticStringField 76.79 ns 0.457 ns 0.428 ns 1.06 0.01 - - 0.00
SetStaticStringField 528.47 ns 3.830 ns 3.198 ns 7.30 0.05 0.0029 288 B 12.00
GetInstanceIntFieldGeneric 99.39 ns 0.767 ns 0.717 ns 1.37 0.01 0.0002 24 B 1.00

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 211.6 ns 2.10 ns 1.86 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 191.2 ns 1.81 ns 1.70 ns 0.90 0.01 - - NA
InvokeStaticWithFeedback 415.1 ns 3.25 ns 3.04 ns 1.96 0.02 0.0038 344 B NA
InvokeInstanceEmpty 214.9 ns 2.56 ns 2.39 ns 1.02 0.01 - - NA
InvokeInstanceWithFeedback 412.2 ns 3.93 ns 3.68 ns 1.95 0.02 0.0038 344 B NA

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.083 μs 0.0120 μs 0.0112 μs 1.00 0.0076 712 B 1.00

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,450.3 ns 7.08 ns 6.62 ns 1.00 0.0076 - - 688 B 1.00
InvokeSingleStringPreallocated 10 432.6 ns 3.84 ns 3.40 ns 0.30 0.0038 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 48,840.0 ns 324.47 ns 287.63 ns 1.000 0.2441 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 426.4 ns 3.73 ns 3.48 ns 0.009 0.0038 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 5,387,854.0 ns 51,431.77 ns 48,109.31 ns 1.000 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 498.2 ns 6.28 ns 5.88 ns 0.000 0.0038 - - 320 B 0.000

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 737.9 ns 6.68 ns 6.24 ns 0.0010 104 B
PredicateRoundTrip False False True 760.6 ns 8.04 ns 7.52 ns 0.0010 104 B
PredicateRoundTrip False True False 889.8 ns 4.43 ns 4.14 ns 0.0019 200 B
PredicateRoundTrip False True True 3,141.9 ns 27.00 ns 25.26 ns 0.0076 792 B
PredicateRoundTrip True False False 283.3 ns 1.77 ns 1.66 ns - 24 B
PredicateRoundTrip True False True 286.5 ns 1.99 ns 1.86 ns - 24 B
PredicateRoundTrip True True False 457.5 ns 2.33 ns 2.18 ns 0.0014 120 B
PredicateRoundTrip True True True 2,725.0 ns 17.25 ns 16.13 ns 0.0076 712 B

core-ubuntu-24.04_net8.0_temurin_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 429.31 ns 2.279 ns 2.132 ns 0.0008 80 B
PredicateSustained False False True 435.57 ns 2.839 ns 2.656 ns 0.0008 80 B
PredicateSustained False True False 577.74 ns 4.084 ns 3.620 ns 0.0011 176 B
PredicateSustained False True True 2,821.91 ns 19.030 ns 17.801 ns 0.0050 768 B
PredicateSustained True False False 47.13 ns 0.268 ns 0.250 ns - -
PredicateSustained True False True 46.85 ns 0.906 ns 1.240 ns - -
PredicateSustained True True False 174.20 ns 1.811 ns 1.694 ns 0.0009 96 B
PredicateSustained True True True 2,413.56 ns 16.979 ns 15.882 ns 0.0067 688 B

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 579.8 ns 5.44 ns 5.09 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,274.8 ns 37.50 ns 33.24 ns 10.82 0.11 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,226.2 ns 8.26 ns 7.73 ns 2.12 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,200.5 ns 6.71 ns 6.28 ns 2.07 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,665.1 ns 71.34 ns 63.24 ns 14.95 0.17 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 578.1 ns 4.48 ns 4.19 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 479,245.8 ns 2,989.07 ns 2,649.73 ns 829.09 7.32 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,883.9 ns 9.03 ns 8.01 ns 3.26 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,886.3 ns 11.55 ns 10.80 ns 3.26 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 708,771.1 ns 3,370.84 ns 3,153.09 ns 1,226.17 10.11 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 590.0 ns 5.25 ns 4.91 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,091,304.2 ns 566,455.31 ns 529,862.65 ns 98,473.26 1,178.09 1111.1111 1000.0000 333.3333 16002871 B 46,519.97
InvokeIntArrayFixed 100000 65,654.4 ns 212.72 ns 188.57 ns 111.29 0.95 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 65,396.6 ns 250.68 ns 234.48 ns 110.86 0.97 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,940,069.9 ns 1,064,298.41 ns 888,737.38 ns 145,681.00 1,867.92 1833.3333 1666.6667 833.3333 27897037 B 81,096.04

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.149 μs 0.0043 μs 0.0038 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.161 μs 0.0042 μs 0.0039 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.206 μs 0.0059 μs 0.0055 μs 1.05 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 86.65 ns 0.682 ns 0.638 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 108.46 ns 0.883 ns 0.826 ns 1.25 0.01 0.0014 24 B 1.00
GetInstanceStringField 88.25 ns 0.720 ns 0.674 ns 1.02 0.01 - - 0.00
SetInstanceStringField 647.89 ns 4.163 ns 3.691 ns 7.48 0.07 0.0172 288 B 12.00
GetStaticIntField 93.03 ns 0.749 ns 0.700 ns 1.07 0.01 0.0014 24 B 1.00
SetStaticIntField 110.61 ns 0.973 ns 0.910 ns 1.28 0.01 0.0014 24 B 1.00
GetStaticStringField 89.16 ns 1.090 ns 1.020 ns 1.03 0.01 - - 0.00
SetStaticStringField 637.72 ns 4.702 ns 4.398 ns 7.36 0.07 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 123.29 ns 1.549 ns 1.449 ns 1.42 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 318.9 ns 3.81 ns 3.57 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 255.1 ns 2.99 ns 2.79 ns 0.80 0.01 - - NA
InvokeStaticWithFeedback 574.0 ns 3.69 ns 3.45 ns 1.80 0.02 0.0200 344 B NA
InvokeInstanceEmpty 304.9 ns 2.17 ns 2.03 ns 0.96 0.01 - - NA
InvokeInstanceWithFeedback 570.5 ns 5.50 ns 5.14 ns 1.79 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.382 μs 0.0091 μs 0.0085 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,020.2 ns 9.65 ns 8.55 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 615.4 ns 6.87 ns 6.43 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 64,163.0 ns 724.90 ns 678.07 ns 1.000 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 615.6 ns 7.33 ns 6.86 ns 0.010 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,479,559.2 ns 144,548.55 ns 192,968.17 ns 1.001 0.04 78.1250 78.1250 78.1250 2400850 B 1.000
InvokeSingleStringPreallocated 100000 666.7 ns 4.41 ns 4.13 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,016.0 ns 9.35 ns 8.75 ns 0.0057 104 B
PredicateRoundTrip False False True 1,012.0 ns 9.23 ns 8.63 ns 0.0057 104 B
PredicateRoundTrip False True False 1,230.7 ns 5.27 ns 4.93 ns 0.0114 200 B
PredicateRoundTrip False True True 4,372.2 ns 33.95 ns 30.09 ns 0.0458 792 B
PredicateRoundTrip True False False 416.7 ns 2.35 ns 2.20 ns 0.0014 24 B
PredicateRoundTrip True False True 425.5 ns 3.95 ns 3.70 ns 0.0014 24 B
PredicateRoundTrip True True False 620.8 ns 2.14 ns 2.00 ns 0.0067 120 B
PredicateRoundTrip True True True 3,810.9 ns 15.47 ns 14.47 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_temurin_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 524.75 ns 7.448 ns 6.967 ns 0.0040 80 B
PredicateSustained False False True 532.42 ns 7.416 ns 6.937 ns 0.0040 80 B
PredicateSustained False True False 707.94 ns 5.764 ns 5.391 ns 0.0100 176 B
PredicateSustained False True True 3,865.54 ns 25.868 ns 22.931 ns 0.0400 768 B
PredicateSustained True False False 37.35 ns 0.320 ns 0.299 ns - -
PredicateSustained True False True 37.27 ns 0.430 ns 0.402 ns - -
PredicateSustained True True False 189.73 ns 0.757 ns 0.671 ns 0.0056 96 B
PredicateSustained True True True 3,306.75 ns 21.917 ns 19.429 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 593.7 ns 5.24 ns 4.90 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,203.3 ns 17.80 ns 14.87 ns 10.45 0.09 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,301.5 ns 4.20 ns 3.72 ns 2.19 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,276.2 ns 6.60 ns 5.85 ns 2.15 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,732.5 ns 73.77 ns 65.39 ns 14.71 0.16 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 592.7 ns 6.73 ns 5.97 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 464,872.9 ns 2,929.93 ns 2,740.66 ns 784.47 8.82 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,945.2 ns 21.96 ns 19.47 ns 3.28 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,945.1 ns 14.26 ns 12.65 ns 3.28 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 687,413.0 ns 2,848.56 ns 2,378.68 ns 1,160.00 11.89 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 590.5 ns 7.39 ns 6.91 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,421,748.6 ns 953,231.45 ns 891,653.29 ns 98,952.17 1,845.74 1111.1111 1000.0000 333.3333 16002180 B 46,517.97
InvokeIntArrayFixed 100000 67,110.2 ns 694.45 ns 615.61 ns 113.67 1.64 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 66,766.7 ns 436.32 ns 408.13 ns 113.09 1.45 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 85,269,378.1 ns 608,861.05 ns 508,426.55 ns 144,425.50 1,841.64 1833.3333 1666.6667 833.3333 27896556 B 81,094.64

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.242 μs 0.0049 μs 0.0043 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.196 μs 0.0072 μs 0.0060 μs 0.96 0.0210 360 B 1.00
DeclaredNewEmpty 1.222 μs 0.0065 μs 0.0054 μs 0.98 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 85.99 ns 0.985 ns 0.921 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 109.42 ns 1.168 ns 1.092 ns 1.27 0.02 0.0014 24 B 1.00
GetInstanceStringField 89.15 ns 0.874 ns 0.817 ns 1.04 0.01 - - 0.00
SetInstanceStringField 617.78 ns 2.962 ns 2.626 ns 7.19 0.08 0.0172 288 B 12.00
GetStaticIntField 91.55 ns 1.124 ns 1.051 ns 1.06 0.02 0.0014 24 B 1.00
SetStaticIntField 112.11 ns 1.107 ns 1.036 ns 1.30 0.02 0.0014 24 B 1.00
GetStaticStringField 83.84 ns 1.028 ns 0.962 ns 0.98 0.01 - - 0.00
SetStaticStringField 650.80 ns 1.763 ns 1.563 ns 7.57 0.08 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 122.77 ns 0.864 ns 0.808 ns 1.43 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 293.2 ns 3.01 ns 2.82 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 264.2 ns 1.94 ns 1.81 ns 0.90 0.01 - - NA
InvokeStaticWithFeedback 576.4 ns 5.73 ns 5.36 ns 1.97 0.03 0.0200 344 B NA
InvokeInstanceEmpty 299.2 ns 2.13 ns 1.99 ns 1.02 0.01 - - NA
InvokeInstanceWithFeedback 609.4 ns 4.06 ns 3.60 ns 2.08 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.461 μs 0.0101 μs 0.0084 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,102.3 ns 19.24 ns 17.05 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 667.4 ns 8.77 ns 8.20 ns 0.32 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 62,435.1 ns 621.25 ns 550.72 ns 1.00 0.01 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 635.1 ns 6.27 ns 5.86 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 8,712,632.1 ns 173,871.44 ns 313,526.10 ns 1.001 0.05 78.1250 78.1250 78.1250 2400499 B 1.000
InvokeSingleStringPreallocated 100000 749.2 ns 8.30 ns 7.77 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,035.1 ns 11.06 ns 10.34 ns 0.0057 104 B
PredicateRoundTrip False False True 1,061.7 ns 7.08 ns 5.53 ns 0.0057 104 B
PredicateRoundTrip False True False 1,246.6 ns 5.13 ns 4.54 ns 0.0114 200 B
PredicateRoundTrip False True True 4,656.1 ns 20.82 ns 17.39 ns 0.0458 792 B
PredicateRoundTrip True False False 443.3 ns 5.20 ns 4.61 ns 0.0014 24 B
PredicateRoundTrip True False True 435.7 ns 5.15 ns 4.82 ns 0.0014 24 B
PredicateRoundTrip True True False 643.2 ns 4.92 ns 4.60 ns 0.0067 120 B
PredicateRoundTrip True True True 3,887.4 ns 18.66 ns 15.58 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_temurin_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 519.56 ns 5.970 ns 5.292 ns 0.0040 80 B
PredicateSustained False False True 536.47 ns 6.109 ns 5.714 ns 0.0040 80 B
PredicateSustained False True False 761.37 ns 4.202 ns 3.931 ns 0.0100 176 B
PredicateSustained False True True 4,069.20 ns 22.447 ns 19.898 ns 0.0400 768 B
PredicateSustained True False False 38.84 ns 0.436 ns 0.408 ns - -
PredicateSustained True False True 39.37 ns 0.304 ns 0.284 ns - -
PredicateSustained True True False 192.47 ns 2.560 ns 2.269 ns 0.0056 96 B
PredicateSustained True True True 3,356.18 ns 31.840 ns 28.225 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 296.7 ns 4.97 ns 4.40 ns 1.00 0.02 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 10 4,214.9 ns 62.83 ns 58.77 ns 14.21 0.28 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 775.0 ns 13.10 ns 12.25 ns 2.61 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 786.3 ns 12.42 ns 11.62 ns 2.65 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 5,610.3 ns 63.23 ns 56.05 ns 18.91 0.33 0.2060 - - 3520 B 10.23
InvokeIntParam 1000 318.6 ns 4.37 ns 4.09 ns 1.00 0.02 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 1000 332,650.1 ns 3,561.68 ns 3,157.34 ns 1,044.37 16.21 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,233.9 ns 18.19 ns 17.87 ns 3.87 0.07 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,227.9 ns 14.64 ns 12.98 ns 3.86 0.06 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 449,408.8 ns 4,707.89 ns 4,173.42 ns 1,410.93 21.73 15.6250 7.3242 - 265888 B 772.93
InvokeIntParam 100000 306.8 ns 3.62 ns 3.21 ns 1.00 0.01 0.0205 - - 344 B 1.00
InvokeStringArrayFixed 100000 39,763,695.4 ns 778,550.24 ns 690,164.51 ns 129,620.27 2,535.25 1076.9231 923.0769 307.6923 16001651 B 46,516.43
InvokeIntArrayFixed 100000 37,872.0 ns 239.28 ns 212.12 ns 123.45 1.41 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 37,810.8 ns 314.23 ns 262.39 ns 123.25 1.49 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 56,136,044.7 ns 918,012.19 ns 766,581.75 ns 182,990.27 3,031.81 1888.8889 1777.7778 777.7778 27894003 B 81,087.22

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 750.9 ns 13.10 ns 12.26 ns 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 724.6 ns 9.26 ns 8.66 ns 0.97 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 738.2 ns 13.54 ns 17.60 ns 0.98 0.03 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 53.92 ns 0.412 ns 0.365 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 75.39 ns 0.658 ns 0.550 ns 1.40 0.01 0.0014 24 B 1.00
GetInstanceStringField 62.69 ns 0.535 ns 0.474 ns 1.16 0.01 - - 0.00
SetInstanceStringField 407.68 ns 7.243 ns 6.776 ns 7.56 0.13 0.0172 288 B 12.00
GetStaticIntField 62.51 ns 1.130 ns 1.057 ns 1.16 0.02 0.0014 24 B 1.00
SetStaticIntField 73.50 ns 1.101 ns 1.030 ns 1.36 0.02 0.0014 24 B 1.00
GetStaticStringField 58.64 ns 1.006 ns 0.941 ns 1.09 0.02 - - 0.00
SetStaticStringField 400.66 ns 6.168 ns 5.770 ns 7.43 0.11 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 70.77 ns 0.754 ns 0.630 ns 1.31 0.01 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 167.3 ns 2.19 ns 2.05 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 155.3 ns 1.88 ns 1.75 ns 0.93 0.02 - - NA
InvokeStaticWithFeedback 306.2 ns 3.99 ns 3.74 ns 1.83 0.03 0.0205 344 B NA
InvokeInstanceEmpty 185.8 ns 2.83 ns 2.51 ns 1.11 0.02 - - NA
InvokeInstanceWithFeedback 327.7 ns 2.12 ns 1.66 ns 1.96 0.03 0.0205 344 B NA

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 875.9 ns 10.28 ns 9.11 ns 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,261.5 ns 13.64 ns 12.09 ns 1.00 0.01 0.0401 - - 688 B 1.00
InvokeSingleStringPreallocated 10 319.8 ns 2.84 ns 2.52 ns 0.25 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 36,785.7 ns 634.86 ns 593.85 ns 1.000 0.02 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 316.3 ns 3.89 ns 3.64 ns 0.009 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 5,660,070.6 ns 98,916.79 ns 92,526.83 ns 1.000 0.02 78.1250 78.1250 78.1250 2400863 B 1.000
InvokeSingleStringPreallocated 100000 360.3 ns 1.85 ns 1.64 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 640.2 ns 9.06 ns 8.03 ns 0.0057 104 B
PredicateRoundTrip False False True 629.8 ns 9.56 ns 8.94 ns 0.0057 104 B
PredicateRoundTrip False True False 793.2 ns 4.82 ns 4.27 ns 0.0114 200 B
PredicateRoundTrip False True True 2,872.8 ns 25.88 ns 22.95 ns 0.0458 792 B
PredicateRoundTrip True False False 210.8 ns 1.88 ns 1.66 ns 0.0014 24 B
PredicateRoundTrip True False True 213.6 ns 2.95 ns 2.61 ns 0.0014 24 B
PredicateRoundTrip True True False 339.9 ns 3.70 ns 3.09 ns 0.0072 120 B
PredicateRoundTrip True True True 2,455.6 ns 46.94 ns 41.61 ns 0.0420 712 B

core-ubuntu-24.04_net8.0_zulu_11


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V45 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 314.93 ns 4.813 ns 4.502 ns 0.0047 80 B
PredicateSustained False False True 313.13 ns 5.142 ns 4.558 ns 0.0047 80 B
PredicateSustained False True False 423.81 ns 2.051 ns 1.713 ns 0.0100 176 B
PredicateSustained False True True 2,442.86 ns 22.254 ns 19.727 ns 0.0450 768 B
PredicateSustained True False False 31.88 ns 0.186 ns 0.155 ns - -
PredicateSustained True False True 32.07 ns 0.340 ns 0.318 ns - -
PredicateSustained True True False 127.51 ns 1.923 ns 1.705 ns 0.0056 96 B
PredicateSustained True True True 2,074.30 ns 27.693 ns 24.549 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 505.8 ns 9.40 ns 8.79 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,305.6 ns 122.26 ns 114.36 ns 12.47 0.30 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,224.7 ns 18.60 ns 17.40 ns 2.42 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,252.4 ns 18.54 ns 17.34 ns 2.48 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,112.0 ns 127.69 ns 119.45 ns 16.04 0.35 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 512.5 ns 7.61 ns 7.12 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 460,753.7 ns 4,966.86 ns 4,402.99 ns 899.21 14.77 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,976.8 ns 29.11 ns 27.23 ns 3.86 0.07 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,967.7 ns 36.75 ns 34.37 ns 3.84 0.08 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 668,656.8 ns 9,790.06 ns 9,157.63 ns 1,304.96 24.78 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 534.3 ns 7.80 ns 7.29 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 67,025,173.6 ns 1,319,062.24 ns 2,310,231.29 ns 125,466.95 4,578.22 1000.0000 857.1429 285.7143 16002597 B 46,519.18
InvokeIntArrayFixed 100000 62,412.4 ns 521.05 ns 487.39 ns 116.83 1.77 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 61,773.7 ns 440.75 ns 412.28 ns 115.64 1.69 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,552,691.5 ns 1,729,748.26 ns 1,618,007.60 ns 162,021.25 3,622.39 1833.3333 1666.6667 833.3333 27897256 B 81,096.67

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
NewEmpty 1.093 μs 0.0138 μs 0.0129 μs 1.00 0.02 0.0210 360 B 1.00
NewWithSignature 1.181 μs 0.0226 μs 0.0222 μs 1.08 0.02 0.0210 360 B 1.00
DeclaredNewEmpty 1.184 μs 0.0176 μs 0.0165 μs 1.08 0.02 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 95.81 ns 0.709 ns 0.663 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 137.59 ns 1.587 ns 1.485 ns 1.44 0.02 0.0014 24 B 1.00
GetInstanceStringField 106.22 ns 0.842 ns 0.787 ns 1.11 0.01 - - 0.00
SetInstanceStringField 619.01 ns 11.996 ns 12.319 ns 6.46 0.13 0.0172 288 B 12.00
GetStaticIntField 101.44 ns 0.999 ns 0.934 ns 1.06 0.01 0.0014 24 B 1.00
SetStaticIntField 117.25 ns 1.542 ns 1.443 ns 1.22 0.02 0.0014 24 B 1.00
GetStaticStringField 99.31 ns 1.262 ns 1.181 ns 1.04 0.01 - - 0.00
SetStaticStringField 656.66 ns 7.726 ns 6.849 ns 6.85 0.08 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 138.80 ns 1.526 ns 1.428 ns 1.45 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 284.5 ns 3.13 ns 2.92 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 254.0 ns 1.89 ns 1.77 ns 0.89 0.01 - - NA
InvokeStaticWithFeedback 480.2 ns 6.27 ns 5.87 ns 1.69 0.03 0.0200 344 B NA
InvokeInstanceEmpty 281.1 ns 3.65 ns 3.41 ns 0.99 0.02 - - NA
InvokeInstanceWithFeedback 519.5 ns 5.01 ns 4.69 ns 1.83 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.414 μs 0.0122 μs 0.0114 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 1,982.9 ns 20.09 ns 18.79 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 571.9 ns 4.94 ns 4.62 ns 0.29 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 57,722.5 ns 608.83 ns 569.50 ns 1.00 0.01 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 635.3 ns 10.19 ns 9.53 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 10,302,192.6 ns 203,234.21 ns 479,046.97 ns 1.002 0.07 78.1250 78.1250 78.1250 2400742 B 1.000
InvokeSingleStringPreallocated 100000 634.9 ns 7.42 ns 6.94 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,025.3 ns 7.06 ns 5.52 ns 0.0057 104 B
PredicateRoundTrip False False True 1,014.7 ns 12.45 ns 11.04 ns 0.0057 104 B
PredicateRoundTrip False True False 1,280.0 ns 13.27 ns 12.41 ns 0.0114 200 B
PredicateRoundTrip False True True 4,561.3 ns 50.79 ns 47.51 ns 0.0458 792 B
PredicateRoundTrip True False False 371.4 ns 3.21 ns 2.68 ns 0.0014 24 B
PredicateRoundTrip True False True 374.4 ns 5.02 ns 4.19 ns 0.0014 24 B
PredicateRoundTrip True True False 614.6 ns 8.01 ns 7.49 ns 0.0067 120 B
PredicateRoundTrip True True True 3,770.0 ns 19.83 ns 17.58 ns 0.0420 712 B

core-ubuntu-24.04_net8.0_zulu_17


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v4


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 505.38 ns 4.585 ns 4.064 ns 0.0045 80 B
PredicateSustained False False True 501.22 ns 6.636 ns 5.181 ns 0.0040 80 B
PredicateSustained False True False 721.71 ns 13.643 ns 14.598 ns 0.0100 176 B
PredicateSustained False True True 3,951.88 ns 77.609 ns 72.596 ns 0.0400 768 B
PredicateSustained True False False 36.51 ns 0.342 ns 0.320 ns - -
PredicateSustained True False True 36.44 ns 0.456 ns 0.427 ns - -
PredicateSustained True True False 168.56 ns 1.925 ns 1.801 ns 0.0056 96 B
PredicateSustained True True True 3,142.14 ns 36.540 ns 34.179 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 574.5 ns 7.10 ns 6.30 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,069.1 ns 35.63 ns 31.59 ns 10.57 0.12 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,281.7 ns 13.95 ns 13.05 ns 2.23 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,327.9 ns 9.05 ns 8.47 ns 2.31 0.03 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,902.1 ns 101.25 ns 94.71 ns 15.50 0.23 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 599.9 ns 8.21 ns 7.68 ns 1.00 0.02 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 492,427.6 ns 3,546.79 ns 3,144.14 ns 821.02 11.33 8.7891 1.9531 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,924.4 ns 13.12 ns 12.27 ns 3.21 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,925.6 ns 17.18 ns 15.23 ns 3.21 0.05 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 689,606.0 ns 2,793.03 ns 2,332.31 ns 1,149.77 14.68 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 594.9 ns 6.11 ns 5.71 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 58,435,513.5 ns 485,300.81 ns 453,950.68 ns 98,229.97 1,175.66 1111.1111 1000.0000 333.3333 16002374 B 46,518.53
InvokeIntArrayFixed 100000 65,821.2 ns 429.21 ns 380.48 ns 110.65 1.20 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 65,465.6 ns 306.56 ns 255.99 ns 110.05 1.11 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 84,054,103.3 ns 1,257,094.72 ns 1,175,887.19 ns 141,294.77 2,322.38 1833.3333 1666.6667 833.3333 27896189 B 81,093.57

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.207 μs 0.0066 μs 0.0062 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.222 μs 0.0088 μs 0.0073 μs 1.01 0.0210 360 B 1.00
DeclaredNewEmpty 1.211 μs 0.0044 μs 0.0041 μs 1.00 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 86.84 ns 0.770 ns 0.721 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 113.74 ns 0.813 ns 0.761 ns 1.31 0.01 0.0014 24 B 1.00
GetInstanceStringField 88.69 ns 0.745 ns 0.697 ns 1.02 0.01 - - 0.00
SetInstanceStringField 628.62 ns 2.876 ns 2.402 ns 7.24 0.06 0.0172 288 B 12.00
GetStaticIntField 93.10 ns 1.205 ns 1.127 ns 1.07 0.02 0.0014 24 B 1.00
SetStaticIntField 114.74 ns 1.432 ns 1.340 ns 1.32 0.02 0.0014 24 B 1.00
GetStaticStringField 84.97 ns 0.754 ns 0.669 ns 0.98 0.01 - - 0.00
SetStaticStringField 630.22 ns 5.132 ns 4.549 ns 7.26 0.08 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 120.44 ns 1.434 ns 1.342 ns 1.39 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 288.5 ns 3.61 ns 3.38 ns 1.00 0.02 - - NA
InvokeStaticEmptyWithSignature 260.9 ns 3.06 ns 2.71 ns 0.90 0.01 - - NA
InvokeStaticWithFeedback 588.3 ns 7.67 ns 7.17 ns 2.04 0.03 0.0200 344 B NA
InvokeInstanceEmpty 303.1 ns 4.33 ns 3.84 ns 1.05 0.02 - - NA
InvokeInstanceWithFeedback 573.0 ns 5.86 ns 5.48 ns 1.99 0.03 0.0200 344 B NA

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.423 μs 0.0078 μs 0.0069 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,065.5 ns 9.73 ns 8.63 ns 1.00 0.01 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 615.9 ns 7.44 ns 6.96 ns 0.30 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 58,452.6 ns 557.56 ns 521.54 ns 1.00 0.01 1.4038 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 614.7 ns 4.86 ns 4.54 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,453,467.0 ns 146,554.07 ns 156,811.22 ns 1.000 0.03 78.1250 78.1250 78.1250 2400565 B 1.000
InvokeSingleStringPreallocated 100000 676.6 ns 7.80 ns 7.30 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,013.0 ns 11.47 ns 10.73 ns 0.0057 104 B
PredicateRoundTrip False False True 1,007.8 ns 12.11 ns 10.73 ns 0.0057 104 B
PredicateRoundTrip False True False 1,249.5 ns 5.55 ns 5.19 ns 0.0114 200 B
PredicateRoundTrip False True True 4,440.1 ns 30.44 ns 28.47 ns 0.0458 792 B
PredicateRoundTrip True False False 430.9 ns 5.18 ns 4.84 ns 0.0014 24 B
PredicateRoundTrip True False True 432.3 ns 4.79 ns 4.25 ns 0.0014 24 B
PredicateRoundTrip True True False 625.8 ns 2.85 ns 2.38 ns 0.0067 120 B
PredicateRoundTrip True True True 3,871.0 ns 31.84 ns 29.79 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_zulu_21


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 508.10 ns 8.371 ns 7.830 ns 0.0040 80 B
PredicateSustained False False True 543.37 ns 6.740 ns 6.305 ns 0.0040 80 B
PredicateSustained False True False 764.10 ns 5.952 ns 5.276 ns 0.0100 176 B
PredicateSustained False True True 3,959.49 ns 36.976 ns 30.877 ns 0.0400 768 B
PredicateSustained True False False 37.35 ns 0.343 ns 0.321 ns - -
PredicateSustained True False True 37.54 ns 0.290 ns 0.271 ns - -
PredicateSustained True True False 188.16 ns 0.791 ns 0.618 ns 0.0056 96 B
PredicateSustained True True True 3,322.19 ns 20.079 ns 16.767 ns 0.0400 688 B

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeIntParam 10 637.1 ns 5.92 ns 5.25 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 10 6,679.7 ns 32.74 ns 30.62 ns 10.49 0.10 0.1221 - - 2048 B 5.95
InvokeIntArrayFixed 10 1,297.8 ns 8.07 ns 7.55 ns 2.04 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 10 1,314.9 ns 6.90 ns 6.45 ns 2.06 0.02 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 10 8,891.2 ns 67.65 ns 63.28 ns 13.96 0.15 0.1984 - - 3520 B 10.23
InvokeIntParam 1000 601.5 ns 6.87 ns 6.42 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 1000 470,476.6 ns 1,946.86 ns 1,725.84 ns 782.32 8.55 9.2773 2.9297 - 160448 B 466.42
InvokeIntArrayFixed 1000 1,953.8 ns 10.15 ns 9.00 ns 3.25 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsWholeArray 1000 1,988.0 ns 6.62 ns 5.87 ns 3.31 0.04 0.0267 - - 448 B 1.30
InvokeVarArgsSpreadElements 1000 709,578.7 ns 3,706.61 ns 3,095.19 ns 1,179.90 13.17 15.6250 6.8359 - 265888 B 772.93
InvokeIntParam 100000 597.8 ns 6.42 ns 6.00 ns 1.00 0.01 0.0200 - - 344 B 1.00
InvokeStringArrayFixed 100000 60,515,770.6 ns 818,787.22 ns 765,894.07 ns 101,236.73 1,581.69 1111.1111 1000.0000 333.3333 16001661 B 46,516.46
InvokeIntArrayFixed 100000 66,578.0 ns 306.22 ns 286.44 ns 111.38 1.17 - - - 448 B 1.30
InvokeVarArgsWholeArray 100000 66,577.1 ns 217.23 ns 192.57 ns 111.38 1.12 - - - 448 B 1.30
InvokeVarArgsSpreadElements 100000 86,079,260.2 ns 939,543.01 ns 878,849.11 ns 144,001.84 1,993.55 1833.3333 1666.6667 833.3333 27897021 B 81,095.99

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
NewEmpty 1.205 μs 0.0077 μs 0.0072 μs 1.00 0.0210 360 B 1.00
NewWithSignature 1.210 μs 0.0055 μs 0.0043 μs 1.00 0.0210 360 B 1.00
DeclaredNewEmpty 1.207 μs 0.0076 μs 0.0071 μs 1.00 0.0210 360 B 1.00

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
GetInstanceIntField 89.83 ns 0.980 ns 0.917 ns 1.00 0.01 0.0014 24 B 1.00
SetInstanceIntField 112.10 ns 0.919 ns 0.860 ns 1.25 0.02 0.0014 24 B 1.00
GetInstanceStringField 90.04 ns 1.033 ns 0.966 ns 1.00 0.01 - - 0.00
SetInstanceStringField 649.75 ns 3.613 ns 3.380 ns 7.23 0.08 0.0172 288 B 12.00
GetStaticIntField 94.63 ns 1.015 ns 0.950 ns 1.05 0.01 0.0014 24 B 1.00
SetStaticIntField 113.05 ns 0.798 ns 0.747 ns 1.26 0.01 0.0014 24 B 1.00
GetStaticStringField 91.33 ns 0.983 ns 0.920 ns 1.02 0.01 - - 0.00
SetStaticStringField 662.27 ns 2.486 ns 2.326 ns 7.37 0.08 0.0172 288 B 12.00
GetInstanceIntFieldGeneric 123.22 ns 1.582 ns 1.403 ns 1.37 0.02 0.0014 24 B 1.00

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
InvokeStaticEmpty 294.4 ns 2.54 ns 2.25 ns 1.00 0.01 - - NA
InvokeStaticEmptyWithSignature 267.6 ns 3.67 ns 3.43 ns 0.91 0.01 - - NA
InvokeStaticWithFeedback 579.2 ns 4.77 ns 4.46 ns 1.97 0.02 0.0200 344 B NA
InvokeInstanceEmpty 299.4 ns 3.55 ns 3.33 ns 1.02 0.01 - - NA
InvokeInstanceWithFeedback 595.8 ns 6.28 ns 5.87 ns 2.02 0.02 0.0200 344 B NA

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
InvokeMultiParam 1.513 μs 0.0066 μs 0.0062 μs 1.00 0.0420 712 B 1.00

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method Length Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
InvokeStringArrayPreallocated 10 2,171.5 ns 6.92 ns 6.14 ns 1.00 0.00 0.0381 - - 688 B 1.00
InvokeSingleStringPreallocated 10 666.9 ns 5.51 ns 5.15 ns 0.31 0.00 0.0191 - - 320 B 0.47
InvokeStringArrayPreallocated 1000 63,173.7 ns 865.64 ns 809.72 ns 1.00 0.02 1.3428 - - 24448 B 1.00
InvokeSingleStringPreallocated 1000 643.6 ns 8.03 ns 7.51 ns 0.01 0.00 0.0191 - - 320 B 0.01
InvokeStringArrayPreallocated 100000 7,969,075.6 ns 151,599.58 ns 168,502.53 ns 1.000 0.03 78.1250 78.1250 78.1250 2400752 B 1.000
InvokeSingleStringPreallocated 100000 722.4 ns 6.01 ns 5.62 ns 0.000 0.00 0.0191 - - 320 B 0.000

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateRoundTrip False False False 1,029.9 ns 12.59 ns 11.78 ns 0.0057 104 B
PredicateRoundTrip False False True 1,078.6 ns 7.49 ns 6.25 ns 0.0057 104 B
PredicateRoundTrip False True False 1,273.0 ns 8.79 ns 7.79 ns 0.0114 200 B
PredicateRoundTrip False True True 4,584.0 ns 30.21 ns 26.78 ns 0.0458 792 B
PredicateRoundTrip True False False 429.7 ns 6.48 ns 6.06 ns 0.0014 24 B
PredicateRoundTrip True False True 425.1 ns 5.38 ns 5.03 ns 0.0014 24 B
PredicateRoundTrip True True False 649.5 ns 3.34 ns 2.96 ns 0.0067 120 B
PredicateRoundTrip True True True 3,955.1 ns 19.52 ns 17.30 ns 0.0381 712 B

core-ubuntu-24.04_net8.0_zulu_25


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.401
  [Host]     : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 8.0.31 (8.0.31, 8.0.3126.42015), X64 RyuJIT x86-64-v3


Method ByIndex ContinueFirstCheck ContinueSecondCheck Mean Error StdDev Gen0 Allocated
PredicateSustained False False False 552.99 ns 7.385 ns 6.908 ns 0.0040 80 B
PredicateSustained False False True 519.62 ns 3.294 ns 3.081 ns 0.0040 80 B
PredicateSustained False True False 725.99 ns 3.189 ns 2.983 ns 0.0100 176 B
PredicateSustained False True True 4,025.25 ns 34.903 ns 30.941 ns 0.0400 768 B
PredicateSustained True False False 38.75 ns 0.498 ns 0.466 ns - -
PredicateSustained True False True 39.13 ns 0.337 ns 0.315 ns - -
PredicateSustained True True False 192.38 ns 1.694 ns 1.584 ns 0.0056 96 B
PredicateSustained True True True 3,405.27 ns 23.339 ns 19.489 ns 0.0400 688 B