Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support private builds of .NET Runtime #706

Closed
adamsitnik opened this issue Mar 28, 2018 · 1 comment
Closed

Support private builds of .NET Runtime #706

adamsitnik opened this issue Mar 28, 2018 · 1 comment
Assignees
Milestone

Comments

@adamsitnik
Copy link
Member

adamsitnik commented Mar 28, 2018

It would be great if we could benchmark private builds of .NET Runtime.

All we need to do is not to copy supportedRuntime node from app.config :

<startup> 
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
 </startup>

Sample code:

Job.Default.With(new ClrRuntime(version: "4.0"))

This sends the provided version as COMPLUS_Version env var to the benchmarked process.

@vitek-karas
Copy link
Member

Thanks a lot Adam. Just tried this out and it works like a charm.

alinasmirnova pushed a commit to alinasmirnova/BenchmarkDotNet that referenced this issue Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants