• Even within this limited definition of performance, pitfalls abound in trying to benchmark code accurately.

    即使如此狭义性能定义之下,精确地进行代码基准测试仍然有很多困难。

    youdao

  • In fact, if we go look at the benchmark code, we will see that the table is created, populated, and used, but statistics are never updated.

    事实上如果我们一下基准代码,我们就会发现该表被创建填充使用但是统计信息没有被更新

    youdao

  • The code for these examples is based on the benchmark program I used in the preceding article, with some simplifications.

    这些示例代码是以上篇文章使用基准程序为基础的,并进行了一些简化。

    youdao

  • Toward the end of writing high-performance code, developers often write small benchmark programs to measure the relative performance of one approach against another.

    开发人员在以编写高性能代码为目标时候,常常编写基准程序度量种方法相对于一种方法性能

    youdao

  • Once the code is in a steady state then the benchmark must run it several times and compute a statistical analysis of the results.

    代码达到稳定状态之后基准必须段代码运行多次,然后才能对结果做出有效统计分析

    youdao

  • To demonstrate the performance cost of using reflection, I prepared a set of benchmark programs for this article (see Resources for a link to the full code).

    为了阐述使用反射性能成本本文准备了基准程序(参考资料,完整代码链接)。

    youdao

  • You can change a parameter, a line of code, or a workload item, and rerun your benchmark to get a good measurement of the impact of the change.

    可以改变参数代码或者工作负载甚至可以重新运行基准测试以获得好的度量结果。

    youdao

  • Most native XML databases have tools to benchmark or profile code.

    大多数原生xml数据库拥有一些工具来对代码进行基准测试剖析

    youdao

  • The API for most uses is simple: you supply the code to be benchmarked to a Benchmark constructor.

    API基本用法简单:把进行基准测试的代码提供一个Benchmark构造函数

    youdao

  • So, I avoided simple code like new Benchmark (task), which carries out 60 measurements (by default).

    因此避免使用newBenchmark (task)这样简单代码(默认情况下执行60次度量)。

    youdao

  • The linked article continues with the benchmark results comparing the code before and after the merge, which shows significant speed ups with the Joni code.

    Nutter接着给出合并代码前后基准测试结果对比,数据显示出Joni代码带来了显著速度提升。

    youdao

  • The test code used to benchmark the speedup provided by the six SPEs available on the PS3 USES the Cell SDK to embed code and to pass data to the SPEs through the EIB.

    测试代码PS 3六个SPE提供加速效果进行基准测试,它使用CellSDK嵌入代码通过EIB将数据传递SPE。

    youdao

  • Six years later, I run the code in Listing 1 on this modern configuration (which I use for every benchmark result in this article unless I note otherwise).

    年后在下面的现代配置运行清单1中的代码(除非另外说明本文中的所有基准测试结果采用这种配置)。

    youdao

  • After all the design, code generation or recompiling, and performance tuning, the next critical step to deploying a complex application is that a benchmark phase occur.

    在完成所有设计代码生成或者重新编译性能优化之后部署复杂应用程序一个关键步骤进行基准测试。

    youdao

  • Unfortunately, that dead-code optimization that makes such short work of your benchmark (possibly optimizing it all away) is not going to do quite as well with code that actually does something.

    不幸是,能够的评测工作非常(可能会把评测完全优化)的死代码优化在处理实际些工作的代码时,做得不会那么好了。

    youdao

  • When your code is functional and accurate — and seemingly or actually slow — your first step is to quantify, or benchmark, its performance.

    代码正确且能实现相应的功能时,不管表面上看起来运行缓慢还是实际如此,首先要做的就是性能进行测试基准测试。

    youdao

  • 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.

    这个框架容易满足大多数基准测试需求只要目标代码打包特定类型任务对象(CallableRunnable),然后调用benchmark类。

    youdao

  • In Listing 1, main defines the code to be benchmarked as a Callable and simply supplies it to a benchmark constructor.

    清单1中,main测试的代码定义为Callable,然后提供Benchmark构造函数

    youdao

  • I have chosen (a bad choice) to not include code to align variables in the benchmark.

    选择(一个选择),基准测试中,通过包含代码对其变量

    youdao

  • The source code available with this article includes a micro-benchmark application, which executes a stack in a tight loop.

    本文随附的源代码包含一个微型基准应用程序紧密循环中执行堆栈

    youdao

  • The source code available with this article includes a micro-benchmark application, which executes a stack in a tight loop.

    本文随附的源代码包含一个微型基准应用程序紧密循环中执行堆栈

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定