I've been doing some stuff with a pre-compiled .NET executable. It is my first time reversing something, so I don't know much.

I got a bunch of programs like ILSpy, dnSpy and dotPeek. They all do as much as they can, not 100% accurate, but quite enough. I found that it is best to use dnSpy as I can easily change some methods without having to recompile the whole project.

However, it takes so much time to decompile some classes with this piece of software. It takes about 20 seconds to decompile Main.cs (>50k lines, perfect engineering yeah) with ILSpy, and it takes an eternity (more than 5 minutes) to decompile it with dnSpy.

The codes these programs give out are pretty much the same. I have a pretty weak PC, but according to the task manager, my 6 core CPU never goes above 50% on any of the cores while decompiling. Moreover, whenever I go into editing mode to edit some classes or methods, the editor goes stop-motioning, with response time about 3 seconds with that Main.cs file and quite a low performance on smaller files.

So I am thinking that maybe there are some settings I need to tweak for better performance?

1 Answer 1



it's hard to guess with the information that you provided but I believe you tried very hard.

Checkout https://github.com/dnSpy/dnSpy this is source code and it will help you tweak it for your needs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.