MCPcopy Create free account
hub / github.com/cockroachdb/apd / BenchmarkBigIntDiv

Function BenchmarkBigIntDiv

bigint_test.go:2917–2928  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

2915}
2916
2917func BenchmarkBigIntDiv(b *testing.B) {
2918 sizes := []int{
2919 10, 20, 50, 100, 200, 500, 1000,
2920 1e4, 1e5, 1e6, 1e7,
2921 }
2922 for _, i := range sizes {
2923 j := 2 * i
2924 b.Run(fmt.Sprintf("%d/%d", j, i), func(b *testing.B) {
2925 benchmarkBigIntDiv(b, j, i)
2926 })
2927 }
2928}

Callers

nothing calls this directly

Calls 2

benchmarkBigIntDivFunction · 0.85
RunMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…