- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 85 for benchmarking (0.19 sec)
-
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) -
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) -
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) -
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) -
src/runtime/chan_test.go
myc := make(chan int, 128) myclose := make(chan bool) for p := 0; p < procs; p++ { go func() { // Producer: sends to myc. foo := 0 // Intended to not fire during benchmarking. mytimer := time.After(time.Hour) for atomic.AddInt32(&N, -1) >= 0 { for g := 0; g < CallsPerSched; g++ { // Model some local work. for i := 0; i < 100; i++ { foo *= 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:47:35 UTC 2023 - 23.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
// array slot is read and written exactly once. However, it can have very poor memory locality: // benchmarking shows it can take 7 times longer than the other two in some cases. The other two // do n swaps, minus a delta (0 or 2 for Reversal, gcd(d, n) for Successive), so that's about // twice as many reads and writes. But benchmarking shows that they usually perform better than
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 29.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMaker.java
private static final int DEFAULT_INITIAL_CAPACITY = 16; private static final int DEFAULT_CONCURRENCY_LEVEL = 4; static final int UNSET_INT = -1; // TODO(kevinb): dispense with this after benchmarking boolean useCustomMap; int initialCapacity = UNSET_INT; int concurrencyLevel = UNSET_INT; @CheckForNull Strength keyStrength; @CheckForNull Strength valueStrength;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 12.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMaker.java
private static final int DEFAULT_INITIAL_CAPACITY = 16; private static final int DEFAULT_CONCURRENCY_LEVEL = 4; static final int UNSET_INT = -1; // TODO(kevinb): dispense with this after benchmarking boolean useCustomMap; int initialCapacity = UNSET_INT; int concurrencyLevel = UNSET_INT; @CheckForNull Strength keyStrength; @CheckForNull Strength valueStrength;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 12.8K bytes - Viewed (0) -
src/math/big/arith_s390x.s
// point to same memory region, we can use a faster version of copy using only MVC here. // In the following implementation, we have three copy loops, each copying a word, 4 words, and // 32 words at a time. Via benchmarking, this implementation is faster than calling runtime·memmove. copySetup: ADD R12, R6 ADD R12, R8 CMPBGE R5, $4, mediumLoop smallLoop: // does a loop unrolling to copy word when n < 4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 20.3K bytes - Viewed (0)