MCPcopy Create free account
hub / github.com/cogentcore/core / prepareFilesToDiff

Function prepareFilesToDiff

texteditor/difflib/difflib_test.go:438–441  ·  view source on GitHub ↗
(count, seed int)

Source from the content-addressed store, hash-verified

436}
437
438func prepareFilesToDiff(count, seed int) (As, Bs [][]string) {
439 defer runtime.GC()
440 return tester.PrepareStringsToDiff(count, seed)
441}
442
443func BenchmarkDiffer(b *testing.B) {
444 A, B := prepareFilesToDiff(b.N, 0)

Callers 2

BenchmarkDifferFunction · 0.70
BenchmarkMatcherFunction · 0.70

Calls 1

PrepareStringsToDiffFunction · 0.92

Tested by

no test coverage detected