Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List files #27

Open
1 task done
nake89 opened this issue Dec 16, 2024 · 0 comments
Open
1 task done

List files #27

nake89 opened this issue Dec 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nake89
Copy link

nake89 commented Dec 16, 2024

Describe the feature

Currently when you use parseTar it puts all the file contents into memory. Which is handy if you want to output it. But if you don't need. You just need a filelisting, it becomes a bit heavy handed. I made a fork (not yet published) that can give just a listing. Here are the benchmarks.

┌─────────┬─────────────────────────────┬──────────────────────┬─────────────────────┬────────────────────────────┬───────────────────────────┬─────────┐
│ (index) │ Task name                   │ Latency average (ns) │ Latency median (ns) │ Throughput average (ops/s) │ Throughput median (ops/s) │ Samples │
├─────────┼─────────────────────────────┼──────────────────────┼─────────────────────┼────────────────────────────┼───────────────────────────┼─────────┤
│ 0       │ 'nanotar'                   │ '381368.96 ± 0.78%'  │ '354017.00'         │ '2855 ± 0.38%'             │ '2825'                    │ 13111   │
│ 1       │ 'nanotar fork with listing' │ '321734.29 ± 0.50%'  │ '280951.00'         │ '3295 ± 0.31%'             │ '3559'                    │ 15541   │
└─────────┴─────────────────────────────┴──────────────────────┴─────────────────────┴────────────────────────────┴───────────────────────────┴─────────┘

Additional information

  • Would you be willing to help implement this feature?
@nake89 nake89 added the enhancement New feature or request label Dec 16, 2024
@nake89 nake89 mentioned this issue Dec 16, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant