<p>There are a number of obfuscation programs out there for .Net and I've tried one, my exe seems much slower when obfuscated. Do all obfuscation programs have the same effect or have I chosen a bad one? I'm hoping some are better than others, if you know of a fast one let me know.</p>

[{'answer_id': 64597, 'author': 'Bob King', 'author_id': 6897, 'author_profile': 'https://Stackoverflow.com/users/6897', 'pm_score': 3, 'selected': False, 'text': "<p>Obfuscation <em>shouldn't</em> change the runtime performance of your code. If it is then you've got a bad obfuscator that's doing much more than just obfuscating. All obfuscation should do is make your IL hard to read.</p>\n"}, {'answer_id': 64637, 'author': 'Lars Truijens', 'author_id': 1242, 'author_profile': 'https://Stackoverflow.com/users/1242', 'pm_score': 2, 'selected': False, 'text': '<p>There are <a href="http://howtoselectguides.com/dotnet/obfuscators/1st#dp_methods" rel="nofollow noreferrer">different obfuscation methods</a> that tools can use. There are the simple rename methods that should not affect performance in any way. Other methods might change the flow of the code. That could have a negative impact on performance. You might want to check out other obfuscators and try out different settings.</p>\n'}, {'answer_id': 64742, 'author': 'Joe Kuemerle', 'author_id': 4273, 'author_profile': 'https://Stackoverflow.com/users/4273', 'pm_score': 3, 'selected': False, 'text': '<p>Disclaimer: my employer is PreEmptive Solutions, the creator of the Dotfuscator .NET obfuscator.</p>\n\n<p>It can depend on the obfuscator you use and the options you enable in it.  I am going to speak from experience with Dotfuscator.</p>\n\n<p>There can be load time and memory footprint improvements of obfuscated assemblies if you use renaming and removal, partly because all/most of your methods, fields, etc are renamed to much smaller names (for example "ThisVeryLongMethodName(SomeVeryLongParameterName)" becomes "a(a)" so you gain some benefit in assembly size and usually with load time.  In addition with removal you remove methods, etc. that are never call and again decrease the size of your binaries.  </p>\n\n<p>String encryption can adversely affect runtime performance to a slight degree as the strings must be converted back to human readable text at runtime.</p>\n\n<p>If you use any other systems/techniques like Microsoft SLP\'s secure vm technology to render methods unreadable that will also incur a runtime performance penalty due to the secure vm.</p>\n\n<p>Other obfuscation tools that do not produce managed code assemblies as an output but instead rely on a native code loader to "preprocess" their output can also incur an runtime performance hit (especially at load time).</p>\n'}]
['https://Stackoverflow.com/questions/64541', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']