Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkCELValidationWithContext (0.44 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			panic(err)
    		}
    	}
    	return b.String()
    }
    
    func setDefaultVerbosity(v int) {
    	f := flag.CommandLine.Lookup("v")
    	_ = f.Value.Set(fmt.Sprintf("%d", v))
    }
    
    func BenchmarkCELValidationWithContext(b *testing.B) {
    	items := make([]interface{}, 1000)
    	for i := int64(0); i < 1000; i++ {
    		items[i] = i
    	}
    	tests := []struct {
    		name   string
    		schema *schema.Structural
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top