Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for bottleneck (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

    import okhttp3.Protocol
    import okio.BufferedSource
    
    /**
     * [HTTP/2][Protocol.HTTP_2] only. Processes server-initiated HTTP requests on the client.
     * Implementations must quickly dispatch callbacks to avoid creating a bottleneck.
     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
     * correlated by stream ID.
     *
     *  * [onRequest]
     *  * [onHeaders] (unless canceled)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        // is okay, as stat requests are typically fast, and concurrent requests are
        // often for the same file. Future work can split this up into one lock per
        // key if this proves to be a significant performance bottleneck.
        absl::MutexLock lock(&mu_);
        if (LookupLocked(key, value)) {
          return TF_SetStatus(status, TF_OK, "");
        }
        compute_func(key, value, status);
        if (TF_GetCode(status) == TF_OK) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 09 19:31:22 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  3. tools/docker-builder/crane.go

    // sha256-simd (https://github.com/google/go-containerregistry/issues/1330) makes this even faster -
    // pushing all images drops to sub-second times, with the registry being the bottleneck (which could
    // also use sha256-simd possibly).
    func RunCrane(ctx context.Context, a Args) error {
    	ctx, span := tracing.Start(ctx, "RunCrane")
    	defer span.End()
    	g := errgroup.Group{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. pkg/envoy/proxy.go

    		// This means access logs will be written once we have ~250 requests, or ever 1s, which ever comes first.
    		// Reducing this to 1s optimizes for UX while retaining performance.
    		// At low QPS access logs are unlikely a bottleneck, and these users will now see logs after 1s rather than 10s.
    		// At high QPS (>250 QPS) we will log the same amount as we will log due to exceeding buffer size, rather
    		// than the flush interval.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. tools/docker-builder/builder/crane.go

    		lt = time.Now()
    	}
    	if len(b.Dests) == 0 {
    		return fmt.Errorf("dest required")
    	}
    
    	// Over localhost, compression CPU can be the bottleneck. With remotes, compressing usually saves a lot of time.
    	compression := gzip.NoCompression
    	for _, d := range b.Dests {
    		if !strings.HasPrefix(d, "localhost") {
    			compression = gzip.BestSpeed
    			break
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. src/debug/gosym/pclntab.go

    			pc = 0
    		}
    	}()
    
    	t.initFileMap()
    	filenum, ok := t.fileMap[file]
    	if !ok {
    		return 0
    	}
    
    	// Scan all functions.
    	// If this turns out to be a bottleneck, we could build a map[int32][]int32
    	// mapping file number to a list of functions with code from that file.
    	var cutab []byte
    	for i := uint32(0); i < t.nfunctab; i++ {
    		f := t.funcData(i)
    		entry := f.entryPC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/gc.go

    	//
    	// However, in practice, setting c above 4 tends not to help very much.
    	// See the analysis in CL 41192.
    	//
    	// TODO(josharian): attempt to detect whether this particular compilation
    	// is likely to be a bottleneck, e.g. when:
    	//   - it has no successor packages to compile (usually package main)
    	//   - all paths through the build graph pass through it
    	//   - critical path scheduling says it is high priority
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

    using SideEffectsByResourceId = std::map<ResourceId, SideEffects>;
    
    // We use `std::unordered_map` here for pointer stability reasons.
    // Note: If memory usage ever becomes a bottleneck here (not expected) we could
    // use a Trie-like data structure to avoid storing side effects in both parent
    // op and all its child ops (recursively), at the expense of lookup time.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set.go

    		// is we'd need to wait on the result of a create to record the pod's
    		// UID, which would require locking *across* the create, which will turn
    		// into a performance bottleneck. We should generate a UID for the pod
    		// beforehand and store it via ExpectCreations.
    		rsc.expectations.ExpectCreations(logger, rsKey, diff)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    			seen[fn] = true
    		}
    	}
    	p.Function = fns
    }
    
    // remapMappingIDs matches location addresses with existing mappings
    // and updates them appropriately. This is O(N*M), if this ever shows
    // up as a bottleneck, evaluate sorting the mappings and doing a
    // binary search, which would make it O(N*log(M)).
    func (p *Profile) remapMappingIDs() {
    	// Some profile handlers will incorrectly set regions for the main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
Back to top