源文雨
|
2840c604c1
|
fix: encoder/decoder
|
2025-10-27 22:26:01 +08:00 |
|
源文雨
|
d548cdd86f
|
优化代码结构
|
2023-04-19 15:33:33 +08:00 |
|
fumiama
|
ceb3054caa
|
fix: amd64 asm read out of range
|
2022-08-22 13:11:31 +08:00 |
|
源文雨
|
9db76d108c
|
fix generic decode panic
|
2022-06-11 22:11:59 +08:00 |
|
源文雨
|
87b51ceb35
|
add amd64 asm
name old time/op new time/op delta
EncodeTo/16-8 45.5ns ± 1% 35.9ns ± 1% -21.01% (p=0.008 n=5+5)
EncodeTo/256-8 241ns ± 1% 170ns ± 1% -29.64% (p=0.008 n=5+5)
EncodeTo/4K-8 2.90µs ± 0% 1.70µs ± 0% -41.60% (p=0.008 n=5+5)
EncodeTo/32K-8 23.5µs ± 2% 13.6µs ± 2% -42.20% (p=0.008 n=5+5)
DecodeTo/16-8 20.2ns ± 0% 10.3ns ± 2% -48.92% (p=0.008 n=5+5)
DecodeTo/256-8 141ns ± 1% 71ns ± 0% -49.55% (p=0.008 n=5+5)
DecodeTo/4K-8 2.03µs ± 1% 0.94µs ± 0% -53.82% (p=0.008 n=5+5)
DecodeTo/32K-8 16.1µs ± 0% 7.5µs ± 0% -53.22% (p=0.008 n=5+5)
name old speed new speed delta
EncodeTo/16-8 352MB/s ± 1% 445MB/s ± 1% +26.59% (p=0.008 n=5+5)
EncodeTo/256-8 1.06GB/s ± 1% 1.51GB/s ± 1% +42.13% (p=0.008 n=5+5)
EncodeTo/4K-8 1.41GB/s ± 0% 2.42GB/s ± 0% +71.24% (p=0.008 n=5+5)
EncodeTo/32K-8 1.40GB/s ± 2% 2.42GB/s ± 2% +73.01% (p=0.008 n=5+5)
DecodeTo/16-8 1.09GB/s ± 0% 2.14GB/s ± 2% +95.84% (p=0.008 n=5+5)
DecodeTo/256-8 2.10GB/s ± 1% 4.16GB/s ± 0% +98.21% (p=0.008 n=5+5)
DecodeTo/4K-8 2.30GB/s ± 1% 4.99GB/s ± 0% +116.55% (p=0.008 n=5+5)
DecodeTo/32K-8 2.33GB/s ± 0% 4.98GB/s ± 0% +113.78% (p=0.008 n=5+5)
|
2022-04-22 17:24:49 +08:00 |
|
源文雨
|
6885586cff
|
speed up & add more api
|
2022-04-22 10:32:20 +08:00 |
|
源文雨
|
851f9f8666
|
new api
|
2022-03-19 19:34:32 +08:00 |
|
源文雨
|
42e4c3cd4b
|
fix: decode out of range
|
2022-03-15 17:28:29 +08:00 |
|
fumiama
|
d84411a4ef
|
适配所有架构
|
2022-02-10 13:58:39 +08:00 |
|
fumiama
|
86dc5b5b23
|
优化 api
|
2021-10-28 14:05:38 +08:00 |
|
fumiama
|
b764251f95
|
放弃 cgo
|
2021-10-28 14:02:36 +08:00 |
|