Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkCELValidationWithAndWithoutOldSelfReference (0.29 sec)

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

    					b.Errorf("expect operation interrupted err but did not find")
    				}
    			}
    		})
    	}
    }
    
    // BenchmarkCELValidationWithAndWithoutOldSelfReference measures the additional cost of evaluating
    // validation rules that reference "oldSelf".
    func BenchmarkCELValidationWithAndWithoutOldSelfReference(b *testing.B) {
    	for _, rule := range []string{
    		"self.getMonth() >= 0",
    		"oldSelf.getMonth() >= 0",
    	} {
    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