-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve unpackString performance (#1011)
I'm not convinced this is really worth doing, but it does show a performance improvement. name old time/op new time/op delta UnpackString/Escaped-12 83.7ns ± 7% 78.2ns ± 3% -6.50% (p=0.000 n=10+9) UnpackString/Unescaped-12 57.8ns ± 9% 50.4ns ±13% -12.74% (p=0.000 n=10+10) name old alloc/op new alloc/op delta UnpackString/Escaped-12 48.0B ± 0% 32.0B ± 0% -33.33% (p=0.000 n=10+10) UnpackString/Unescaped-12 32.0B ± 0% 32.0B ± 0% ~ (all equal) name old allocs/op new allocs/op delta UnpackString/Escaped-12 2.00 ± 0% 1.00 ± 0% -50.00% (p=0.000 n=10+10) UnpackString/Unescaped-12 1.00 ± 0% 1.00 ± 0% ~ (all equal)
- Loading branch information
Showing
2 changed files
with
43 additions
and
13 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