Skip to content

inefficiency caused by double event creation and extra field lookup #17

Description

@colinsurprenant

the current codec implementation leverages the lines codec for doing the line parsing. The problem is that the line codec decode method is called which produces and event and then a new event is created using the json deserialization of the previous event message field.

This means that for each input line, and extra and superfluous event is created and an extra event field lookup is done.

Since the line parsing logic is so simple, we just should directly use the buffered tokenizer here and not rely on the line codec.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions