Skip to content

Commit

Permalink
add more usage gifs
Browse files Browse the repository at this point in the history
  • Loading branch information
bert2 committed Nov 1, 2020
1 parent 06c6d98 commit 9f76f20
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ A CodeLens extension for Visual Studio that lets you inspect the intermediate la

![Usage example](img/usage.gif "Usage example")

It also shows the compiler-generated code for lambdas/closures, local functions, `async` methods, and iterators:

![Usage example: compiler-generated code](img/usage-csc-gen.gif "Usage example: compiler-generated code")

It's mostly useful for learning and getting a better understanding of how C# works internally, but it can help when micro-optimizing a hot path too:

![Usage example: micro-optimization](img/usage-opt.gif "Usage example: micro-optimization")

## Table of contents

- [Usage](#Usage)
Expand Down
Binary file added img/usage-csc-gen.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/usage-opt.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/usage.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 18 additions & 10 deletions publish-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,22 @@
"private": false,
"qna": true,
"repo": "https://github.com/bert2/microscope",
"assetFiles": [
{
"pathOnDisk": "img\\usage.gif",
"targetPath": "img/usage.gif"
},
{
"pathOnDisk": "img\\settings-page.png",
"targetPath": "img/settings-page.png"
}
]
"assetFiles": [
{
"pathOnDisk": "img\\usage.gif",
"targetPath": "img/usage.gif"
},
{
"pathOnDisk": "img\\usage-csc-gen.gif",
"targetPath": "img/usage-csc-gen.gif"
},
{
"pathOnDisk": "img\\usage-opt.gif",
"targetPath": "img/usage-opt.gif"
},
{
"pathOnDisk": "img\\settings-page.png",
"targetPath": "img/settings-page.png"
}
]
}

0 comments on commit 9f76f20

Please sign in to comment.