Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newSingleBenchmark (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	tokenCount := []int{100, 500, 2500, 12500, 62500}
    	threadCount := []int{1, 16, 256}
    	for _, tokens := range tokenCount {
    		for _, threads := range threadCount {
    			newSingleBenchmark(tokens, threads).run(b)
    		}
    	}
    }
    
    func newSingleBenchmark(tokens, threads int) *singleBenchmark {
    	s := &singleBenchmark{
    		threadCount: threads,
    		tokenCount:  tokens,
    	}
    	s.makeTokens()
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top