Comments (3)
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.
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.
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)
- How to use in windows? HOT 3
- Custom regex patterns? HOT 8
- Default `bucket_size` in piped mode to 0 HOT 2
- Add Alpine Linux HOT 4
- Expose `tailspin` as a crate / library HOT 2
- Add sleep-interval option HOT 3
- Individually enable / disable highlight groups HOT 1
- Ability to use another pager than less HOT 4
- log files in json format HOT 3
- Can't access a file through a symlink HOT 4
- Color blue is too dark to be readable on a black background HOT 1
- Linux上是否会发布到仓库? HOT 1
- Not getting colorized/formatted output with follow HOT 3
- Piping output of tailspin to another pager can results in panic HOT 3
- Cant install in Ubuntu 22.04 HOT 1
- Options for dealing with original colors HOT 2
- Support for highlighting pointers HOT 2
- Crashes on alpine linux, due to unrecognized less option on busybox HOT 2
- Using minus instead of `less`? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailspin.