[
https://issues.apache.org/jira/browse/NIFI-4631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411525#comment-16411525
]
ASF GitHub Bot commented on NIFI-4631:
--------------------------------------
Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/2565
@mgaido91 thanks for the update! I ran some tests locally on my laptop as
well. I didn't see as big a difference as you mentioned in the JIRA, but I did
see a performance improvement, after running several times. The performance
improvement was more pronounced, it seems, when there was a large nested
structure, which I suppose makes sense. I've merged this to master. Thanks
again for the update!
> Improve ListFile performance (using walkFileTree)
> -------------------------------------------------
>
> Key: NIFI-4631
> URL: https://issues.apache.org/jira/browse/NIFI-4631
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.4.0
> Reporter: Jeroen Dries
> Priority: Major
> Labels: performance
>
> The listfile processor is quite slow when recursing through large directory
> structures. (In my case an NFS mounted directory, on Linux.)
> A possible fix would be to use the Files.walkFileTree method, which is
> reported to be faster.
> Another option is mentioned in NIFI-4039
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)