MCPcopy Index your code
hub / github.com/upper/db / BenchmarkUpdate1

Function BenchmarkUpdate1

internal/sqlbuilder/builder_test.go:1654–1659  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

1652}
1653
1654func BenchmarkUpdate1(b *testing.B) {
1655 bt := WithTemplate(&testTemplate)
1656 for n := 0; n < b.N; n++ {
1657 _ = bt.Update("artist").Set("name", "Artist").String()
1658 }
1659}
1660
1661func BenchmarkUpdate2(b *testing.B) {
1662 bt := WithTemplate(&testTemplate)

Callers

nothing calls this directly

Calls 4

WithTemplateFunction · 0.85
StringMethod · 0.65
SetMethod · 0.65
UpdateMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…