-
Notifications
You must be signed in to change notification settings - Fork 268
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
Json rpc benchmarking framework #2023
Conversation
rskj-core/src/jmh/java/co/rsk/jmh/runners/BenchmarkWeb3E2ERunner.java
Outdated
Show resolved
Hide resolved
a711ca9
to
0e69bf7
Compare
import java.util.List; | ||
import java.util.Map; | ||
|
||
public interface Web3Connector { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about reusing the already existing Web3
interfaces for this. Something extracted from here
public interface Web3 extends InternalService, Web3TxPoolModule, Web3EthModule, Web3EvmModule, Web3MnrModule, Web3DebugModule, Web3TraceModule, Web3RskModule {
Maybe not all of them, but I guess you can prevent writing the same interface twice (i.e. Web3EthModule
)
great work btw!
275e310
to
0899d64
Compare
dba1b50
to
2e90779
Compare
…ase how to add new methods to the benchmark suite
Applied also some generic simplifications
…d to use fixed snapshots as benchmark references) and reduced default iteration numbers
2e90779
to
dc58685
Compare
Kudos, SonarCloud Quality Gate passed! |
pipeline:run |
2 similar comments
pipeline:run |
pipeline:run |
Introducing Benchmarking framework using JMH
Description
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist: