在这类操作的性能方面,Sun 1.4.1 JVM显示了比1.3.1版本很大的改进,在我的测试中运行速度大约是1.3.1版本的开部。
JVM shows greatly improved performance over the 1.3.1 version for this type of operation, running about seven times faster in my tests. The IBM 1.4.0.
如果我们需要在每次单元测试前将数据库重新设置到一个已知状态,那么测试会相当复杂并且运行速度自然会比我们期望得要慢。
If we had to reset a database to a known state before each unit test, the tests would be quite complex and certainly would run slower than we desire.
在查看失败报告之前,您是否注意到单元测试运行速度很快,而在运行集成测试时会有明显的延迟?
Before you view the failing report, did you notice how quickly the unit tests ran, as well as the noticeable delay in running the integration tests?
应用推荐