Conversation
|
benchmark code: result in: sort vs kth
|
it do not show why it failed.can someone help me? |
Signed-off-by: cuiweixie <cuiweixie@gmail.com>
You can ignore the copilot error. It's due to restricted permissions of GHA in besu repo. @cuiweixie can you explain rationale for this PR? |
Hello, this pr use kth alogrithm to select the kth element such as gas price list. here is the benchmark data: sort vs kth
I think i might have some perf improvement. |
|
@macfarla Any chance to get merge? |
what RPCs will show the performance improvement? |
It might have minor improve, but I don't know much about how to bench this rpc. |
|
These RPCs should benefit:
|
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
|
similar change in neth NethermindEth/nethermind#10100 |
|
I ran hive tests, no changes |
how many element in kth select array? |
I ran rpc-compat tests which test a number of RPCs. I don't think there's any that test this code actively so more of a sanity check I guess. The rpc-compat test results are here https://hive.ethpandaops.io/#/group/generic |
PR description
Fixed Issue(s)
Thanks for sending a pull request! Have you done the following?
doc-change-requiredlabel to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew spotlessApply./gradlew build./gradlew acceptanceTest./gradlew integrationTest./gradlew ethereum:referenceTests:referenceTests