-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fpdf: introduce buffer pool for (de)flating buffers
``` name old time/op new time/op delta ParsePNG_rgb-8 22.8ms ± 1% 16.0ms ± 3% -29.81% (p=0.000 n=25+30) ParsePNG_gray-8 660µs ± 3% 624µs ± 4% -5.54% (p=0.000 n=28+30) ParsePNG_small-8 2.49µs ± 2% 2.12µs ± 3% -14.83% (p=0.000 n=30+30) ParseJPG-8 36.3µs ± 4% 36.8µs ± 5% ~ (p=0.070 n=30+30) ParseGIF-8 410µs ± 3% 409µs ± 4% ~ (p=0.562 n=30+29) name old alloc/op new alloc/op delta ParsePNG_rgb-8 26.4MB ± 0% 4.2MB ±10% -84.04% (p=0.000 n=29+30) ParsePNG_gray-8 2.56MB ± 0% 2.49MB ± 0% -2.73% (p=0.000 n=30+30) ParsePNG_small-8 8.96kB ± 0% 9.84kB ± 0% +9.73% (p=0.000 n=30+30) ParseJPG-8 274kB ± 0% 274kB ± 0% -0.00% (p=0.002 n=30+30) ParseGIF-8 897kB ± 0% 898kB ± 0% +0.10% (p=0.000 n=30+30) name old allocs/op new allocs/op delta ParsePNG_rgb-8 400 ± 0% 292 ± 0% -27.00% (p=0.000 n=30+28) ParsePNG_gray-8 164 ± 0% 114 ± 0% -30.49% (p=0.000 n=30+30) ParsePNG_small-8 35.0 ± 0% 10.0 ± 0% -71.43% (p=0.000 n=30+30) ParseJPG-8 12.0 ± 0% 12.0 ± 0% ~ (all equal) ParseGIF-8 214 ± 0% 191 ± 0% -10.75% (p=0.000 n=30+30) ```
- Loading branch information
Showing
10 changed files
with
351 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.