在每一个实例下,我运行一个简单的程序,测定循环调用一个方法10,000,000次所需的运行时间,我调用了同步和非同步两个版本,并比较了结果。
In each case, I ran a simple program that measured the run time of a loop calling a method 10,000,000 times, calling both a synchronized and an unsynchronized version, and compared the results.
这样的转换需要精心考虑方法,试验项目用于提前测定转换时间,高级设置可实现快速转换。
Such a transition comes from careful consideration of options, pilot projects to gauge conversion time in advance, and advanced setup for fast conversion.
他苦思了很长时间并且仍然无法找出方法来测定黄金的重量和密度。
He had struggled for a long period and still couldn't figure out the method to do that.
应用推荐