- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for bench (5.67 sec)
-
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 30 11:13:12 GMT 2024 - Last Modified: Mon May 01 14:45:55 GMT 2023 - 732 bytes - Viewed (0) -
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 May 05 09:35:13 GMT 2024 - Last Modified: Wed Jun 01 03:50:57 GMT 2022 - 1.5K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 25 02:07:51 GMT 2023 - 1.7K bytes - Viewed (0) -
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 May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.1K bytes - Viewed (0) -
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 30 12:39:09 GMT 2024 - Last Modified: Fri Sep 29 20:26:13 GMT 2023 - 2.3K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 25 19:26:20 GMT 2023 - 3.2K bytes - Viewed (1) -
.github/DISCUSSION_TEMPLATE/questions.yml
I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions. All that, on top of all the incredible help provided by a bunch of community members, the [FastAPI Experts](https://fastapi.tiangolo.com/fastapi-people/#experts), that give a lot of their time to come here and help others.
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 03 15:59:41 GMT 2023 - 5.8K bytes - Viewed (1)