Frequency of calls and duration of method execution are two performance Numbers that should be captured.
调用的频率和方法执行的持续时间是两个应该被获取的性能数字。
You can now call this method and interrupt execution at any point of the loop, capturing the state of the program.
现在,可以调用这个方法并在循环的任意位置中断执行,这会捕获程序的状态。
If there is no entry in log, the code skips the rest of the method because test case execution is clean and there is no information to capture.
如果日志中没有条目,那么代码就会跳过方法的其余部分,因为测试用例的执行是干脆的,并没有得到什么信息。
This method USES immediate execution, and doesn't store any data during execution.
这个方法使用了即时执行,并且不会在执行的时候保存任何数据。
There are two tests displayed; the first represents the successful execution of the constructor for our class, and the second is the execution of the actual method call.
这里显示了两个测试:第一个展示了类构造器的成功执行,第二个是真实方法调用的执行。
Be careful in using precise timings as a gauge for the execution time of a method; the setup and tear down time of a test is included in the overall execution time.
使用精确计时作为方法执行时间的标准时要小心;测试的建立和销毁时间包含在整个执行时间中。
After the SOAP server attempts to execute the method, it assembles a SOAP response XML document around the result of the execution and passes it back to the SOAP client.
SOAP服务器尝试执行方法后,它组装包含执行结果的SOAP响应XML文档,并将它发回SOAP客户机。
Flaying of humans was used as both a method of torture and execution, depending on how much of the skin is removed.
针对人的剥皮是为了折磨受刑人,或执行死刑,基于被剥去多少皮肤。
Method Invocation, Method Invocation Table, Execution Flow, Execution Flow Table, and UML2 Sequence Diagram views
方法调用,方法调用表,执行流,执行流表和UML2序列图视图
Method execution timings provide insight on what percentage of the overall response time is spent on specific tasks, and helps identify application bottlenecks.
方法执行的时间开销使您深入了解在某些任务上花费的响应时间的占全部响应时间的百分比,也有助于指出应用程序的瓶颈。
Typical join points in AspectJ include method calls, access to class members, and the execution of exception handler blocks.
AspectJ中典型的joinpoint包括方法调用、对类成员的访问以及异常处理程序块的执行。
The fire method uses the persistent data stored in the rule bean and the parameters passed as arguments for the execution of the rule.
fire方法使用了存储在规则bean及为了执行规则而作为变量传递的参数中的数据。
The second collection of practices in the Portfolio Management method, Execution and Validation, is the second part of the overall portfolio assessment effort, which is summarized as follows
PortfolioManagement方法中第二个实践集合,即执行和验证,是整个项目组合管理工作中的第二部分,如下文所概括的
The extended exporter accommodates the creation of an extended ModelMBean that supports the interception of attribute changes, as well as before and after method execution notifications.
扩展的导出器可以创建扩展的ModelMBean,它支持截获属性的改变以及before和after方法执行的通知。
The call to the stop method records the execution time and prints a log message.
对stop方法的调用记录了执行时间并打印日志信息。
Because JUnit itself decorates all test cases with a setUp and a tearDown method, execution times must be considered within the overall context of a test scenario.
由于JUnit本身用一个setUp和一个tearDown方法装饰所有测试样例,所以要在测试场景的整个上下文中考虑执行时间。
I'd also like to end up with an aspect I can use for logging execution paths and associated performance metrics so I can see which method calls are taking the longest times to execute.
最后我还想做成一个可以用来记录执行路径和相关性能度量的aspect,这样就可以看到执行时间最长的方法调用。
The fire method is triggered for the rule execution and the necessary logic is provided for the execution of business rules, such as selection of the manufacturing plant.
触发fire方法用于执行规则,并为执行业务规则(如加工工厂的选择)提供了必要的逻辑。
TestCaller is templatized with this class and, as in the case of TestRunner, you make a call to the run method for test execution.
用这个类对TestCaller 进行模板化,与使用TestRunner 时一样,通过调用run方法执行测试。
To do the actual collecting, the Template Method TestResult.runProtected(..) brackets test execution with start and end housekeeping calls and interprets exceptions thrown as negative test results.
为了完成采集工作,TemplateMethod TestResult.runProtected(..) 将测试执行放在start和end 辅助调用(housekeeping call)之间,把抛出的异常解释为负的测试结果。
This steps over the highlighted line of code and continues execution at the next line in the same method (or it will continue in the method from which the current method was called).
该操作会越过高亮显示的那行代码,继续执行同一方法中的下一行代码(或者继续执行调用当前方法的那个方法的下一行代码)。
The method print_error() aids in diagnosing error conditions during the execution and shows the usage of the SQLGetDiagRec() and the SQLGetDiagField() functions.
方法 print_error() 帮助诊断执行期间的错误状况,并显示SQLGetDiagRec()和SQLGetDiagField() 函数的使用情况。
The @Out annotations tell Seam to assign values of the fans and person fields to the managed components of the same names after any method execution.
注解@In告诉Seam,在此会话bean中,执行任何一个方法之前,Seam就会把由JSF表单构造的名为person组件赋给该person字段(通过依赖注入)。
The compilation process occurs when the method is actually run, and the compilation techniques employed depend on analysis of the actual method during execution.
JIT编译是自动执行的。在实际运行方法时执行编译过程,采用的编译技术取决于执行期间对实际方法的分析。
The setUp method is called before execution of a unit test, and tearDown is called when the test is executed.
在执行单元测试之前调用setUp方法,在测试执行完时调用tearDown。
In this case, I used the cycle method, where I ran the test for a fixed number of cycles, and a cycle is defined as one complete execution of the test script.
在本例中,我使用cycle方法,其中,我以固定的周期数运行测试,一个周期定义为测试脚本的一次完整执行。
This time, a string concatenation has occurred within the same method, and the input parameter is now bound to a String type argument at function execution time.
这次,相同方法内发生了字符串串联,并且现在输入参数在函数运行时受到String类自变量的限制。
The optimizer calculates and compares the costs of each join method and selects the best one to use when evaluating query execution plans.
当评估查询执行计划时,优化器计算并比较每种连接方法的成本,然后选择要使用的最佳方法。
Users and user groups can be created that can be granted or denied execution rights to any EJB component or method.
创建的用户和用户组可以被授予或禁止对任何EJ b组件或方法的操作权。
By 1930 when Ransome wrote Swallows and Amazons it was firmly enough established as the favourite pirate method of execution.
1930年,当兰瑟姆在创作《燕子和鹦鹉》的时候,这种海盗们最喜欢的处决方式就已经相当稳固了。
应用推荐