Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for bench (0.16 sec)

  1. misc/go_android_exec/README

    go tool can find the go_android_$GOARCH_exec wrapper generated by
    make.bash. For example, to run the go1 benchmarks
    
    	export PATH=$GOROOT/bin:$PATH
    	cd $GOROOT/test/bench/go1/
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 01 14:45:55 GMT 2023
    - 732 bytes
    - Viewed (0)
  2. tests/benchmark_test.go

    package tests_test
    
    import (
    	"fmt"
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    func BenchmarkCreate(b *testing.B) {
    	user := *GetUser("bench", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jun 01 03:50:57 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  3. Makefile.core.mk

    # For now, keep a minimal subset. This can be expanded in the future.
    BENCH_TARGETS ?= ./pilot/...
    
    PKG ?= ./...
    .PHONY: racetest
    racetest: $(JUNIT_REPORT)
    	go test ${GOBUILDFLAGS} ${T} -race $(PKG) 2>&1 | tee >($(JUNIT_REPORT) > $(JUNIT_OUT))
    
    .PHONY: benchtest
    benchtest: $(JUNIT_REPORT) ## Runs all benchmarks
    	prow/benchtest.sh run $(BENCH_TARGETS)
    	prow/benchtest.sh compare
    
    report-benchtest:
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 19:41:41 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  4. manifests/addons/values-grafana.yaml

    # Avoid creating a bunch of RBAC rules for features we are not enabling
    rbac:
      create: false
      pspEnabled: false
    
    # Disable test pods
    testFramework:
      enabled: false
    
    podLabels:
      sidecar.istio.io/inject: "false"
    
    # Demo only, so we will have no authentication
    admin:
      existingSecret: ""
    ldap:
      existingSecret: true
    env:
      GF_SECURITY_ADMIN_USER: "admin"
      GF_SECURITY_ADMIN_PASSWORD: "admin"
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:51 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    asda
    
    // associates : 2014-03-06 Binky Moon, LLC
    associates
    
    // athleta : 2015-07-30 The Gap, Inc.
    athleta
    
    // attorney : 2014-03-20 Dog Beach, LLC
    attorney
    
    // auction : 2014-03-20 Dog Beach, LLC
    auction
    
    // audi : 2015-05-21 AUDI Aktiengesellschaft
    audi
    
    // audible : 2015-06-25 Amazon Registry Services, Inc.
    audible
    
    // audio : 2014-03-20 XYZ.COM LLC
    audio
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          if (useBarriers) {
            firstBarrier.await();
            secondBarrier.await();
          }
        }
    
        @Override
        protected ScheduledExecutorService executor() {
          // use a bunch of threads so that weird overlapping schedules are more likely to happen.
          return Executors.newScheduledThreadPool(10);
        }
    
        @Override
        protected Scheduler scheduler() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/dataclasses.md

    !!! info
        Keep in mind that dataclasses can't do everything Pydantic models can do.
    
        So, you might still need to use Pydantic models.
    
        But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ## Dataclasses in `response_model`
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. ci/official/utilities/generate_index_html.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    
    # Generates a handy index.html with a bunch of Kokoro links for GitHub
    # presubmits.
    # Usage: generate_index_html.sh /path/to/output/index.html
    
    cat > "$1" <<EOF
    <html>
    <head>
    <title>$(basename "$KOKORO_JOB_NAME")</title>
    </head>
    <body>
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 20:26:13 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          if (useBarriers) {
            firstBarrier.await();
            secondBarrier.await();
          }
        }
    
        @Override
        protected ScheduledExecutorService executor() {
          // use a bunch of threads so that weird overlapping schedules are more likely to happen.
          return Executors.newScheduledThreadPool(10);
        }
    
        @Override
        protected Scheduler scheduler() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. common/config/license-lint.yml

    - github.com/spf13/afero
    
    # Public domain: https://github.com/xi2/xz/blob/master/LICENSE
    - github.com/xi2/xz
    
    # Helm is Apache 2.0: https://github.com/helm/helm/blob/master/LICENSE
    # However, it has a bunch of LICENSE test files that our linter fails to understand
    - helm.sh/helm/v3
    
    # https://github.com/pelletier/go-toml/blob/master/LICENSE
    # Uses MIT for everything, except a few files copied from
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Jan 25 19:26:20 GMT 2023
    - 3.2K bytes
    - Viewed (1)
Back to top