Performance diff between single big file vs multiple smaller files
I have a nifi flow. I observe that if input file is split into smaller files and fed into the flow one by one, then overall time taken(sum of time taken for individual files) is considerably low compared to when I feed single big file.
What can be a possible cause for this performance difference?
Note:
Flow has many processors that use avro readers/writers.
I calculate time using following in a LogMessage processor:
${now():toNumber():minus(${lineageStartDate}):format("HH:mm:ss", "GMT")}

