Skip to content

GOGC in gocql benchmark #10

@martin-sucha

Description

@martin-sucha

gocql readme recommends increasing GOGC. Should the benchmark use a higher value than the default?

For example with GOGC=100 (the default) I get:

Benchmark configuration: main.Config{nodeAddresses:[]string{"127.0.0.1:9042"}, workload:2, tasks:1000000, concurrency:1024, batchSize:256, dontPrepare:false}
Starting the benchmark
Finished
Benchmark time: 8927 ms

and with GOGC=500:

Benchmark configuration: main.Config{nodeAddresses:[]string{"127.0.0.1:9042"}, workload:2, tasks:1000000, concurrency:1024, batchSize:256, dontPrepare:false}
Starting the benchmark
Finished
Benchmark time: 7213 ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions