简体   繁体   English

性能测试javascript的框架

[英]framework to performance test javascript

I am currently implementing a module observer pattern to a large scale web application that has a large dependency on javascript. 我目前正在为一个对javascript有很大依赖的大型Web应用程序实现一个模块观察者模式。 I have introduced unit testing of each of the modules which I find very beneficial in capturing any issues with my javascript. 我已经介绍了每个模块的单元测试,我觉得这非常有利于我的javascript捕获任何问题。

I would now also like to look at the possibility of performance testing my javascript. 我现在还想看看我的javascript性能测试的可能性。 Are there any frameworks available where I can set up performance test for my javascript files? 有没有可用的框架我可以为我的javascript文件设置性能测试?

I'm familiar with the jsperf service for javascript performance testing. 我熟悉用于javascript性能测试的jsperf服务。 It is based on the benchmark.js benchmarking library. 它基于benchmark.js基准测试库。 You could use use either depending upon the details of what you're looking for. 你可以根据你所寻找的细节使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM