Git Product home page Git Product logo

Comments (3)

bensadeh avatar bensadeh commented on August 24, 2024

Hi @koen-serry and thanks for opening this issue.

What version of tailspin are you on and what exactly is the problem you're experiencing when trying to open large files?

If it is to do with performance (slow to open), I released version 2.3.0 less than an hour ago which use multithreading to apply the highlighting. This will speed up the processing for all cases, but will be especially noticeable on larger log files like the one you are viewing.

Note that there will always be some sort of performance impact to opening large files because of the amount of work that is being done on each line (see #55 for more info).

from tailspin.

koen-serry avatar koen-serry commented on August 24, 2024

Did a checkout just a minute ago with a fresh cargo install and on a large file (5GB) it's taking minutes, whereas when opening with less it's pretty much instant. Forgive my ignorance for not looking yet into the code but could it be that it's highlighting the full file instead of whats visible?

from tailspin.

bensadeh avatar bensadeh commented on August 24, 2024

Thank you for testing with the latest version.

You are correct, tailspin highlights the whole file before displaying the contents in less.

For this reason, tailspin might not be a good fit for very large log files. Perhaps https://github.com/tstack/lnav might be a better fit for your needs if you are working with larger files and are more of a power user.

from tailspin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.