The performance test code first reads the documents to be used in the test into memory, then runs through a sequence of operations on the documents.
性能测试代码首先将测试中使用到的文档读入到内存中,然后对文档进行一系列的操作。
Code profiling should be done in the early stages of development, or as a first performance test after development.
代码分析应在开发的早期阶段进行,或将其作为开发后的第一个性能测试。
If the unit test cases cannot be successfully completed, either due to bugs in the application or the lack of unit test code, then the application should not be accepted for performance testing.
如果单元测试案例因为应用程序中的错误或缺少单元测试代码而无法被成功完成,那么应用程序不应该被性能测试所接受。
This type of modification requires you to add custom code to the performance test, something I'll explain how to do in a future article.
这种类型的修正需要您在性能测试中增加定制的代码,这些我将在以后的文章中进行解释。
The performance comparisons use the same test code as earlier articles, a seismic data retrieval service.
性能比较使用与之前文章相同的测试代码,即地震数据查询服务。
Listing 6 shows the main parts of the test code I'll use to check out the performance.
清单6显示用于检查性能的测试代码的主要部分。
You can complement commit builds with more heavy-weight style builds that run component, functional, performance test and even code inspections, for example ( Resources).
可以为提交构建补充一些更重量级的构建,例如像运行组件测试、功能测试、性能测试以及甚至执行代码检查的构建(请参阅参考资料)。
IBM Rational Performance Tester can supply variable data to dynamically load test data, either straight from the CSV file or from custom code.
IBMRationalPerformance Tester能够为动态加载测试数据提供变量数据,或者直接从CSV文件中提供,或者从定制代码中提供。
When editing test scripts, you must edit these elements (Figure 5) to incorporate the Rational Performance Tester data pool, custom code, reference, and other all functions that can be used.
在您编辑测试脚本时,您必须编辑这些元素(图5)以集成RationalPerformance Tester数据池、引用,而且可以使用其他所有的功能。
Rational Performance Tester utilizes the SRC folder within a project as the default for custom code components, in a package named test.
RationalPerformance Tester按默认的定制代码构件来使用项目中的src文件夹,它位于一个名为test的包中。
Note: More information on Rational Performance Tester custom code can be found in the Help section Extending test execution with custom code.
注意:可以在Help部分的Extendingtestexecutionwithcustomcode中找到更多关于RationalPerformance Tester自定义代码的信息。
This problem is called "warmup": When you want to do performance test some code, you need to run the code several times (say, 10 times).
这个问题被称为“热身”:当你想做性能测试一些代码,你需要多次运行代码(10次)。
Mostly, software development projects depend on code test, structural test and performance test to identify bugs.
大部分软件开发项目依靠结合代码检查、结构测试和功能测试来识别软件缺陷。
Mostly, software development projects depend on code test, structural test and performance test to identify bugs.
大部分软件开发项目依靠结合代码检查、结构测试和功能测试来识别软件缺陷。
应用推荐