[all-commits] [llvm/llvm-project] 702c0c: [flang] runtime perf: larger I/O buffer growth inc...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jan 31 14:53:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 702c0cfa07597af150b0556c97ce0431a7d1de59
      https://github.com/llvm/llvm-project/commit/702c0cfa07597af150b0556c97ce0431a7d1de59
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M flang/runtime/buffer.h

  Log Message:
  -----------
  [flang] runtime perf: larger I/O buffer growth increments

When reallocating an I/O buffer to accommodate a large record,
ensure that the amount of growth is at least as large as the
minimum initial record size (64KiB).  The previous policy was
causing input buffer reallocation for each byte after the minimum
buffer size when scanning input data for record termination
newlines.

Differential Revision: https://reviews.llvm.org/D118649




More information about the All-commits mailing list