MCPcopy
hub / github.com/syncthing/syncthing / bench

Function bench

build.go:413–417  ·  view source on GitHub ↗
(tags []string, pkgs ...string)

Source from the content-addressed store, hash-verified

411}
412
413func bench(tags []string, pkgs ...string) {
414 lazyRebuildAssets()
415 args := append([]string{"test", "-run", "NONE", "-tags", strings.Join(tags, " ")}, benchArgs()...)
416 runPrint(goCmd, append(args, pkgs...)...)
417}
418
419func integration(bench bool) {
420 lazyRebuildAssets()

Callers 1

runCommandFunction · 0.85

Calls 3

lazyRebuildAssetsFunction · 0.85
benchArgsFunction · 0.85
runPrintFunction · 0.85

Tested by

no test coverage detected