Looks like cat is slower than its GNU counterpart
Open
Nobody has claimed this yet.
U - cat
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
I tried cat on the following file, prepended with time. And, according to the results, uu-cat is slower than than cat.
Results:
$ time cat emacs.md
________________________________________________________
Executed in 149.81 millis fish external
usr time 0.28 millis 0.28 millis 0.00 millis
sys time 5.85 millis 1.02 millis 4.82 millis
$ time uu-cat emacs.md
________________________________________________________
Executed in 454.49 millis fish external
usr time 4.02 millis 0.00 millis 4.02 millis
sys time 21.83 millis 1.85 millis 19.98 millis
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the attached emacs.md comparison between GNU cat and uu-cat, recording the environment and timing details. Trace the uu-cat entry point and compare its behavior with cat to identify where the extra time occurs; done means a documented cause and a verified performance improvement or explanation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100