来自IBM 的大多数分级和基准数字都涉及邮件工作量(因为它们是可重复的),从而允许我们在测试方法中保持一致。
Most sizing and benchmark numbers from IBM revolve around mail workloads because they are repeatable, allowing us to be consistent in our test methodology.
最实用的方法就是减少设计阶段中的案例数,这样的话稍后需要进行基准测试的案例就比较少了。
The most practical way is to minimize the number of cases during the design phase so that fewer cases need to be benchmarked later.
尽管这些目标值可能会在确定基准的过程中失效,但可以帮助规划这个级别本身的测试方法。
Given the fact that these target values can fail during the benchmarking mode, it helps to plan the test approach at this level itself.
至于性能评估的其它方面,要知道某个更改是否有益,唯一稳妥的方法就是进行基准测试。
As in other areas of performance evaluation, the only sure way to know if a change has a beneficial effect is to conduct benchmarks.
因此,本文使用Sort作为示例测试基准讲解性能调优方法。
So, Sort is used as the example testing benchmark to show you the performance tuning method.
要获得基准测试结果报告,最容易的方法是调用 Benchmark.toString方法。
The easiest way to get a benchmark results report is to call the Benchmark.toString method.
基准:有首次测试中,我先确定基准评测的方法。
Baseline: in the first test I sought to obtain a baseline measurement.
通常,有一个很好的基准测试可以用来查看gprof对于帮助对应用程序进行优化是多么有用,方法是在time命令下面执行它。
In general, a good benchmark for seeing how useful gprof will be in helping you optimize your application is to run it under the time command.
关于OSR的最后一点提示:通常,只有程序员很懒惰,把所有东西都放在一个方法(比如main)中时,它才会给基准测试带来性能问题。
One final comment about OSR: it is usually only a performance problem in benchmarking, when programmers are lazy and put everything in a single method such as main.
为了演示这个框架的使用方法,我把main 替换为清单 2中的代码,从而重新对 清单1 中的代码进行基准测试
As a quick application of the framework, I'll rebenchmark the code in Listing 1 by replacing main with the code in Listing 2
在基准测试环境中使用的度量方法不一定可以应用到生产环境,在生产环境中,工作负载可能发生变化,不仅仅是每天、每小时有变化,甚至每分钟都有变化。
Measurements used in a benchmarking environment do not necessarily apply to a production environment, where the workload can change, not only day-to-day and hour-to-hour, but minute-to-minute.
当然了,这个方便的函数很多时候都会连同其他方法一起用来开发相当精确的基准测试应用。
Of course, this handy function is used mostly in conjunction with others that are aimed at developing fairly accurate benchmarking applications.
本文对宁夏工学院测试车床主轴回转误差运动时基准球安装偏心引起的误差进行了分析,并提出了剔除该误差的方法。
This paper analyzes the offcenter error of installing reference ball as testing lathe main spindle rotation errors in Ningxia Institute of Technology and puts forward the way of eliminating errors.
在建立了测量数学模型之后,提出了适用的测试基准建立方法,并对基准建立后的系统误差进行了分析计算。
After the mathematical model of the system is developed, a practical method of establishing a testing datum is advances. Moreover, the system error is analyzed and estimated.
通过实际应用案例,介绍了TPC - C基准测试体系的模型结构和原理,以及以数据库调优技术进行测试的方法。
Through actual test cases, this paper introduces the model structure and principle of TPC-C, also describes how to test with database tuning technology.
我们是首批采纳更具有协作性及更低竞争供应链方法的企业之一,这使得我们能够快速地成为新品种测试中的基准。
We were among the first to adopt a more cooperative and less competitive supply-chain approach, which has enabled us to quickly become a benchmark in experiments with new varieties and product types.
我们是首批采纳更具有协作性及更低竞争供应链方法的企业之一,这使得我们能够快速地成为新品种测试中的基准。
We were among the first to adopt a more cooperative and less competitive supply-chain approach, which has enabled us to quickly become a benchmark in experiments with new varieties and product types.
应用推荐