Skip to content

Improve performance of log message prettification function #230

@coderabbitai

Description

@coderabbitai

Description

The current implementation of log message prettification uses the 'js-beautify' library, which works well for the initial implementation but may have performance concerns when working with large log files.

Background

This feature was initially implemented in PR #223, which added toggle functionality for prettifying log messages. PR #225 has made some related changes to this functionality.

Objective

Investigate and implement performance improvements for the log message prettification feature:

  1. Evaluate the performance of the current js-beautify implementation with different log file sizes
  2. Consider alternatives or optimizations that could improve performance
  3. Implement custom solution that prioritizes performance with large log files
  4. Add appropriate tests to verify performance characteristics

Related

@junhaoliao

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