It allows developers to explore a code execution path by showing all calls to, or calls from, a selected method.
它允许开发人员通过显示所有调用或一个选定方法的调用,来探索代码的执行路径。
A particular code path is accessed frequently on each request but the data only needs to be fetched, applied, modified, or updated once.
对于每个请求,要经常访问某个特定的代码路径,但是数据却只需提取、应用、修改或更新一次。
After the previous test, Process a and Process Z diverge, each taking a separate code path, as if both came to a fork in the road and each took a distinct branch.
在上次测试之后,进程a和进程z会出现差异,每个进程会采用单独的代码路径,就像路上出现岔道,每一个都会走上不同的分枝。
Minimize the number of remote calls to reduce the overhead imposed by remote calls in your code path.
尽可能减少远程调用的数量,以减少由于代码路径中的远程调用带来的系统开销。
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)中,线的粗细指出应用程序沿着代码路径花费的时间。
The purpose of these optimizations is to avoid invocation of the regular SQL runtime interpreter wherever possible to shorten the code path.
这些优化的目的是为了可以在任何缩短代码路径的地方,避免调用常规的SQL运行时解释器。
Coverage analysis also helps find out if there are any redundant test cases: tests that exercise the same path in the code over and over again, causing unnecessary delays.
覆盖率分析也可以帮您找到测试用例是否有冗余:测试在代码的同一路径下反复运行,导致了不必要的时间延迟。
If you write code that USES any extra structure members, you'll have to flag it as not portable and, if you're feeling particularly friendly, include an alternate code path that does the same thing.
如果您编写了使用额外结构成员的代码,那么您必须将其标记为不可移植的,并且包含一个完成相同任务的替换代码路径,如果您认为这样做特别友好的话。
As in the NEW_ORDER transaction, all steps have been collected into one SQL table function to save code path.
就像在NEW_ORDER事务中一样,所有的步骤被收集到一个sql表函数中,以节省代码路径。
Let's look at the resulting file path of the above code again.
让我们再次查看上述代码所产生的文件路径。
Also, the style helps document the equal role of the two objects involved in determining the appropriate code path to take.
还有,对于确定要采取的适当代码路径时所涉及的两个对象,该样式有助于记录它们的同等作用。
But assuming the types are okay, the code path is chosen first by a polymorphic dispatch, and second by procedural switch.
但是假定类型没问题,那么代码路径首先由多态分派选中,其次由过程切换选中。
The compiler runs at less predictable times, the JVM switches from interpreted to compiled code at will, and the same code path may be compiled and recompiled more than once during a run.
编译器运行的次数很难预测,JVM按照自己的想法从解释代码切换到编译代码,而且在运行期间,相同的代码路径可能编译、重新编译不止一次。
Identify where the time is spent and do code path analysis if needed.
如果需要的话,还要确定在哪儿花费了时间并进行代码路径分析。
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.
这还是要归因于反射调用中的额外开销、较长的代码路径和跟踪活动。
Let's say you're developing a multithreaded code tracer whose goal is to uniquely identify each thread's path through your code.
比方说您在开发一个多线程代码跟踪器,其目标是通过您的代码惟一标识每个线程的路径。
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未存储关于哪些代码路径默认分配了特定内存块的信息,但这些信息很容易获得。
The goal here is largely to enable meaningful code reuse: Each path component causes dispatch to a relevant code handler.
这样做的主要目的是支持有意义的代码重用:每个路径成分委派给一个相关的代码处理器。
The line of code below searches the PATH variable looking for a semicolon.
下面的代码行搜索PATH变量,查找分号。
In recap, most OOP programming is single dispatch; that is, just one designated object determines which code path is taken.
现在我们回忆一下,大部分OOP编程都是单一的分派;这就是说,只有一个指定的对象用来确定要走哪条代码路径。
First, the time taken by the JIT to analyze and compile the code path is included in the runtime of the test.
首先,测试的运行时间当中包含了JIT用于分析和编译代码路径所花的时间。
Another example is uncommon traps: when a code block is initially compiled, only the most likely code path is compiled, while atypical branches (such as exception paths) are left interpreted.
另一个例子是不常用的分支:在最初编译一个代码块时,只编译最常用的代码路径,而不常用的分支(比如异常路径)仍然采用解释方式。
Focus on improving the critical code path.
将精力主要放在关键代码路径的改进上。
A critical code path is one that takes a long time to process or is very frequently executed.
关键代码路径是处理时间长或频繁执行的代码路径。
Or, to put it another way, use the same code path for errors as you use in normal operation.
或者换一种说法,正常操作运行的代码和错误时运行的是一样的。
Run the application using one code path and capture its SQL.
使用一个代码路径运行应用程序,并捕捉它的SQL。
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模式”下,这样才可以执行不同的代码路径。
However, if reads greatly outnumber modifications, you can combine intrinsic locking and volatile variables to reduce the cost on the common code path.
然而,如果读操作远远超过写操作,您可以结合使用内部锁和volatile变量来减少公共代码路径的开销。
However, if reads greatly outnumber modifications, you can combine intrinsic locking and volatile variables to reduce the cost on the common code path.
然而,如果读操作远远超过写操作,您可以结合使用内部锁和volatile变量来减少公共代码路径的开销。
应用推荐