Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的一些页面有很多 <%@ Register 用于控件的指令,这些指令既不再用于标记,也不再用于动态创建。
我想知道如果我费心从所有页面中删除所有这些指令,我是否会受益或获得一些性能。感谢您的回答。
解析指令会有一些开销(尤其是在生成临时类时首次加载时),但由于您不使用控件,这将是次要的。
这是你可以自己测试的东西。