Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-47

the multitude of flush in CSVPrinter ain't good

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • Printer
    • None

    Description

      In CSVPrinter too many flushes.

      It would be good to add get/setAutoFlush.

      Also, I know there is already an open issue discussing this but
      it would be really nice to not have 1 single forced flush.
      In most cases there is no need of any flush.

      Did a benchmark and it does indeed greatly affect performance, which in our cases by 3 times.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pino Pino Silvaggio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: