Skip to content

Improve ouput stream handling of reports. #146

Description

@redcatbear

Is your feature request related to a problem? Please describe.
The ReportService at the moment creates a BufferedOutputStream that it hands to the reports. It would be better to let the report implementations decide. Also using a PrintStream on top of that might have a performance penalty (measure before and after!) compared to using a PrintWriter.

Describe the solution you'd like

  1. Move construction of buffering to reports.
  2. Compare current PrintStream with PrintWriter performance.

Describe alternatives you've considered
Not using a BufferedOutputStream at all will be too inefficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions