Consider a benchmark that aims to determine the time it takes to access an array element: the task should not create the array.
假设一次基准测试希望度量出访问某个数组元素所用的时间:这个任务应该不用创建数组。
Note that Benchmark by default executes the task several times in order to gather statistics, and these multiple executions have the nice side effect of eliminating OSR as a performance issue.
注意,Benchmark在默认情况下会多次执行任务来收集统计数据,多次执行的副作用是消除OSR对性能的影响。
Another approach (which the Benchmark class USES) is simply to execute the task continuously for a predetermined, reasonably long time.
另一种方法是在一个预先确定的长度合理的时间段内连续执行任务(benchmark类就使用这种方法)。
Our benchmark tests typically measure the efficiency and the speed at which the Domino server performs a certain task.
我们的基准测试通常测量Domino服务器执行特定工作的的效率和速度。
The framework is easy to use for most benchmarking needs: just package the target code into some type of task object (either a Callable or Runnable) and then make a single call to the benchmark class.
这个框架很容易满足大多数基准测试需求:只要把目标代码打包成特定类型的任务对象(Callable或Runnable),然后调用benchmark类。
So, I avoided simple code like new Benchmark (task), which carries out 60 measurements (by default).
因此,我避免使用newBenchmark (task)这样的简单代码(它在默认情况下执行60次度量)。
Belongs to measurement method, the performance benchmark is a well defined task or a set of well defined tasks, which is a test used to evaluate a computer system or component.
性能基准程序法属于测量法,以单个良好定义的任务或者一组任务形式出现,用来度量计算机系统或构件性能的一个测试。
Belongs to measurement method, the performance benchmark is a well defined task or a set of well defined tasks, which is a test used to evaluate a computer system or component.
性能基准程序法属于测量法,以单个良好定义的任务或者一组任务形式出现,用来度量计算机系统或构件性能的一个测试。
应用推荐