Skip to content
Snippets Groups Projects
Select Git revision
  • 4719e952431332f4a095288cbb5d7f56232c6672
  • master default protected
  • 1.31
  • 4.38.6
  • 4.38.5
  • 4.38.4
  • 4.38.3
  • 4.38.2
  • 4.38.1
  • 4.38.0
  • 4.37.2
  • 4.37.1
  • 4.37.0
  • 4.36.0
  • 4.35.0
  • 4.34.1
  • 4.34.0
  • 4.33.1
  • 4.33.0
  • 4.32.2
  • 4.32.1
  • 4.32.0
  • 4.31.0
23 results

diff.js

Blame
  • benchmark_test.go 381 B
    // Copyright 2022 schukai GmbH
    // SPDX-License-Identifier: AGPL-3.0
    
    package configuration
    
    import (
    	"bytes"
    	"testing"
    )
    
    func BenchmarkCreateConfig(b *testing.B) {
    	// run the Fib function b.N times
    	for n := 0; n < b.N; n++ {
    		config := ConfigStruct2{
    			A: "1",
    			B: true,
    			F: 2,
    		}
    
    		s := New(config)
    
    		buffer := bytes.NewBufferString("")
    		s.Write(buffer, Yaml)
    	}
    }