GithubHelp home page GithubHelp logo

xoofx / disasmo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from egorbo/disasmo

2.0 1.0 0.0 7.32 MB

VS2022 Add-in. Click on any method or class to see what .NET Core's JIT generates for them (ASM).

License: MIT License

C# 100.00%

disasmo's Introduction

Disasmo

VS2022 Add-in. Click on any method or class to see JIT's codegen and more.

demo

Starting with .NET 7.0 RC1 this add-in no longer requires a local build of dotnet/runtime repo. However, it offers more features with a local one, to obtain a local one please follow these steps:

git clone git@github.com:dotnet/runtime.git
cd runtime
build.cmd Clr+Clr.Aot+Libs -c Release -rc Checked

# optional (for crossgen2 + arm64 for hw intrinsics):
build.cmd Clr.CoreLib -c Release -a arm64

See windows-requirements.md.

Release notes

See RELEASE_NOTES.md

Installation

Click on Extensions\Manage Extensions menu, select Online tab and type Disasmo in the "Search" text box. Once the add-in is installed you have to close all active instances of VS2022 to let the installer finish its job.

Features

  • Hot-key to quickly see codegen (Alt+Shift+D by default, can be changed in VS's settings)
  • Is able to show codegen for ARM64
  • Flowgraphs and JitDumps for JIT contributors
  • Diffs
  • "System.Runtime.Intrinsics quick search" tab
  • Inliner's decisions
  • 'Run' mode. Is useful for e.g. PGO inspection

Known Issues

  • Only .NET 6.0 and later projects are supported with custom runtime
  • .NET 7.0 RC1 (or newer) is needed for non-custom runtime mode
  • I only tested it for simple Console Apps, but it should work for libs as well
  • Generic methods are only supported in 'Run' mode
  • Resharper hides Roslyn actions by default (Uncheck "Do not show Visual Studio Light Bulb").
  • The lightbulb can be slow on first launch

3rd party dependencies

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.