You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle addresses larger than 2GB for 32-bit benchmarks #1469 (#2145)
* Handle addresses larger than 2GB for 32-bit benchmarks #1469
* Apply suggestions from code review
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
Copy file name to clipboardExpand all lines: docs/articles/configs/jobs.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,9 @@ It's a single string characteristic. It allows to name your job. This name will
33
33
*`CpuGroups`: Specifies whether garbage collection supports multiple CPU groups
34
34
*`Force`: Specifies whether the BenchmarkDotNet's benchmark runner forces full garbage collection after each benchmark invocation
35
35
*`AllowVeryLargeObjects`: On 64-bit platforms, enables arrays that are greater than 2 gigabytes (GB) in total size
36
+
*`LargeAddressAware`: Specifies that benchmark can handle addresses larger than 2 gigabytes. See also: @BenchmarkDotNet.Samples.IntroLargeAddressAware and [LARGEADDRESSAWARE](https://learn.microsoft.com/cpp/build/reference/largeaddressaware-handle-large-addresses)
37
+
*`false`: Benchmark uses the defaults (64-bit: enabled; 32-bit: disabled).
38
+
*`true`: Explicitly specify that benchmark can handle addresses larger than 2 gigabytes.
36
39
*`EnvironmentVariables`: customized environment variables for target benchmark. See also: @BenchmarkDotNet.Samples.IntroEnvVars
37
40
38
41
BenchmarkDotNet will use host process environment characteristics for non specified values.
if(AreDifferent(jobX.Infrastructure.BuildConfiguration,jobY.Infrastructure.BuildConfiguration))// Debug vs Release
45
47
returnfalse;
46
48
if(AreDifferent(jobX.Infrastructure.Arguments,jobY.Infrastructure.Arguments))// arguments can be anything (Mono runtime settings or MsBuild parameters)
@@ -74,6 +76,7 @@ public int GetHashCode(BenchmarkCase obj)
0 commit comments