Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GOGC in gocql benchmark #10

Open
martin-sucha opened this issue Feb 10, 2022 · 0 comments
Open

GOGC in gocql benchmark #10

martin-sucha opened this issue Feb 10, 2022 · 0 comments

Comments

@martin-sucha
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant