数量/性能测试
我不知道它的名称,但我想运行 10,0000 到 100,000 次测试来测试性能变化。例如我想测试 json 和 xml 之间的速度变化。我正在使用视觉工作室。有没有任何工具可以让我运行我的代码这么多次并收集统计信息?请尽快帮助我。谢谢!!!
I don't know the name of it, but I want to run a test say 10,0000 to 100,000 times to test for variations in performance. For example I want to test the speed variation between json and xml. I am using visual studio. Is there any tool that will allow me to run my code this amount of times and collect the statistics? Please help me ASAP. THANKS!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我本以为任何像样的分析器(例如 ANTS) 就可以完成这项工作。您在循环中运行代码,分析器应该提供有关性能统计信息的信息。
I would have thought any decent profiler (e.g. ANTS) would do the job. You run your code in a loop and the profiler should give information on the performance statistics.
我认为它简单地称为“迭代”(性能或负载测试是当用户/并行操作的数量变化时)
怀疑 Visual Studio 是否会在这里提供帮助。您需要一些测试工具..或者如果您编写了自己的测试脚本,则可以有一个带有可配置 no_of_iterations 的循环
I think its simply called "iterations" (Performance or load testing is when the number of users/ parallel operations are varied)
Doubts if visual studio will help here. You need some testing tool.. or if you've written your own test scripts, you could have a loop with a configurable no_of_iterations