- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BenchmarkLog (0.14 sec)
-
pkg/log/scope_test.go
// for now, we just make sure this doesn't crash. To be totally correct, we'd need to capture stderr and // inspect it, but it's just not worth it defaultScope.Error("TestBadWriter") } func BenchmarkLog(b *testing.B) { run := func(name string, f func()) { b.Run(name, func(b *testing.B) { o := testOptions() o.OutputPaths = []string{"/dev/null"} if err := Configure(o); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 17:36:09 UTC 2024 - 11K bytes - Viewed (0) -
src/math/cmplx/cmath_test.go
for i := 0; i < b.N; i++ { Cosh(complex(2.5, 3.5)) } } func BenchmarkExp(b *testing.B) { for i := 0; i < b.N; i++ { Exp(complex(2.5, 3.5)) } } func BenchmarkLog(b *testing.B) { for i := 0; i < b.N; i++ { Log(complex(2.5, 3.5)) } } func BenchmarkLog10(b *testing.B) { for i := 0; i < b.N; i++ { Log10(complex(2.5, 3.5)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 48.1K bytes - Viewed (0) -
src/math/all_test.go
} GlobalF = x } func BenchmarkLgamma(b *testing.B) { x := 0.0 y := 0 for i := 0; i < b.N; i++ { x, y = Lgamma(2.5) } GlobalF = x GlobalI = y } func BenchmarkLog(b *testing.B) { x := 0.0 for i := 0; i < b.N; i++ { x = Log(.5) } GlobalF = x } func BenchmarkLogb(b *testing.B) { x := 0.0 for i := 0; i < b.N; i++ { x = Logb(.5)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0)