This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add DB Read/Write Tracking to Benchmarking Pipeline #6386
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
7468464
initial mockup
shawntabrizi 947d68c
add and wipe
shawntabrizi 9c77f50
track writes
shawntabrizi 2f198b9
start to add to pipeline
shawntabrizi 12395ae
return all reads/writes
shawntabrizi 69f137d
Log reads and writes from bench db
shawntabrizi 60f22c3
causes panic
shawntabrizi e08ffef
Allow multiple commits
arkpar 86ecbeb
commit before ending benchmark
shawntabrizi f7305a2
Merge branch 'master' into shawntabrizi-bench-db-tracking
shawntabrizi 004bea1
doesn't work???
shawntabrizi 1b25a8b
fix
shawntabrizi c995215
Update lib.rs
shawntabrizi 2eef7fa
switch to struct for `BenchmarkResults`
shawntabrizi 473f492
add to output
shawntabrizi 0ae5300
fix test
shawntabrizi fd99bda
line width
shawntabrizi 79cd015
@kianenigma review
shawntabrizi 9464475
Add Whitelist to DB Tracking in Benchmarks Pipeline (#6405)
shawntabrizi 956cda1
Add regression analysis to DB Tracking (#6475)
shawntabrizi 893bc52
Update client/db/src/bench.rs
shawntabrizi 00cb79b
Merge branch 'master' into shawntabrizi-bench-db-tracking
shawntabrizi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
correct me if I am wrong: by whitelisting, basically we already assume that they have been read once? there's no inherent meaning to being whitelisted other than that.
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.
Yes, this key is free to read and write to, and does not count in DB tracking.
Things like BlockNumber, the Sender Account, Events, etc...
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.
Okay, one question then: won't this cause confusion with the read-write count? Say I submit a tx that has no reads and writes. Won't the read/write count of my tx then be equal to all the whitelisted ones?
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.
(Either way I think it is all okay, I am just trying to make it clear for myself.)
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.
no, I dont increment the read/write count when I do whitelisting. So assuming nothing is actually read/written from, you will get 0 reads and 0 writes.