Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for benchmarking (0.28 sec)

  1. src/net/http/mapping.go

    	m map[K]V       // for many pairs
    }
    
    type entry[K comparable, V any] struct {
    	key   K
    	value V
    }
    
    // maxSlice is the maximum number of pairs for which a slice is used.
    // It is a variable for benchmarking.
    var maxSlice int = 8
    
    // add adds a key-value pair to the mapping.
    func (h *mapping[K, V]) add(k K, v V) {
    	if h.m == nil && len(h.s) < maxSlice {
    		h.s = append(h.s, entry[K, V]{k, v})
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 17:47:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

            allowEmpty = false,
            description = "Command line option for the performance test task to enable profiling. For example `async-profiler`, `async-profiler-heap`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only."
        )
    }
    
    object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)
    object AdHocPerformanceScenarioWindows : AdHocPerformanceScenario(Os.WINDOWS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/BUILD

    )
    
    mlir_to_bef(
        name = "custom_thread_pool.mlir",
        tfrt_translate = "//tensorflow/compiler/mlir/tfrt:tfrt_fallback_translate",
    )
    
    # copybara:uncomment_begin(internal benchmarking)
    # # C++ benchmarks for batch function runtime fallback.
    # tfrt_cc_test_and_strict_benchmark(
    #     name = "batch_function_fallback_benchmark_test",
    #     srcs = ["batch_function_fallback_benchmark_test.cc"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/log/slog/internal/benchmarks/handlers.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package benchmarks
    
    // Handlers for benchmarking.
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"log/slog"
    	"log/slog/internal/buffer"
    	"strconv"
    	"time"
    )
    
    // A fastTextHandler writes a Record to an io.Writer in a format similar to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 20:33:37 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

      }
    }
    
    // Runs a BEF function that batches a function that does nothing just to measure
    // the runtime overhead. The BEF function signature is adapted from a real model
    // and is useful for benchmarking ops with large attributes and many
    // input/output.
    void BM_BatchFunctionFallbackWithLargeAttributesAndManyInputsOutputs(
        benchmark::State& state) {
      auto corert = CreateTestCoreRuntime();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMinChar = (char) safeMin;
          this.safeMaxChar = (char) Math.min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMinChar = (char) safeMin;
          this.safeMaxChar = (char) Math.min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top