What would you like to happen?
The current TextSource implementation is spending a lot of time during byte[] copying:

Hadoop LineReader.java implementation is signficantly faster (~2x) when handling typical files due to an implementation that reduces how many byte[]s are copied. A simple benchmark reading 10 million lines (60-120 characters long) shows that it takes about ~2.05 seconds to process such a file while the Apache Beam TextSource takes ~4.03 seconds.
Issue Priority
Priority: 2
Issue Component
Component: io-java-text