MCPcopy
hub / github.com/shopspring/decimal / Benchmark_FloorRegular

Function Benchmark_FloorRegular

decimal_bench_test.go:68–74  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

66}
67
68func Benchmark_FloorRegular(b *testing.B) {
69 input := New(200, -2)
70 b.ResetTimer()
71 for i := 0; i < b.N; i++ {
72 input.Floor()
73 }
74}
75
76func Benchmark_DivideOriginal(b *testing.B) {
77 tcs := createDivTestCases()

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
FloorMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…