- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for benchmarking (0.16 sec)
-
internal/grid/benchmark_test.go
PutByteBuffer(resp) n++ } atomic.AddInt64(&ops, int64(n)) atomic.AddInt64(&lat, latency) }) spent := time.Since(t) if spent > 0 && n > 0 { // Since we are benchmarking n parallel servers we need to multiply by n. // This will give an estimate of the total ops/s. latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
src/runtime/slice_test.go
// but not the "normal" (occasionally grow) path, // because it is a blend of the other two. // We use small numbers and small sizes in an attempt // to avoid benchmarking memory allocation and copying. // We use scalars instead of pointers in an attempt // to avoid benchmarking the write barriers. // We benchmark four common sizes (byte, pointer, string/interface, slice), // and one larger size. func BenchmarkAppendInPlace(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 09:45:44 UTC 2020 - 10.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
memprofilerate = flag.Int64("memprofilerate", 0, "set runtime.MemProfileRate to `rate`") benchmarkFlag = flag.String("benchmark", "", "set to 'mem' or 'cpu' to enable phase benchmarking") benchmarkFileFlag = flag.String("benchmarkprofile", "", "emit phase profiles to `base`_phase.{cpu,mem}prof") flagW ternaryFlag FlagW = new(bool) // the -w flag, computed in main from flagW )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
// total number of parts. xlMeta.Parts = make([]ObjectPartInfo, totalParts) for i := 0; i < totalParts; i++ { // hard coding hash and algo value for the checksum, Since we are benchmarking the parsing of xl.meta the magnitude doesn't affect the test, // The magnitude doesn't make a difference, only the size does.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go
t.Errorf("Expected user1-different") } } var bKey string // use a realistic token for benchmarking
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 20.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. * * @author mike nonemacher * @author Martin Buchholz * @since 11.0 */ @GwtIncompatible @J2ktIncompatible @J2ObjCIncompatible // gc @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go
webhooktesting.ConvertToMutatingTestCases(webhooktesting.NewNonMutatingTestCases(serverURL), "test-webhooks")...) for _, tt := range testCases { // For now, skip failure cases or tests that explicitly skip benchmarking if !tt.ExpectAllow || tt.SkipBenchmark { continue } b.Run(tt.Name, func(b *testing.B) { wh, err := NewMutatingWebhook(nil) if err != nil { b.Errorf("failed to create mutating webhook: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 11K bytes - Viewed (0) -
src/math/big/arith_test.go
y := rndW() z := make([]Word, n) b.Run(fmt.Sprint(n), func(b *testing.B) { b.SetBytes(int64(n * _S)) for i := 0; i < b.N; i++ { addVW(z, x, y) } }) } } // Benchmarking addVW using vector of maximum uint to force carry flag set func BenchmarkAddVWext(b *testing.B) { for _, n := range benchSizes { if isRaceBuilder && n > 1e3 { continue } y := ^Word(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:43:52 UTC 2022 - 19.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. * * @author mike nonemacher * @author Martin Buchholz * @since 11.0 */ @GwtIncompatible @J2ktIncompatible @J2ObjCIncompatible // gc @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go
} stopCh := make(chan struct{}) defer close(stopCh) for _, tt := range webhooktesting.NewNonMutatingTestCases(serverURL) { // For now, skip failure cases or tests that explicitly skip benchmarking if !tt.ExpectAllow || tt.SkipBenchmark { continue } b.Run(tt.Name, func(b *testing.B) { wh, err := NewValidatingAdmissionWebhook(nil) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 11.9K bytes - Viewed (0)