(b *testing.B)
| 1560 | } |
| 1561 | |
| 1562 | func BenchmarkDiffMainLarge(b *testing.B) { |
| 1563 | s1, s2 := speedtestTexts() |
| 1564 | |
| 1565 | dmp := New() |
| 1566 | |
| 1567 | b.ResetTimer() |
| 1568 | |
| 1569 | for i := 0; i < b.N; i++ { |
| 1570 | dmp.DiffMain(s1, s2, true) |
| 1571 | } |
| 1572 | } |
| 1573 | |
| 1574 | func BenchmarkDiffMainRunesLargeLines(b *testing.B) { |
| 1575 | s1, s2 := speedtestTexts() |
nothing calls this directly
no test coverage detected