[ https://issues.apache.org/jira/browse/NIFI-5629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648698#comment-16648698 ]
ASF GitHub Bot commented on NIFI-5629: -------------------------------------- Github user patricker commented on a diff in the pull request: https://github.com/apache/nifi/pull/3033#discussion_r224946474 --- Diff: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/test/java/org/apache/nifi/documentation/DocGeneratorTest.java --- @@ -72,7 +74,12 @@ public void testProcessorLoadsNarResources() throws IOException, ClassNotFoundEx } private NiFiProperties loadSpecifiedProperties(final String propertiesFile, final String key, final String value) { - String file = DocGeneratorTest.class.getResource(propertiesFile).getFile(); + String file = propertiesFile; --- End diff -- Was this included on accident? Does not seem relevant to your ticket. > GetFile becomes slow listing vast directories > --------------------------------------------- > > Key: NIFI-5629 > URL: https://issues.apache.org/jira/browse/NIFI-5629 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions > Affects Versions: 1.6.0 > Reporter: Adam > Priority: Minor > > GetFile repeatedly lists entire directories before applying batching, meaning > for vast directories it spends a long time listing directories. > > Pull request to follow. -- This message was sent by Atlassian JIRA (v7.6.3#76005)