Skip to content

Investigate different ways of writing to stdout #570

@rm5248

Description

@rm5248

I came across this video the other day: https://www.youtube.com/watch?v=nH1YT1mrPt0
It's a faster(but much less flexible) way of doing logging.

The most important thing that I got out of it was the fact that the C library will do buffering. The lowest level that we do is to use fputs. This will go through the C library and use the builtin C library buffering.

Since we have the ability to buffer data in log4cxx already using a BufferedWriter, do a test to see if it would be faster to avoid the C library buffering and do a write() system call directly to write data out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions