-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Commit 041cc00
committed
net/http: pool transport gzip readers
name old time/op new time/op delta
GzipReaderInit-8 8.97μs ± 6% 2.61μs ± 7% -70.87% (p=0.000 n=10+9)
name old alloc/op new alloc/op delta
GzipReaderInit-8 45.5kB ± 0% 4.4kB ± 0% -90.36% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
GzipReaderInit-8 10.0 ± 0% 6.0 ± 0% -40.00% (p=0.000 n=10+10)
Allocation saving comes from absent compress/flate.(*dictDecoder).init
Fixes #61353 1 parent ce0f28e commit 041cc00
1 file changed
+61
-15
lines changedLines changed: 61 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | + | ||
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
2844 | 2845 |
| |
2845 | 2846 |
| |
2846 | 2847 |
| |
2847 | - | ||
2848 | + | ||
2849 | + | ||
2850 | + | ||
2848 | 2851 |
| |
2849 | 2852 |
| |
2850 | 2853 |
| |
2851 | - | ||
2852 | - | ||
2854 | + | ||
2855 | + | ||
2856 | + | ||
2857 | + | ||
2858 | + | ||
2859 | + | ||
2860 | + | ||
2861 | + | ||
2862 | + | ||
2863 | + | ||
2864 | + | ||
2865 | + | ||
2866 | + | ||
2867 | + | ||
2868 | + | ||
2869 | + | ||
2870 | + | ||
2871 | + | ||
2872 | + | ||
2873 | + | ||
2874 | + | ||
2875 | + | ||
2876 | + | ||
2877 | + | ||
2853 | 2878 |
| |
2854 | 2879 |
| |
2855 | 2880 |
| |
2856 | - | ||
2881 | + | ||
2882 | + | ||
2883 | + | ||
2884 | + | ||
2857 | 2885 |
| |
2858 | - | ||
2859 | - | ||
2860 | - | ||
2861 | - | ||
2886 | + | ||
2887 | + | ||
2888 | + | ||
2889 | + | ||
2890 | + | ||
2891 | + | ||
2862 | 2892 |
| |
2893 | + | ||
2863 | 2894 |
| |
2864 | - | ||
2865 | - | ||
2866 | - | ||
2867 | - | ||
2868 | - | ||
2869 | - | ||
2895 | + | ||
2896 | + | ||
2870 | 2897 |
| |
2871 | 2898 |
| |
2872 | 2899 |
| |
2873 | 2900 |
| |
2874 | - | ||
2901 | + | ||
2902 | + | ||
2903 | + | ||
2904 | + | ||
2905 | + | ||
2906 | + | ||
2907 | + | ||
2908 | + | ||
2909 | + | ||
2910 | + | ||
2911 | + | ||
2912 | + | ||
2875 | 2913 |
| |
2876 | 2914 |
| |
2877 | 2915 |
| |
2916 | + | ||
2917 | + | ||
2918 | + | ||
2919 | + | ||
2920 | + | ||
2921 | + | ||
2922 | + | ||
2923 | + | ||
2878 | 2924 |
| |
2879 | 2925 |
| |
2880 | 2926 |
| |
|
0 commit comments