You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/07/29 07:26:32 UTC
[GitHub] [hbase] utf7 edited a comment on pull request #2167: HBASE-24791 Improve HFileOutputFormat2 to avoid always call getTableRelativePath method
utf7 edited a comment on pull request #2167:
URL: https://github.com/apache/hbase/pull/2167#issuecomment-665471339
This can imporve a lot
A simple test case
before improve cost: 8566118066 7954087533 7990385173 8121662923 8094065619 8107938198 8045528125 8116824329 8122912440 8108117395
after improve cost: 1536854 50156 1097601 33953 9907 10927 10445 13076 8596 10386
before all cost: 81227.639801 ms
after all cost : 2.781901 ms
before vs after: 29198.60908098455:1
The test code in
https://github.com/utf7/hbase-client-example/blob/master/src/test/java/TestGetTableRelativePathImprove.java
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org