brfrn169 commented on issue #1954: HDFS-15217 Add more information to longest 
write/read lock held log
URL: https://github.com/apache/hadoop/pull/1954#issuecomment-615893744
 
 
   I did microbenchmarking with JMH. The code is as follows:
   https://gist.github.com/brfrn169/6a57175d934734b2a2c36652925ffdf6
   
   The results are as follows:
   
   Before applying the patch:
   ```
   Benchmark                         Mode  Cnt    Score   Error  Units
   FSNamesystemBenchmark.benchmark  thrpt   25  567.924 ± 3.184  ops/s
   ```
   
   After applying the patch:
   ```
   Benchmark                         Mode  Cnt    Score    Error  Units
   FSNamesystemBenchmark.benchmark  thrpt   25  573.884 ± 11.171  ops/s
   ```
   
   It looks like there isn't any performance regression after applying the 
patch.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to