[ 
https://issues.apache.org/jira/browse/CASSANDRA-10677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008328#comment-15008328
 ] 

Stefania commented on CASSANDRA-10677:
--------------------------------------

There are CI failures but none are related to this change since all unit tests 
exercising this code path run OK, so +1.

> Improve performance of folderSize function
> ------------------------------------------
>
>                 Key: CASSANDRA-10677
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10677
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local Write-Read Paths
>         Environment: Ubuntu 14. JDK 7
>            Reporter: Briareus
>            Priority: Minor
>              Labels: patch, performance
>             Fix For: 3.x
>
>         Attachments: 
> Optimized_folderSize_function_to_use_Java_7_nio_walkFileTree_method_.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> FileUtils.folderSize function recursively traverses the directory tree using 
> listFiles method. This is no longer efficient as Java 7 offers much better 
> Files.walkFileTree method. It makes the method work twice faster according to 
> my tests. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to