Giter Club home page Giter Club logo

refoverloadsperftests's Introduction

RefOverloadsPerfTests

Perf tests for https://github.com/dotnet/corefx/issues/157

Getting Started

Install the latest daily build of the .NET Core SDK from here.

  • I don't use the native installer, and instead use the .zip/.tar.gz and extract it to some location on disk, say D:\dotnet. You can easily delete the location when done.

Add the above dotnet executable to your PATH.

$ dotnet restore RefOverloadsPerfTests.csproj

  • This is necessary to download the Microsoft.NETCore.App NuGet package you will need.

In order to use the new ref overloads on the System.Numerics types, you need to patch your installation with the proposed changes.

  1. git checkout https://github.com/eerhardt/corefx/tree/RefOverloads
  2. build -release
  3. Copy the built corefx/bin/AnyOS.AnyCPU.Release/System.Numerics.Vectors/netcoreapp/System.Numerics.Vectors.dll to WHERE_YOU_INSTALLED_DOTNET/shared/Microsoft.NETCore.App/2.1.0-preview1-version/
  4. Copy the built corefx/bin/ref/System.Numerics.Vectors/4.1.4.0/netcoreapp/System.Numerics.Vectors.dll to NUGET_PACKAGES_ROOT/packages/microsoft.netcore.app/2.1.0-preview1-version/ref/netcoreapp2.1/.
  • NUGET_PACKAGES_ROOT is typically C:\Users\USER\.nuget\ on Windows or ~/.nuget/ on non-Windows.
  • Ensure you are using the same 2.1.0-preview1-version for steps 3 and 4.

$ dotnet run -c Release

to run the perf tests.

refoverloadsperftests's People

Contributors

eerhardt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.