File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,29 +12,3 @@ The library will first try to use a dynamic/shared library (if installed) via [p
1212
1313* ` nodynamic ` - do not use dynamic/shared library (use only the transpiled Go)
1414
15- ### Benchmark
16-
17- ```
18- goos: linux
19- goarch: amd64
20- pkg: github.com/gen2brain/webp
21- cpu: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
22-
23- BenchmarkDecodeStd-8 157 7639585 ns/op 473683 B/op 13 allocs/op
24- BenchmarkDecodeWasm2go-8 156 7799653 ns/op 2614793 B/op 316 allocs/op
25- BenchmarkDecodeDynamic-8 344 3497863 ns/op 943356 B/op 58 allocs/op
26- BenchmarkDecodeTranspiled-8 (1) 138 8562133 ns/op 1335622 B/op 52 allocs/op
27- BenchmarkDecodeCGo1-8 (2) 300 3897300 ns/op 1333630 B/op 21 allocs/op
28- BenchmarkDecodeCGo2-8 (3) 314 3801195 ns/op 1334020 B/op 22 allocs/op
29-
30- BenchmarkEncodeWasm2go-8 12 96123599 ns/op 4857356 B/op 298 allocs/op
31- BenchmarkEncodeDynamic-8 55 19022243 ns/op 19888 B/op 42 allocs/op
32- BenchmarkEncodeTranspiled-8 (1) 18 60042805 ns/op 76104 B/op 36 allocs/op
33- BenchmarkEncodeCGo1-8 (2) 31 32538122 ns/op 3213497 B/op 524294 allocs/op
34- BenchmarkEncodeCGo2-8 (3) 52 22482704 ns/op 26043 B/op 5 allocs/op
35- ```
36-
37- - ` (1) ` [ git.sr.ht/~ jackmordaunt/go-libwebp] ( https://git.sr.ht/~jackmordaunt/go-libwebp )
38- - ` (2) ` [ github.com/chai2010/webp] ( https://github.com/chai2010/webp )
39- - ` (3) ` [ github.com/kolesa-team/go-webp] ( https://github.com/kolesa-team/go-webp )
40-
You can’t perform that action at this time.
0 commit comments