Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkMakeMany (0.18 sec)

  1. src/unique/handle_bench_test.go

    // license that can be found in the LICENSE file.
    
    package unique
    
    import (
    	"fmt"
    	"runtime"
    	"testing"
    )
    
    func BenchmarkMake(b *testing.B) {
    	benchmarkMake(b, []string{"foo"})
    }
    
    func BenchmarkMakeMany(b *testing.B) {
    	benchmarkMake(b, testData[:])
    }
    
    func BenchmarkMakeManyMany(b *testing.B) {
    	benchmarkMake(b, testDataLarge[:])
    }
    
    func benchmarkMake(b *testing.B, testData []string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top