Toward the end of writing high-performance code, developers often write small benchmark programs to measure the relative performance of one approach against another.
开发人员在以编写高性能代码为目标的时候,常常会编写小的基准程序来度量一种方法相对于另一种方法的性能。
Table 7 provides benchmark results for this approach, with the previous results (from Table 6) included for clarity.
表7提供了这种方法的测评结果,并包含了以前的结果(表6)以便进行对照。
Then, you use Ruby's built-in benchmark library to see which approach is faster and by what margin.
然后,可以使用Ruby的内置基准测试库来查看哪种方式更快,快多少。
Another approach (which the Benchmark class USES) is simply to execute the task continuously for a predetermined, reasonably long time.
另一种方法是在一个预先确定的长度合理的时间段内连续执行任务(benchmark类就使用这种方法)。
Taking the prevailing interest rate term structure as benchmark, an approach was discussed for MBS pricing, based on the interest rate paths generated in the method of Monte Carlo.
以市场现行利率期限结构为基准,用蒙特卡罗方法生成利率路径,为房产抵押贷款证券定价。
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.
我们是首批采纳更具有协作性及更低竞争供应链方法的企业之一,这使得我们能够快速地成为新品种测试中的基准。
应用推荐