-
Notifications
You must be signed in to change notification settings - Fork 4
Database benchmark
#597
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
Database benchmark
#597
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #597 +/- ##
==========================================
+ Coverage 89.61% 91.00% +1.38%
==========================================
Files 113 111 -2
Lines 20457 20101 -356
Branches 20457 20101 -356
==========================================
- Hits 18332 18292 -40
+ Misses 1749 1433 -316
Partials 376 376 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
afd6615 to
58c570e
Compare
58c570e to
786de2e
Compare
|
Benchmark results for revision 88421a9:
Full results
Compare the results above with those for the default branch. |
danielpapp-trilitech
left a comment
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.
Overall, it looks good. I think the large read size is off by a magnitude, and you might also want to include a large write, which has the same as the large read.
376e872 to
3720be8
Compare
|
@danielpapp-trilitech Many changes and a rebase here, including renaming the main file, sorry it's all mixed up. |
9c930b8 to
a580533
Compare
|
The poor performance of |
3754821 to
8552f8f
Compare
8552f8f to
3e91035
Compare
|
Looks good to me! Good job in using the json that Victor created! How much time does it take to run this? |
Currently it takes 2 minutes to run and the time for a measurement is 4.9s Most of this is in persistence layer operations, which is preferable, but the erc20 transaction has a lot more operations than I was expecting (132). I think it would be good to add a tool which can generate the |
f8391a5 to
b7f6113
Compare
NSant215
left a comment
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.
Overall I think looks good - I got a bit confused that methods written in one commit were immediately changed in the next between commits 2 and 3 - perhaps they can be squashed? or is there good reason to separate them?
Never mind, I've spoken to Joel and the 132 includes setup and block creation, which don't need to be done 10000 times like the transaction itself. |
5c08ca3 to
bdd758d
Compare
73d4fe0 to
710ae11
Compare
I don't see why not. I wanted to separate the json parsing into its own commit but I think it causes more confusion/temporary code than it is worth. |
f31e0fc to
4e4ea93
Compare
Benchmarks the `Database` layer of durable storage using a sequence of operations taken from an Etherlink transaction.
4e4ea93 to
38bad96
Compare
Closes RV-828
What
A benchmark for the durable storage system at the layer of the
Databasetype, e.g.:Why
It's important to know that the current design of the durable storage system is feasible. When optimising parts of the system, we also want to know if they are effective.
How
A feature (bench_cloning) has been added to allow benchmarking with and without cloning the
Database. This is due to a bug RV-855 where the implementation of cloning the persistence layer is too slow.Manually Testing
Tasks for the Author