- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReportMetric (0.1 sec)
-
internal/grid/benchmark_test.go
// This will give an estimate of the total ops/s. latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond) b.ReportMetric(float64(n)*float64(ops)/spent.Seconds(), "vops/s") b.ReportMetric(latency/float64(ops), "ms/op") } }) } }) b.Run("rpc", func(b *testing.B) { for par := 1; par <= 32; par *= 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (windows-amd64), type SysProcAttr struct, ThreadAttributes *SecurityAttributes pkg testing, func Init() pkg testing, method (*B) ReportMetric(float64, string) pkg testing, type BenchmarkResult struct, Extra map[string]float64 pkg text/template, method (ExecError) Unwrap() error pkg time, method (Duration) Microseconds() int64
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Aug 08 18:44:16 UTC 2019 - 452.6K bytes - Viewed (0)