HBASE-25894 Improve the performance for region load and region count related cost functions#3276
Conversation
|
Depends on #3274 |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
Wrote a simple test to verify the performance improvement After applied HBASE-25873, the result is About 37.8% down of the execution time. |
…related cost functions
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
…related cost functions (#3276) Signed-off-by: Yi Mei <myimeiyi@gmail.com>
| } | ||
| } | ||
|
|
||
| void setCosts(Consumer<double[]> consumer) { |
There was a problem hiding this comment.
nit: having a setFoo method that is not a simple POJO field assignment is surprising!
There was a problem hiding this comment.
Do you have any suggestion on the naming? fillCosts?
There was a problem hiding this comment.
Not off the top of my head, no. This interface for mutability by an external actor is a little strange. Maybe applyCostsConsumer ?
There was a problem hiding this comment.
OK. Let file another issue to land this naming change.
No description provided.