MCPcopy
hub / github.com/syncthing/syncthing / BenchmarkAPI_db_completion

Function BenchmarkAPI_db_completion

test/http_test.go:248–250  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

246}
247
248func BenchmarkAPI_db_completion(b *testing.B) {
249 benchmarkURL(b, "/rest/db/completion?folder=default&device="+protocol.LocalDeviceID.String())
250}
251
252func BenchmarkAPI_db_file(b *testing.B) {
253 benchmarkURL(b, "/rest/db/file?folder=default&file=knownfile")

Callers

nothing calls this directly

Calls 2

benchmarkURLFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected