class_docstr: Benchmark creating a parquet manifest.
class_docstr_tok: ["Benchmark","creating","a","parquet","manifest","."]
code: def time_buffered_reads(self, latency):
      bytes_read = 0
      reader = pa.input_stream(pa.py_buffer(b"x" * self.total_size))
      slow_reader = HighLatencyReader(reader, latency)
      buffered_reader = pa.input_stream(
          slow_reader, buffer_size=self.buffer_size
      )
      while bytes_read < self.total_size:
          buffered_reader.read(self.increment)
          bytes_read += self.increment
  
file_path: arrow/python/benchmarks/io.py
imports: import time
  import pyarrow
label_desc: Use image node_id 2 for calling the BufferedIOHighLatency obj's underlying member method code with example usage: obj.time_buffered_reads(latency) without return types