9 Commits

Author SHA1 Message Date
Marco Primi
d31236cea2 Refactor cluster creation for JS benchmarks 2023-09-27 09:26:11 -07:00
Marco Primi
be106d1ee5 Remove artificial limit on minimum number of operations 2023-09-27 09:26:11 -07:00
Marco Primi
c5698a9435 Cleanup unnecessary calls to setBytes in JS benchmarks 2023-09-27 09:26:11 -07:00
Marco Primi
e108096601 Improve JS asynchronous publish benchmark
Simplify logic and make sure no more than `asyncWindow` messages are 
ever in-flight
2023-09-27 09:26:11 -07:00
Marco Primi
03aa44dc3d Improve setup of JS Consume benchmark
Handle error condition during stream setup that was resulting in failed 
runs.
2023-09-27 09:26:11 -07:00
Derek Collison
39a36200b5 Merge branch 'main' into dev 2023-06-21 14:37:11 -07:00
reubenninan
13e09f2db4 Add benchmarks for object store
Signed-off-by: reubenninan <reuben@nats.io>
2023-06-21 16:05:30 -04:00
reubenninan
1d57260179 connects JS benchmarks to stream leader always
Refactors BenchmarkJetStream(Consume|Publish) and BenchmarkJetStreamKV benchmarks to connect to stream leader for benchmark cases where cluster size is greater than 1.

Also, BenchmarkJetStreamKV now only targets a single bucket (B=1).

Signed-off-by: Reuben Ninan <reuben@nats.io>
2023-06-06 19:35:39 -04:00
Marco Primi
7908d8c05c Merge JS benchmarks into a single file 2023-04-27 14:56:55 -07:00