(b *testing.B)
| 1532 | } |
| 1533 | |
| 1534 | func BenchmarkDiffMainLarge(b *testing.B) { |
| 1535 | s1, s2 := speedtestTexts() |
| 1536 | |
| 1537 | dmp := New() |
| 1538 | |
| 1539 | b.ResetTimer() |
| 1540 | |
| 1541 | for i := 0; i < b.N; i++ { |
| 1542 | dmp.DiffMain(s1, s2, true) |
| 1543 | } |
| 1544 | } |
| 1545 | |
| 1546 | func BenchmarkDiffMainRunesLargeLines(b *testing.B) { |
| 1547 | s1, s2 := speedtestTexts() |
nothing calls this directly
no test coverage detected
searching dependent graphs…