第一个是最直接了当的,优化代码。
此外,这种越界操作会干扰JVM优化代码执行的能力。
Further, the transition can interfere with the JVM's ability to optimize code execution.
优化代码。
另一种方法是先探测每个浏览器的特性,然后使用针对它们的优化代码。
The other approach is to sniff the browser and use the optimal code for each browser.
想要降低用户等待时间,优化代码是一个很实诚且相当显而易见的方法。
Optimizing your code to run faster is an honest and fairly obvious way to go about decreasing wait times for your users.
现在,我们可以通过检查一些代码来查看GWT编译器是如何优化代码的。
Now we can take a look at some code to see how the GWT compiler optimizes it.
优化代码质量最重要的事情之一是帮助团队成员学习那些重要的基本知识。
One of the first things to do to improve the quality of the code a team produces is to help team members learn about the important basics.
代码评测器帮助鉴别和优化代码,并且在理解对象使用和潜在内存泄露方面真的很有帮助。
A code profiler helps identify and optimize code hot spots, and really helps in understanding object usage and potential memory leaks.
开发了用于像FORTRAN的程序设计语言的特殊编译器来优化代码,以利用向量处理器。
Special compilers for programming languages like FORTRAN were developed to optimize the code to take advantage of the vector processors.
然而进程跳跃到数据库的成本依然很高,因此数据层的性能是您在优化代码时首先要考虑的问题。
However, the cost of process hopping to the database is still high, thus performance on the data tier is the first place to look when optimizing your code.
它也允许我们在部署期间执行广泛的优化,即潜在地扫描字节码和优化代码路径,而不会影响在线系统。
It also allows us to perform extensive optimizations during deployment, potentially scanning byte code and optimizing code paths, without impacting online systems.
拥有了XDebug度量之后——而不是之前——您可以优化代码来调整算法、减少瓶颈并减轻过多的内存使用。
Armed with XDebug metrics — and not before — you can optimize your code to tweak algorithms, reduce bottlenecks, and relieve excessive memory use.
如果您是Linux内核的开发人员,您会发现自己经常要对与体系结构高度相关的功能进行编码或优化代码路径。
If you're a Linux kernel developer, you probably find yourself coding highly architecture-dependent functions or optimizing a code path pretty often.
后续的两篇文章将会深入探究SPE和PPE间的通信以及如何使用 SPE汇编语言的独特特性来优化代码。
The next two articles will explore communication between the SPE and the PPE and how to use the unique features of the SPE's assembly language to optimize your code.
我们用的是测试驱动的方法,首先写一个我们希望通过的测试,一旦这个测试通过,我们再回头看我们可以怎么来优化代码。
We did it test-driven, starting with a test that we wanted to succeed and once it passed we looked into how we could improve the code.
全面的单元测试集能够轻松地检查行为是否正确,让开发人员能够专心地优化代码,而不必担心是否会破坏代码的正常行为。
A comprehensive set of unit tests makes it easy to verify the behavior, letting you freely play "what if" games with optimization without worrying that you've broken something.
Profiling是一个非常有用的优化代码的工具,但是它的作用是判断问题的位置;它并不能真正指出潜在的问题是什么,以及如何解决这些问题。
Profiling is a useful tool for optimizing code, but all it does is identify the potential location of the problem; it doesn't actually point out what the potential issue is or how to resolve it.
更容易进行扩展,因此可以轻松实现高级功能和优化的代码调试。
It is more easily extendible. This allows easy implementation of advanced features and optimized code debugging.
您可以找到GCC的一个补丁,它用来添加ppe的流水线定义,这样就可以创建优化的代码。
You can get a patch to GCC to add a pipeline definition for the PPE so you can create optimized code.
通过自动化代码质量评审来优化开发。
Optimize development by automating code quality reviews early.
这些资源应该用来尝试可行的方案,而不是消耗到错综复杂的软件设计、代码优化和基础设施升级。
These resources should be spent trying to figure out what is going to work and not on intricate software designs, code optimization and infrastructure upgrades.
这20%的代码位于“关键路径”上,正是这些方面值得进行性能优化。
This 20% of code is on the "critical path" and it is these areas that are worth optimizing for performance.
导入优化和代码格式化。
ClearCase远程客户端代码优化。
导入声明生成的优化以提高代码质量
Optimizations on generation of import statements to improve code quality
对向量处理过程最明显的优化是对代码进行向量化。
The most obvious optimization to make on a vector process is to vectorize the code.
在这种情况下,要使用更快的CPU并花时间优化底层代码,减少运行它所需的CPU周期。
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.
我希望您已经对oprofile和可以优化内核代码的方法有了一些了解。
I hope you have gained some insight into OProfile and the ways you can optimize the kernel code.
一如既往的,你应该在必要的时候分析和优化你的代码。
As always, you should profile your code and optimize it when necessary.
一如既往的,你应该在必要的时候分析和优化你的代码。
As always, you should profile your code and optimize it when necessary.
应用推荐