检查每条代码路径。
Focus on improving the critical code path.
将精力主要放在关键代码路径的改进上。
Run the application using one code path and capture its SQL.
使用一个代码路径运行应用程序,并捕捉它的SQL。
Identify where the time is spent and do code path analysis if needed.
如果需要的话,还要确定在哪儿花费了时间并进行代码路径分析。
After interpreting a code path a certain number of times, it is compiled into machine code.
在解释代码路径一定次数之后,会把它重新编译成机器码。
Or, to put it another way, use the same code path for errors as you use in normal operation.
或者换一种说法,正常操作运行的代码和错误时运行的是一样的。
A critical code path is one that takes a long time to process or is very frequently executed.
关键代码路径是处理时间长或频繁执行的代码路径。
Minimize the number of remote calls to reduce the overhead imposed by remote calls in your code path.
尽可能减少远程调用的数量,以减少由于代码路径中的远程调用带来的系统开销。
This rule is reported when a private field in your code exists but is not used by any code path.
当代码中存在私有字段,但是任何代码路径都未使用它时,将报告此规则。
As in the NEW_ORDER transaction, all steps have been collected into one SQL table function to save code path.
就像在NEW_ORDER事务中一样,所有的步骤被收集到一个sql表函数中,以节省代码路径。
The unit test does not produce a final result until the code path through the method has been completed.
直到整个方法的代码路径全部完成,单元测试才会产生最终结果。
First, the time taken by the JIT to analyze and compile the code path is included in the runtime of the test.
首先,测试的运行时间当中包含了JIT用于分析和编译代码路径所花的时间。
Make sure there's no code path where the same object is released more than once. Check error code paths.
不要重复释放同一对象。检查异常处理代码的情况。
With the stub method, the application has to be aware it is in "stub mode" so it can exercise the different code path.
使用stub方法时,应用程序需要知道它正处在“stub模式”下,这样才可以执行不同的代码路径。
But assuming the types are okay, the code path is chosen first by a polymorphic dispatch, and second by procedural switch.
但是假定类型没问题,那么代码路径首先由多态分派选中,其次由过程切换选中。
Also, the style helps document the equal role of the two objects involved in determining the appropriate code path to take.
还有,对于确定要采取的适当代码路径时所涉及的两个对象,该样式有助于记录它们的同等作用。
In recap, most OOP programming is single dispatch; that is, just one designated object determines which code path is taken.
现在我们回忆一下,大部分OOP编程都是单一的分派;这就是说,只有一个指定的对象用来确定要走哪条代码路径。
Do code path analysis to see if there is a synchronized block in the code that is blocking requests to execute concurrently.
进行代码路径分析,以查看阻塞请求并发执行的代码中是否存在同步阻塞。
Again, this can be attributed to some additional overhead in reflective invocation, a longer code path, and the tracing activity.
这还是要归因于反射调用中的额外开销、较长的代码路径和跟踪活动。
A particular code path is accessed frequently on each request but the data only needs to be fetched, applied, modified, or updated once.
对于每个请求,要经常访问某个特定的代码路径,但是数据却只需提取、应用、修改或更新一次。
This section provides a breakdown of the code path each thread in a currently existing process traversed to put it in its current state.
这一部分提供代码路径的一个breakdown,当前存在的进程中的每个线程要遍历该路径,以进入其当前状态。
The purpose of these optimizations is to avoid invocation of the regular SQL runtime interpreter wherever possible to shorten the code path.
这些优化的目的是为了可以在任何缩短代码路径的地方,避免调用常规的SQL运行时解释器。
Run the application using another code path to capture the remaining SQL; then rebind and re-run the application using static SQL execution.
使用另一条代码路径运行应用程序,以捕捉剩下的sql;然后,使用静态SQL执行重新绑定并重新运行应用程序。
In the Performance Call Graph view (Figure 3), the line's thickness indicates the amount of time the application spends along that code path.
在性能调用图视图(图3)中,线的粗细指出应用程序沿着代码路径花费的时间。
AIX does not store information about which code path allocated a particular chunk of memory by default, so this information is not easy to get.
AIX未存储关于哪些代码路径默认分配了特定内存块的信息,但这些信息很容易获得。
When tearing apart ASP.NET Forums 1.0 and rebuilding what became Community Server, we found that the code path for adding a new post was pretty slow.
剖析 ASP.NETForums 1.0并重新构建组成社区服务器的内容时,我们发现发布新帖子的代码路径非常慢。
If you're a Linux kernel developer, you probably find yourself coding highly architecture-dependent functions or optimizing a code path pretty often.
如果您是Linux内核的开发人员,您会发现自己经常要对与体系结构高度相关的功能进行编码或优化代码路径。
However, if reads greatly outnumber modifications, you can combine intrinsic locking and volatile variables to reduce the cost on the common code path.
然而,如果读操作远远超过写操作,您可以结合使用内部锁和volatile变量来减少公共代码路径的开销。
With NVIDIA not supporting DX10.1, doing anything DX10.1 becomes less attractive to a developer because they need to write a DX10 code path anyway.
与NVIDIA不支持dx10.1,做任何dx10.1变得那么有吸引力,以开发,因为他们需要写一dx10的代码路径无论如何。
It looks for cases where a code path will or could cause a null pointer exception, and it also looks for cases in which there is a redundant comparison to null.
它查找代码路径将会或者可能造成null指针异常的情况,它还查找对null的冗余比较的情况。
应用推荐