Mark Payne created NIFI-3470:
--------------------------------

             Summary: SplitContent makes inefficient use of BufferedInputStream
                 Key: NIFI-3470
                 URL: https://issues.apache.org/jira/browse/NIFI-3470
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Mark Payne
            Assignee: Mark Payne


SplitContent reads from a BufferedInputStream one byte at a time. While this is 
far more efficient than reading one byte at a time from a FileInputStream, it 
is still very inefficient when compared to buffering say 8 KB into a byte[] and 
then iterating over the array. We saw massive performance improvement in 
SplitText when fixing the same issue there (NIFI-2851).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to