-
Notifications
You must be signed in to change notification settings - Fork 30
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
.NET Core support #17
Comments
Any movement on a .net core or better yet a build for .net standard? |
There was an early attempt to port to DNX, but just as @qooroo and I started making progress, things changed (beta, dnx vs dotnet, pcl/core/standard etc). Now that .NET Standard seems to be settling down as the way to package libs, I will look at that. |
OK, this is only my list, happy to help out when I get to it if not done by then |
@LeeCampbell I've ported the main library to .NET Standard, there wasn't too much to do there. There is however an issue with the benchmarking project, there's no .net core build for I could leave the Thoughts? |
Actually I can reference
|
Thanks for chasing this up @alhardy. The goal of the MemoryDiagnoser in the Benchmark is purely to ensure that we are not allocating on the hot path. However, this isn't part of an automated rig that can fail the build if we do. So if we cant have the .NET Framework specific code then so be it. However I do like your work around. Are you able to set up a Pull Request? I will pull down locally and see if it plays nicely on my machine too. |
@LeeCampbell pushing now, I've also updated the unit test and example project to .net core. We'll still have to look at the build script though, most of it can be retired as the dotnet cli will take care of of packaging, snk etc. Would you be able to take care of this? |
…le projected changed to .net core
There's my commit ^ I won't create a PR yet as the build script won't be working. Let me know if you want me to take a look at this or if your happy to. |
One other thing, there doesn't seem to be an unit equivalent to |
@LeeCampbell I've pushed a working build script in the commit above, you'll need to install the VS Update 3 and latest dotnet cli https://www.microsoft.com/net/core#windowsvs2015 I've moved the solution file and test project for this which is following the now default project structure |
@alhardy, this will change quite soon, see dotnet/BenchmarkDotNet#308 (comment) for more info |
were benchmarks run on every build or something that was run adhoc. For now we could add another script to run benchmarks independently and/or have flag on the build script to call out to this? Otherwise wait for dotnet core support on benchmarkdotnet diagnostics? |
Nice. Either a separate build script or a flag is good for me.
On 29 Nov. 2016 4:35 am, "Allan Hardy" <notifications@github.com> wrote:
@mattwarren <https://github.com/mattwarren> were benchmarks run on every
build or something that was run adhoc. For now we could add another script
to run benchmarks independently and/or have flag on the build script to
call out to this?
Otherwise wait for dotnet core support on benchmarkdotnet diagnostics?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA75w10wVQD77gzRGGkMGVpVcdkhfENVks5rCzsKgaJpZM4IbpFs>
.
|
We are going to release v 0.10.1 of BenchmarkDotNet with cross-platform Memory Diagnoser within this week. If you don't want to wait you can simply add our dev CI feed and use it today:
|
@adamsitnik Nice, I'll wait for that ;) |
Didnt get back to this since waiting for the benchmarkdot update. Ill give it another go end of this week |
…rence core project
…and example projected changed to .net core
…and example projected changed to .net core
…and example project changed to .net core
…and example project changed to .net core
@LeeCampbell : Hi, could you provide status on this. When will we be able to reference/restore a release that has .NET Core and .NET Framework support. Thanks |
Really sorry about the delay on this one. |
@LeeCampbell : No problem... is there a nuget feed I can restore from that has builds of this version (i.e. .NET Core and .NET Framework supported) available. Maybe the appveyor project feed? |
…and example project changed to .net core
@dtillman Can you check if https://ci.appveyor.com/nuget/hdrhistogram-net-7o4w2wn7lgf9 gives you what you need. |
Tested locally, but on the same machine that it was developed on. I may release this as pre-release on Nuget. |
@LeeCampbell : Thanks.. I've pulled it in and I'm currently using it/testing and all seems to be working fine on .NET Core 1.1 ... If I run into any issues I'll be sure to report... |
A complete re-attempt to solve this with VS2017 on a clean Win10 PC is available from #58 and via nuget on https://ci.appveyor.com/nuget/hdrhistogram-net-7o4w2wn7lgf9 as version |
Ideally HdrHistogram should be available on all supported versions of .NET.
Currently this is 4.5.2 & 4.6.1
It may however be prudent to wait until .NET Core and supporting tooling is available before undertaking this task, as it may incur alot of rework if the goalposts move by too much.
The text was updated successfully, but these errors were encountered: