For the purposes of social life, in addition to the convention about harvest-time, a most elaborate code of honour has been established and is on the whole faithfully observed.
为了社会生活目的,除了关于收获季节的惯例外,还制定了一套最详尽的荣誉准则,而且总体上是需要严格遵守的。
Ideally, code pertaining to core functions should not change at all because of the time already invested in testing and stabilizing that portion of code.
在理想情况下,应该根本不修改属于核心功能的代码,因为在这部分代码的测试和稳定性处理方面已经投入了大量时间。
You can examine the coverage analysis data to help you determine which subset of the automation suite needs to be run, allowing you to validate the new code in less time.
这时您就需要检查覆盖率分析的数据,以帮您确定哪些自动化测试的子集需要运行,这样就可以让您在更短的时间内验证新的代码。
Running the tests early and often gives you absolute confidence in your code all the time.
尽早运行测试通常使您在任何时候都对代码充满信心。
Static analysis allows you to focus on more creative aspects of issues that may arise in your application, thus making the time spent in code inspections that much more productive.
静态分析让您可以关注应用程序中引发的问题的更有创造性的方面,因而使得花在代码检查上的时间更有生产力。
In general, profiling your code means determining how much time the computer spends in each part of your code.
一般来说,剖析代码意味着确定计算机在代码的每一部分所花费的时间。
But they're still worth using, because they'll help you identify potential problems in your code in much less time than a manual search.
但是使用它们仍然是值得的,因为与手工查找相比,它们将帮助您在短得多的时间内识别出代码中的潜在问题。
Optimizations such as Just In Time (JIT) compilation, turning bytecodes into native code at runtime, or others are still in the future, so more performance improvements are still to come.
众多优化手段,比如即时编译(JIT),将字节码在运行时转换成原生码,或者其他方法将会在以后出现,所以更多的性能提升仍然值得期待。
This code runs in a respectable time, but a couple of the test assertions fail.
这段代码运行的时间十分合理,但是几个测试断言都失败了。
Middleware software as the hosting environment can provide the necessary code to track the time spent in different software stacks.
中间件软件作为驻留应用程序的环境,可以提供跟踪不同软件组合花费的时间所需的代码。
Really spend a lot of time on any code you may send in and make sure it not only works but it's high quality and memory efficient.
真正花大量时间在你将提交的每一行代码上,并设法确保你的代码不仅是能运行的,而且是高质量并高效的使用内存的。
Don't waste time optimizing this unless you've profiled the code and you really are spending significant time in it — and you won't be.
请不要浪费时间对这个问题进行优化,除非您已经对代码进行了仔细的分析,并且真正要花费大量时间在这上面——可能您并不希望如此。
So if there's a difference in run time, it's not because of the arithmetic code.
所以如果在运行时间上有差异,那么不是因为算术代码)。
To answer this question I decided to look at some of the common idioms that people use in their code all the time.
为了找到问题的答案,我决定去看看人们通常在代码中运用了哪些常见的技巧。
By using lightweight code review techniques, developers can review code in one-fifth the time needed for full, formal code reviews.
通过使用轻量级代码评审技术,开发员只需要花费五分之一的时间就可以进行全面且规范的代码评审工作了。
These embedded strings are converted at bind time based on the code page which is in effect during the bind phase.
在绑定时,将基于在绑定期间有效的代码页转换这些嵌入的字符串。
The feedback loop is the amount of time between making a change in code and seeing the results in the execution of your application on the screen.
反馈周期是从改变代码到在屏幕上看到执行应用程序的结果所用的时间。
In this case, you find yourself throwing faster CPUs at the problem and spending some time optimizing the underlying code to make it run in fewer cycles.
在这种情况下,要使用更快的CPU并花时间优化底层代码,减少运行它所需的CPU周期。
Over time, this code may become unmanageable and soon bugs creep in.
随着时间的流逝,这些代码可能变得难以管理,错误很快就会乘虚而入。
Many Google TEs spend a good deal of their time writing code in the form of automation scripts and code that drives usage scenarios and even mimics a user.
这个角色的主要职责是将测试放在第一位,开发放在第二位。测试工程师花费大量时间在写自动化测试脚本的形式,编写那些驱动使用的场景以及模仿用户使用的代码。
Typically, applications spend some of their time in user code and some in "system code," such as kernel system calls.
通常来说,应用程序在运行时既要花费一些时间来运行用户代码,也要花费一些时间来运行“系统代码”,例如内核系统调用。
Great programmers spend very little of their time writing code - at least code that ends up in the final product.
那些把时间都花在写代码的程序员实在太懒,太愚昧,或者根本“不屑于”从自己的经验中寻找现成的解决方案。
You can see that approximately no time is spent executing code in user space, so gprof will not really be useful here.
我们可以看出几乎没有多少时间被花费在执行用户空间的代码上,因此gprof在此处不会非常有用。
Per Apple's iPhone policy, no application can include code that requires Just-in-Time (JIT) compilation.
根据苹果的iPhone政策,任何应用程序都不能包含需要JIT编译的代码。
Max CPU time is the maximum percentage of time in seconds that the CPU was in use (running both kernel and non-kernel code, including IO wait time).
MaxCPUTime是按秒计算的CPU使用时间的最大百分比(运行内核及非内核代码,包括IO等待时间)。
In this last installment, prepare yourself to witness a full mod_perl site (templates this time; the code base was in Part 4).
在最后一期文章中,我们将了解完整的mod_perl站点(这一次将讨论模板;代码库位于功能丰富的perl: perl和amazon云,第4部分)。
This technique not only allows for the reuse of common concepts and solutions, but it also speeds up development time and results in more maintainable code.
这种技术不仅考虑到通用概念和解决方案的重用,并且还可以加速开发时间和产生更易维护的代码。
If you need time information in your code, verify whether you need the exact time in every case, or (for example) if accuracy to the nearest second would be sufficient.
如果确实需要时间信息,请确定是需要当前准确的时间,还是(例如)准确到最近的秒数就足够了。
We don’t have time to over-engineer code for all the “just in case” scenarios.
我们没有时间让代码过度工程化,以应对所有的“万一”情况。
We don’t have time to over-engineer code for all the “just in case” scenarios.
我们没有时间让代码过度工程化,以应对所有的“万一”情况。
应用推荐