Reading compressed text files using textio.ReadFromText() is about five times slower compared to the corresponding transform in Java SDK. This is specially noticeable when using DirectRunner. We should look into how we can improve efficiency of this so that Python SDK is more comparable to Java SDK in this regard.
Imported from Jira BEAM-2531. Original Jira may contain additional context.
Reported by: chamikara.