You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bench_test.go
    path of file: ./repos/cockroach/pkg/ccl/workloadccl
    
    the code of the file until where you have to start completion: // Copyright 2019 The Cockroach Authors.
//
// Licensed as a CockroachDB Enterprise file under the Cockroach Community
// License (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
//     https://github.com/cockroachdb/cockroach/blob/master/licenses/CCL.txt

package workloadccl_test

import (
	"context"
	"testing"

	"github.com/cockroachdb/cockroach/pkg/base"
	_ "github.com/cockroachdb/cock
    
func benchmarkImportFixture(b *testing.B, gen workload.Generator) {
	defer log.Scope(b).Close(b)
	ctx := context.Background()

	var bytes int64
	b.StopTimer()
	for i := 0; i < b.N; i++ {
		s, db, _ := serverutils.StartServer(
			b,
			base.TestServerArgs{
				UseDatabase:       `d`,
				SQLMemoryPoolSize: 1 << 30, /* 1GiB */ // default 256MiB might be insufficient
			},
		)
		sqlDB := sqlutils.MakeSQLRunner(db)
		sqlDB.Exec(b, `CREATE DATABASE d`)

		b.StartTimer()
		const filesPerNode = 1
		const noInjectStats, csvServer = false, ``
		importBytes, err := workloadccl.ImportFixture(
			ctx, db, gen, `d`, filesPerNode, noInjectStats, csvServer,
		)
		require.NoError(b, err)
		bytes += importBytes
		b.StopTimer()

		s.Stopper().Stop(ctx)
	}
	b.SetBytes(bytes / int64(b.N))
}