Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simar7/zip-reader-bench
https://github.com/simar7/zip-reader-bench
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simar7/zip-reader-bench
- Owner: simar7
- Created: 2024-02-28T01:55:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-28T01:55:37.000Z (10 months ago)
- Last Synced: 2024-10-28T06:48:14.837Z (about 2 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# readseekr-bench
Just a benchmark repo to compare two approaches of reading zip files.
```shell
$ benchstat old.txt new.txt
goos: darwin
goarch: arm64
pkg: github.com/simar7/readseekr-bench
│ old.txt │ new.txt │
│ sec/op │ sec/op vs base │
Normal-10 8.700µ ± 3% 8.311µ ± 5% -4.47% (p=0.009 n=10)│ old.txt │ new.txt │
│ B/op │ B/op vs base │
Normal-10 9.039Ki ± 0% 6.256Ki ± 0% -30.79% (p=0.000 n=10)│ old.txt │ new.txt │
│ allocs/op │ allocs/op vs base │
Normal-10 25.00 ± 0% 21.00 ± 0% -16.00% (p=0.000 n=10)
```