Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for slowAbs (0.2 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/performance.adoc

    ====
    
    WARNING: Forking a VM is an expensive operation. Setting too small a value here slows down testing.
    
    ==== Disable reports
    
    Gradle automatically creates test reports regardless of whether you want to look at them.
    That report generation slows down the overall build. You may not need reports if:
    
    * you only care if the tests succeeded (rather than why)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    	fcclient "k8s.io/client-go/kubernetes/typed/flowcontrol/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/clock"
    	"k8s.io/utils/ptr"
    )
    
    // Some tests print a lot of debug logs which slows down tests considerably,
    // causing them to even timeout.
    var testDebugLogs = false
    
    func TestMain(m *testing.M) {
    	klog.InitFlags(nil)
    	os.Exit(m.Run())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/value.go

    	v.argstorage[1] = nil
    	v.argstorage[2] = nil
    	v.Args = v.argstorage[:0]
    }
    
    // reset is called from most rewrite rules.
    // Allowing it to be inlined increases the size
    // of cmd/compile by almost 10%, and slows it down.
    //
    //go:noinline
    func (v *Value) reset(op Op) {
    	if v.InCache {
    		v.Block.Func.unCache(v)
    	}
    	v.Op = op
    	v.resetArgs()
    	v.AuxInt = 0
    	v.Aux = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

         * determined experimentally to match our desired probability of false positives.
         */
        // NB: yes, this is surprisingly high, but that's what the experiments said was necessary
        // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected,
        // and reduces the false-positive probability.
        static final int MAX_RUN_MULTIPLIER = 13;
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. src/strings/strings.go

    	for end, rune := range s {
    		if f(rune) {
    			if start >= 0 {
    				spans = append(spans, span{start, end})
    				// Set start to a negative value.
    				// Note: using -1 here consistently and reproducibly
    				// slows down this code by a several percent on amd64.
    				start = ^start
    			}
    		} else {
    			if start < 0 {
    				start = end
    			}
    		}
    	}
    
    	// Last field might end at EOF.
    	if start >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. src/encoding/json/encode.go

    			start = i
    			continue
    		}
    		// TODO(https://go.dev/issue/56948): Use generic utf8 functionality.
    		// For now, cast only a small portion of byte slices to a string
    		// so that it can be stack allocated. This slows down []byte slightly
    		// due to the extra copy, but keeps string performance roughly the same.
    		n := len(src) - i
    		if n > utf8.UTFMax {
    			n = utf8.UTFMax
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  7. pkg/kube/client.go

    	return c.version.Get()
    }
    
    func (c *client) ClusterID() cluster.ID {
    	return c.clusterID
    }
    
    // Wait for cache sync immediately, rather than with 100ms delay which slows tests
    // See https://github.com/kubernetes/kubernetes/issues/95262#issuecomment-703141573
    func fastWaitForCacheSync(stop <-chan struct{}, informerFactory informerfactory.InformerFactory) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. src/runtime/time.go

    	return t.modify(when, period, nil, nil, 0)
    }
    
    // cleanHead cleans up the head of the timer queue. This speeds up
    // programs that create and delete timers; leaving them in the heap
    // slows down heap operations.
    // The caller must have locked ts.
    func (ts *timers) cleanHead() {
    	ts.trace("cleanHead")
    	assertLockHeld(&ts.mu)
    	gp := getg()
    	for {
    		if len(ts.heap) == 0 {
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top