开发者

Is there a performance hit when running obfuscated code? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_JAVA百科

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 8 years ago.

Improve this question

All,

I am proposing the addition of code obfuscation to the standard build process at my organization. One of the questions being asked is whether there is a performance hit to running obfuscated code vs. running unobfuscated code.

What is your experience? Have you seen a reduction in performance at runtime because you obfuscated your Java or C# code?

Thanks,

VI


It depends on how you are obfuscating it. If you use one of the tools that replaces all the names of objets and functions, then there should be no change at all. The compilers don't care what you call anything, whether it's useful to a developer (fetchProjects()) or just (funcA()).


You may wish to read about my over-obfuscation experiments: Impact of Flow Obfuscation on Performance.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜