Skip to content

Lnav initialization is much slower since addition of the digestible library #1738

Description

@errge

lnav version
Bisected and the commit causing the issue is: ed9bf70

Describe the bug
Since addition of the digestible library, the startup time of lnav became much slower with the initial indexing.

I don't really need the advanced histogram feature, could we make this indexing optional and can we add an option to disable the usage of the library?

To Reproduce
Have a directory with a couple log files (3K lines altogether).

Start up a musl static binary built from ed9bf70 -> initialization time is around 5-10 seconds

Start up a musl static binary built from 14a1082 (one commit before) -> initialization is instant.

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

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions