-
- Downloads
Add performance tests for MyersDiff
Add some tests which make sure that the diff algorithm really behaves in the promised O(N*D) manner. This tests compute diffs between multiple big chunks of data, measure time for computing the diffs and fail if the measured times are off O(N*D) by more than a factor 10 Signed-off-by:Christian Halstrick <christian.halstrick@sap.com> Change-Id: I8e1e0be60299472828718371b231f1d8a9dc21a7 Signed-off-by:
Robin Rosenberg <robin.rosenberg@dewire.com>
Showing
- org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/DiffTestDataGenerator.java 90 additions, 0 deletions...test/tst/org/eclipse/jgit/diff/DiffTestDataGenerator.java
- org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/MyersDiffPerformanceTest.java 196 additions, 0 deletions...t/tst/org/eclipse/jgit/diff/MyersDiffPerformanceTest.java
- org.eclipse.jgit.test/tst/org/eclipse/jgit/util/CPUTimeStopWatch.java 111 additions, 0 deletions...jgit.test/tst/org/eclipse/jgit/util/CPUTimeStopWatch.java
Loading
Please register or sign in to comment