代码契约构建性能

发布于 2024-10-11 08:42:45 字数 41 浏览 0 评论 0原文

我的问题非常直接:启用代码合约后,是否有人会遇到构建时间增加的情况?

My question is very straight forward: does any one experience increased build time when code contracts are enabled?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一笔一画续写前缘 2024-10-18 08:42:45

是的,代码契约增加了构建时间。目前正在开展改进工作,但使用代码合约总是比不使用代码合约花费更长的时间。

最慢的部分是静态检查器,因此您可以仅针对某些构建或其他内容启用它......这取决于速度减慢给您带来麻烦的地方。

Yes, Code Contracts increases build times. There is work ongoing to improve it, but it will always take longer with Code Contracts than without.

The slowest part is the static checker, so you could enable that only for some builds or something... it depends on where the slowdown is causing you trouble.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文