-
Notifications
You must be signed in to change notification settings - Fork 37.7k
bench: Adds a benchmark for CheckInputScripts #29745
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
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
f9e0dfc
to
ec7eb07
Compare
🚧 At least one of the CI tasks failed. Make sure to run all tests locally, according to the Possibly this is due to a silent merge conflict (the changes in this pull request being Leave a comment here, if you need help tracking down a confusing failure. |
ec7eb07
to
22d8759
Compare
looks like the checks are failing because it requires |
@@ -12,6 +12,7 @@ GENERATED_BENCH_FILES = $(RAW_BENCH_FILES:.raw=.raw.h) | |||
|
|||
bench_bench_bitcoin_SOURCES = \ | |||
$(RAW_BENCH_FILES) \ | |||
bench/check_input_scrips.cpp \ |
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.
the rest of the benchmarks are in alphabetical order
@@ -133,12 +133,6 @@ const CBlockIndex* Chainstate::FindForkInGlobalIndex(const CBlockLocator& locato | |||
return m_chain.Genesis(); | |||
} | |||
|
|||
bool CheckInputScripts(const CTransaction& tx, TxValidationState& state, |
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.
please separate production changes from benchmark changes into commits with focused explanations
Are you still working on this? |
🐙 This pull request conflicts with the target branch and needs rebase. |
⌛ There hasn't been much activity lately and the patch still needs rebase. What is the status here?
|
Closing for now due to inactivity since the day it was opened. Leave a comment below if you want this re-opened, or open a new pull. |
ya sorry about that I can leave it up for grabs if anyone else wants to look at it otherwise I can reopen when I have a more finalized PR open, again sorry for leaving it open but inactive |
Creates new benchmark for
CheckInputScripts
Motivated by this comment #17175 (comment)
I haven't really done benchmarking a ton before so any comments would be useful
What the benchmark looks like when I run
./src/bench/bench_bitcoin