- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkEncodeYAMLMarshal (0.21 sec)
-
pkg/api/testing/serialization_test.go
obj := v1.Pod{} if err := gojson.Unmarshal(encoded[i%width], &obj); err != nil { b.Fatal(err) } } b.StopTimer() } // BenchmarkEncodeYAMLMarshal provides a baseline for regular YAML encode performance func BenchmarkEncodeYAMLMarshal(b *testing.B) { items := benchmarkItems(b) width := len(items) b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 19.3K bytes - Viewed (0)