• Stars
    star
    638
  • Rank 70,537 (Top 2 %)
  • Language
    C#
  • License
    MIT License
  • Created almost 6 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

SimdJsonSharp

C# bindings for lemire/simdjson (and full C# port)
C#
643
star
2

CrossChat-Xamarin.Forms

A chat application implemented using Xamarin.Forms and DDD + MVVM
C#
319
star
3

Toasts.Forms.Plugin

A plugin for Xamarin and Windows - it unites Crouton (Android), TWMessageBarManager (iOS) and my toast notificator for WP8.
C#
278
star
4

Xamarin.GradleBindings

VS add-in. Creates Xamarin.Android Binding Projects using gradle
C#
146
star
5

Xamaridea

Visual Studio extension. Opens *.axml/xml files in IDEA or Android Studio (Xamarin.Android)
C#
78
star
6

IntrinsicsPlayground

My toys to play with SSE/AVX in pure C# (.NET Core 2.1)
C#
64
star
7

XamarinWithUnityApp

A Xamarin app (Android) with Unity as a library (aar)
C#
46
star
8

ARKitXamarinDemo

ARKit + UrhoSharp + Xamarin
C#
45
star
9

CppPinvokeGenerator

A simple pinvoke generator based on CppAst to generate C# for C++
C#
32
star
10

Xamarin.Android-vs-Java

Performance comparison between Xamarin.Android+C# vs (Dalvik or ART)+Java
Java
25
star
11

HelloIL

A simple .NET 6.0 Hello World written in pure IL
19
star
12

UrhoAssetImporter

HLSL
16
star
13

left-pad-net

left-pad for C# via nuget
C#
13
star
14

PrejitAll

A helper tool to prejit everything in a given folder
C#
10
star
15

MonoNET5Sample

C#
9
star
16

DeclarativeVisualStates

Just trying to port VisualStateManager from Xaml (Wpf) to Android XML (Java)
Java
9
star
17

EgorBo.github.io

My blog https://egorbo.com
HTML
8
star
18

MatieBot

C#
7
star
19

MvvmNavigationToolkit

Navigation toolkit for Windows Phone & Windows Store apps
C#
7
star
20

SimpleUrhoRoomScene

A simple scene made with Blender and UrhoSharp
C#
6
star
21

UrhoArkitTemplate

Demo for https://blog.xamarin.com/bring-3d-models-life-augmented-reality-urhosharp/
C#
6
star
22

NtlmHttpHandler

NtlmHttpHandler allows to create NTLM-friendly http handlers for HttpClient.
C#
6
star
23

JitDisasmSample

COMPlus_JitDisasm usage example
Shell
4
star
24

ARVRWorkshop

C#
3
star
25

OpenALRP.SharpExperiments

OpenALRP Xamarin Workbook
2
star
26

HoloLightsaber

C#
2
star
27

JavaSSLStream

Just some tests
C
2
star
28

MyApartments

a dump of my apartments from HoloLens + UrhoSharp
C#
2
star
29

MonoMergeHelper

A tool to merge mono with CoreFX and CoreRT
C#
1
star