Windows 工作流状态活动切换性能
我们在 Windows 工作流中的 StateActivities 之间切换时遇到性能问题。相关工作流程包含 14 个 StateActivities。用户定期在两个“主要”活动之间切换。
使用 ANTS 进行分析后,我发现几乎所有在活动之间切换的时间都花在了克隆活动上。我以为这会是一次成功,但似乎无论我切换多少次,性能都大致相同。
有人对如何提高 StateActivities 之间切换的性能有任何建议吗?
We are having performance issues while switching between StateActivities in Windows Workflow. The workflow in question contains 14 StateActivities. There are two "main" activities that the user switches between regularly.
After profiling with ANTS I found that almost all of the time used switching between activities is spent Cloning the activities. I thought this would be a one time hit but it seems no matter how many times I switch the performance is roughly the same.
Does anyone have any tips on how I can improve the performance of switching between StateActivities?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是WF3 的性能问题之一。最好的选择是升级到 WF4。
This is one of the performance problems with WF3. The best option is to upgrade to WF4.