Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps #215

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Update deps #215

merged 1 commit into from
Jan 1, 2025

Conversation

vearutop
Copy link
Member

@vearutop vearutop commented Jan 1, 2025

No description provided.

Copy link

github-actions bot commented Jan 1, 2025

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes

Copy link

github-actions bot commented Jan 1, 2025

Go API Changes

# github.com/swaggest/rest/chirouter
## compatible changes
github.com/go-chi/chi/v5.Routes.Find: added

# github.com/swaggest/rest/web
## compatible changes
github.com/go-chi/chi/v5.Routes.Find: added

# summary
Inferred base version: v0.2.70
Suggested version: v0.3.0

Copy link

github-actions bot commented Jan 1, 2025

Unit Test Coverage

total: (statements) 80.8%

Coverage of changed lines

No changes in testable statements.

Coverage diff with base branch

No changes in coverage.

Copy link

@llamapreview llamapreview bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto Pull Request Review from LlamaPReview

Review Status: Automated Review Skipped

Dear contributor,

Thank you for your Pull Request. LlamaPReview has analyzed your changes and determined that this PR does not require an automated code review.

Analysis Result:

PR only contains version updates and formatting changes

Technical Context:

Version and formatting changes detected, which include:

  • Package version updates
  • Dependency version changes
  • Code formatting adjustments
  • Whitespace modifications
  • Structural formatting changes

We're continuously improving our PR analysis capabilities. Have thoughts on when and how LlamaPReview should perform automated reviews? Share your insights in our GitHub Discussions.

Best regards,
LlamaPReview Team

Copy link

github-actions bot commented Jan 1, 2025

Benchmark Result

Benchmark diff with base branch
name                                    old time/op    new time/op    delta
pkg:github.com/swaggest/rest/jsonschema goos:linux goarch:amd64
RequestValidator_ValidateRequestData-4    1.11µs ± 1%    1.11µs ± 1%    ~     (p=0.095 n=5+6)
pkg:github.com/swaggest/rest/request goos:linux goarch:amd64
Decoder_Decode-4                           603ns ± 3%     606ns ± 3%    ~     (p=0.818 n=6+6)
DecoderFunc_Decode-4                      1.70µs ± 1%    1.70µs ± 0%    ~     (p=0.970 n=6+6)
Decoder_Decode_json-4                     18.9µs ± 0%    18.9µs ± 0%  -0.28%  (p=0.017 n=6+5)
Decoder_Decode_queryObject-4              4.12µs ± 0%    4.13µs ± 1%    ~     (p=0.889 n=5+5)
Decoder_Decode_jsonParam-4                1.62µs ± 0%    1.62µs ± 0%    ~     (p=0.390 n=6+5)
DecoderFactory_SetDecoderFunc-4           1.39µs ± 1%    1.38µs ± 1%    ~     (p=0.554 n=6+6)
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                              8.37µs ± 1%    8.44µs ± 1%  +0.89%  (p=0.032 n=5+5)
Middleware_control-4                      2.76µs ± 1%    3.03µs ± 1%  +9.79%  (p=0.008 n=5+5)

name                                    old alloc/op   new alloc/op   delta
pkg:github.com/swaggest/rest/jsonschema goos:linux goarch:amd64
RequestValidator_ValidateRequestData-4    2.46kB ± 0%    2.46kB ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/request goos:linux goarch:amd64
Decoder_Decode-4                            440B ± 0%      440B ± 0%    ~     (all equal)
DecoderFunc_Decode-4                      1.53kB ± 0%    1.53kB ± 0%    ~     (all equal)
Decoder_Decode_json-4                     12.4kB ± 0%    12.4kB ± 0%    ~     (all equal)
Decoder_Decode_queryObject-4              2.01kB ± 0%    2.01kB ± 0%    ~     (all equal)
Decoder_Decode_jsonParam-4                  736B ± 0%      736B ± 0%    ~     (all equal)
DecoderFactory_SetDecoderFunc-4           1.02kB ± 0%    1.02kB ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                              1.20kB ± 6%    1.19kB ± 1%    ~     (p=0.662 n=6+5)
Middleware_control-4                      11.2kB ± 0%    11.2kB ± 0%    ~     (all equal)

name                                    old allocs/op  new allocs/op  delta
pkg:github.com/swaggest/rest/jsonschema goos:linux goarch:amd64
RequestValidator_ValidateRequestData-4      8.00 ± 0%      8.00 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/request goos:linux goarch:amd64
Decoder_Decode-4                            4.00 ± 0%      4.00 ± 0%    ~     (all equal)
DecoderFunc_Decode-4                        12.0 ± 0%      12.0 ± 0%    ~     (all equal)
Decoder_Decode_json-4                        177 ± 0%       177 ± 0%    ~     (all equal)
Decoder_Decode_queryObject-4                38.0 ± 0%      38.0 ± 0%    ~     (all equal)
Decoder_Decode_jsonParam-4                  12.0 ± 0%      12.0 ± 0%    ~     (all equal)
DecoderFactory_SetDecoderFunc-4             16.0 ± 0%      16.0 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                                11.0 ± 0%      11.0 ± 0%    ~     (all equal)
Middleware_control-4                        9.00 ± 0%      9.00 ± 0%    ~     (all equal)
Benchmark result
name                                    time/op
pkg:github.com/swaggest/rest/jsonschema goos:linux goarch:amd64
RequestValidator_ValidateRequestData-4  1.11µs ± 1%
pkg:github.com/swaggest/rest/request goos:linux goarch:amd64
Decoder_Decode-4                         606ns ± 3%
DecoderFunc_Decode-4                    1.70µs ± 0%
Decoder_Decode_json-4                   18.9µs ± 0%
Decoder_Decode_queryObject-4            4.13µs ± 1%
Decoder_Decode_jsonParam-4              1.62µs ± 0%
DecoderFactory_SetDecoderFunc-4         1.38µs ± 1%
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                            8.44µs ± 1%
Middleware_control-4                    3.03µs ± 1%

name                                    alloc/op
pkg:github.com/swaggest/rest/jsonschema goos:linux goarch:amd64
RequestValidator_ValidateRequestData-4  2.46kB ± 0%
pkg:github.com/swaggest/rest/request goos:linux goarch:amd64
Decoder_Decode-4                          440B ± 0%
DecoderFunc_Decode-4                    1.53kB ± 0%
Decoder_Decode_json-4                   12.4kB ± 0%
Decoder_Decode_queryObject-4            2.01kB ± 0%
Decoder_Decode_jsonParam-4                736B ± 0%
DecoderFactory_SetDecoderFunc-4         1.02kB ± 0%
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                            1.19kB ± 1%
Middleware_control-4                    11.2kB ± 0%

name                                    allocs/op
pkg:github.com/swaggest/rest/jsonschema goos:linux goarch:amd64
RequestValidator_ValidateRequestData-4    8.00 ± 0%
pkg:github.com/swaggest/rest/request goos:linux goarch:amd64
Decoder_Decode-4                          4.00 ± 0%
DecoderFunc_Decode-4                      12.0 ± 0%
Decoder_Decode_json-4                      177 ± 0%
Decoder_Decode_queryObject-4              38.0 ± 0%
Decoder_Decode_jsonParam-4                12.0 ± 0%
DecoderFactory_SetDecoderFunc-4           16.0 ± 0%
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                              11.0 ± 0%
Middleware_control-4                      9.00 ± 0%

Copy link

github-actions bot commented Jan 1, 2025

Examples Benchmark Result

Benchmark diff with base branch
name                       old time/op    new time/op    delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                17.1µs ± 0%    16.9µs ± 1%    ~     (p=0.114 n=4+4)
_directGzipHead-4            16.9µs ± 1%    16.6µs ± 0%  -1.97%  (p=0.008 n=5+5)
_noDirectGzip-4              94.3µs ± 1%    93.4µs ± 0%    ~     (p=0.056 n=5+5)
_directGzip_decode-4          339µs ± 2%     335µs ± 1%    ~     (p=0.095 n=5+5)
_noDirectGzip_decode-4       94.5µs ± 1%    94.0µs ± 0%    ~     (p=0.413 n=5+4)
_jsonBody-4                  36.1µs ± 2%    36.2µs ± 2%    ~     (p=0.548 n=5+5)
_jsonBodyValidation-4        41.6µs ± 2%    41.6µs ± 1%    ~     (p=1.000 n=5+5)
_outputHeaders-4             17.1µs ± 1%    16.8µs ± 1%  -1.30%  (p=0.008 n=5+5)
_requestResponseMapping-4    34.5µs ± 2%    35.2µs ± 2%  +2.03%  (p=0.032 n=5+5)
_validation-4                37.6µs ± 3%    37.7µs ± 1%    ~     (p=0.548 n=5+5)
_noValidation-4              26.6µs ± 4%    26.4µs ± 2%    ~     (p=0.841 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4           19.9µs ± 1%    20.2µs ± 1%  +1.15%  (p=0.032 n=4+5)
_formOrJSON/json-4           23.4µs ± 0%    23.6µs ± 0%  +0.86%  (p=0.016 n=5+4)
_directGzip-4                17.0µs ± 1%    17.2µs ± 1%    ~     (p=0.056 n=5+5)
_directGzipHead-4            17.4µs ± 4%    17.5µs ± 4%    ~     (p=0.651 n=5+5)
_noDirectGzip-4              94.1µs ± 1%    95.2µs ± 1%  +1.08%  (p=0.032 n=5+5)
_htmlResponse-4              29.9µs ± 1%    30.7µs ± 1%  +2.73%  (p=0.008 n=5+5)
_jsonBodyManual-4            21.1µs ± 0%    21.7µs ± 1%  +2.52%  (p=0.008 n=5+5)
_jsonBody-4                  32.0µs ± 1%    32.2µs ± 1%    ~     (p=0.222 n=5+5)
_jsonBodyValidation-4        39.8µs ± 4%    40.7µs ± 2%    ~     (p=0.151 n=5+5)
_outputHeaders-4             29.4µs ± 1%    29.4µs ± 2%    ~     (p=0.690 n=5+5)
_requestResponseMapping-4    33.4µs ± 2%    34.3µs ± 2%  +2.60%  (p=0.032 n=5+5)
_validation-4                36.0µs ± 2%    37.0µs ± 2%  +2.62%  (p=0.032 n=5+5)
_noValidation-4              26.0µs ± 3%    26.6µs ± 2%    ~     (p=0.095 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4               19.8µs ± 1%    19.6µs ± 1%    ~     (p=0.063 n=4+5)
_ok-4                        19.8µs ± 1%    20.2µs ±10%    ~     (p=0.841 n=5+5)
_invalidBody-4               28.5µs ± 5%    28.3µs ± 5%    ~     (p=0.548 n=5+5)

name                       old 50%:ms     new 50%:ms     delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                  0.76 ± 6%      0.76 ± 8%    ~     (p=0.841 n=5+5)
_directGzipHead-4              0.74 ± 5%      0.72 ± 5%    ~     (p=0.421 n=5+5)
_noDirectGzip-4                4.33 ± 3%      4.25 ± 2%    ~     (p=0.310 n=5+5)
_directGzip_decode-4           11.2 ± 3%      11.4 ± 5%    ~     (p=0.381 n=5+5)
_noDirectGzip_decode-4         4.38 ± 2%      4.31 ± 3%    ~     (p=0.222 n=5+5)
_jsonBody-4                    1.50 ± 4%      1.52 ± 4%    ~     (p=0.310 n=5+5)
_jsonBodyValidation-4          1.71 ± 4%      1.72 ± 3%    ~     (p=0.794 n=5+5)
_outputHeaders-4               0.72 ± 6%      0.73 ± 7%    ~     (p=1.000 n=5+5)
_requestResponseMapping-4      1.41 ± 7%      1.46 ± 5%    ~     (p=0.310 n=5+5)
_validation-4                  1.56 ± 3%      1.57 ± 4%    ~     (p=1.000 n=5+5)
_noValidation-4                1.15 ± 4%      1.08 ± 5%    ~     (p=0.056 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             0.89 ± 8%      0.89 ± 3%    ~     (p=0.690 n=5+5)
_formOrJSON/json-4             0.99 ± 3%      0.99 ± 4%    ~     (p=0.841 n=5+5)
_directGzip-4                  0.73 ± 2%      0.75 ± 5%    ~     (p=0.421 n=5+5)
_directGzipHead-4              0.76 ± 5%      0.77 ±10%    ~     (p=0.841 n=5+5)
_noDirectGzip-4                4.36 ± 3%      4.37 ± 1%    ~     (p=0.548 n=5+5)
_htmlResponse-4                1.25 ± 3%      1.27 ± 1%    ~     (p=0.238 n=5+5)
_jsonBodyManual-4              0.88 ± 1%      0.95 ± 7%  +8.32%  (p=0.016 n=5+5)
_jsonBody-4                    1.33 ± 3%      1.31 ± 4%    ~     (p=0.254 n=5+5)
_jsonBodyValidation-4          1.64 ± 4%      1.68 ± 6%    ~     (p=0.421 n=5+5)
_outputHeaders-4               1.18 ± 4%      1.20 ± 6%    ~     (p=0.690 n=5+5)
_requestResponseMapping-4      1.38 ± 4%      1.40 ± 8%    ~     (p=0.690 n=5+5)
_validation-4                  1.46 ± 5%      1.53 ± 6%    ~     (p=0.222 n=5+5)
_noValidation-4                1.08 ± 9%      1.15 ± 5%    ~     (p=0.056 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 0.86 ± 5%      0.85 ± 4%    ~     (p=0.690 n=5+5)
_ok-4                          0.85 ± 5%      0.87 ± 6%    ~     (p=0.222 n=5+5)
_invalidBody-4                 1.15 ± 6%      1.15 ± 2%    ~     (p=0.690 n=5+5)

name                       old 90%:ms     new 90%:ms     delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                  1.58 ±13%      1.58 ±11%    ~     (p=1.000 n=5+5)
_directGzipHead-4              1.49 ± 3%      1.48 ± 4%    ~     (p=0.802 n=5+5)
_noDirectGzip-4                8.89 ± 5%      8.73 ± 3%    ~     (p=0.310 n=5+5)
_directGzip_decode-4           33.5 ±11%      32.5 ± 3%    ~     (p=0.310 n=5+5)
_noDirectGzip_decode-4         8.97 ± 5%      9.03 ±11%    ~     (p=0.690 n=5+5)
_jsonBody-4                    3.24 ± 1%      3.27 ± 2%    ~     (p=0.254 n=5+5)
_jsonBodyValidation-4          3.70 ± 5%      3.75 ± 4%    ~     (p=0.690 n=5+5)
_outputHeaders-4               1.53 ± 3%      1.52 ± 4%    ~     (p=0.690 n=5+5)
_requestResponseMapping-4      3.17 ± 4%      3.17 ± 6%    ~     (p=0.841 n=5+5)
_validation-4                  3.45 ± 5%      3.45 ± 3%    ~     (p=1.000 n=5+5)
_noValidation-4                2.45 ± 2%      2.55 ± 6%    ~     (p=0.095 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             1.88 ± 9%      1.85 ± 4%    ~     (p=0.500 n=5+5)
_formOrJSON/json-4             2.16 ± 3%      2.22 ±10%    ~     (p=0.548 n=5+5)
_directGzip-4                  1.55 ± 3%      1.58 ± 5%    ~     (p=0.421 n=5+5)
_directGzipHead-4              1.58 ± 5%      1.54 ± 2%    ~     (p=0.548 n=5+5)
_noDirectGzip-4                9.08 ± 5%      8.89 ± 2%    ~     (p=0.421 n=5+5)
_htmlResponse-4                2.83 ± 3%      2.86 ± 5%    ~     (p=1.000 n=5+5)
_jsonBodyManual-4              1.88 ± 1%      1.95 ± 3%  +3.54%  (p=0.032 n=5+5)
_jsonBody-4                    2.92 ± 2%      3.01 ± 4%    ~     (p=0.056 n=5+5)
_jsonBodyValidation-4          3.69 ± 6%      3.61 ± 2%    ~     (p=0.421 n=5+5)
_outputHeaders-4               2.79 ± 5%      2.81 ± 3%    ~     (p=0.841 n=5+5)
_requestResponseMapping-4      3.08 ± 7%      3.19 ± 3%    ~     (p=0.151 n=5+5)
_validation-4                  3.41 ± 4%      3.33 ± 2%    ~     (p=0.151 n=5+5)
_noValidation-4                2.46 ± 3%      2.50 ± 4%    ~     (p=0.841 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 1.79 ± 5%      1.74 ± 3%    ~     (p=0.095 n=5+5)
_ok-4                          1.81 ± 6%      1.87 ±15%    ~     (p=1.000 n=5+5)
_invalidBody-4                 2.69 ±10%      2.67 ± 7%    ~     (p=0.841 n=5+5)

name                       old 99%:ms     new 99%:ms     delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                  2.44 ± 4%      2.51 ± 6%    ~     (p=0.200 n=4+4)
_directGzipHead-4              2.47 ± 3%      2.48 ± 3%    ~     (p=1.000 n=5+5)
_noDirectGzip-4                13.7 ± 4%      13.4 ± 6%    ~     (p=0.222 n=5+5)
_directGzip_decode-4           61.8 ± 8%      63.2 ± 9%    ~     (p=0.690 n=5+5)
_noDirectGzip_decode-4         13.8 ± 6%      13.7 ± 3%    ~     (p=0.905 n=5+4)
_jsonBody-4                    5.13 ± 4%      5.07 ± 4%    ~     (p=0.841 n=5+5)
_jsonBodyValidation-4          6.30 ± 3%      6.27 ± 4%    ~     (p=0.690 n=5+5)
_outputHeaders-4               2.63 ± 5%      2.67 ± 4%    ~     (p=0.548 n=5+5)
_requestResponseMapping-4      5.11 ± 5%      5.08 ± 5%    ~     (p=1.000 n=5+5)
_validation-4                  5.84 ± 8%      5.56 ±10%    ~     (p=0.421 n=5+5)
_noValidation-4                4.17 ±11%      4.00 ± 2%    ~     (p=0.246 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             2.78 ± 2%      2.88 ± 3%    ~     (p=0.063 n=4+5)
_formOrJSON/json-4             3.48 ± 3%      3.98 ±41%    ~     (p=0.310 n=5+5)
_directGzip-4                  2.49 ± 5%      2.54 ± 8%    ~     (p=0.548 n=5+5)
_directGzipHead-4              2.71 ± 9%      2.67 ± 2%    ~     (p=0.222 n=5+5)
_noDirectGzip-4                13.3 ± 8%      13.5 ± 5%    ~     (p=0.690 n=5+5)
_htmlResponse-4                4.57 ± 2%      4.86 ± 6%  +6.37%  (p=0.008 n=5+5)
_jsonBodyManual-4              3.15 ± 3%      3.27 ± 8%    ~     (p=0.095 n=5+5)
_jsonBody-4                    4.72 ± 3%      4.70 ± 2%    ~     (p=1.000 n=5+5)
_jsonBodyValidation-4          5.78 ± 4%      5.98 ±10%    ~     (p=0.310 n=5+5)
_outputHeaders-4               4.37 ± 7%      4.48 ± 5%    ~     (p=0.421 n=5+5)
_requestResponseMapping-4      4.74 ± 7%      4.77 ± 8%    ~     (p=0.841 n=5+5)
_validation-4                  5.10 ± 6%      5.23 ± 3%    ~     (p=0.222 n=5+5)
_noValidation-4                4.06 ± 6%      4.20 ± 4%    ~     (p=0.310 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 3.18 ±42%      2.81 ± 6%    ~     (p=0.421 n=5+5)
_ok-4                          2.89 ± 3%      2.74 ± 2%  -5.10%  (p=0.016 n=5+4)
_invalidBody-4                 4.63 ± 6%      4.58 ±10%    ~     (p=0.841 n=5+5)

name                       old 99.9%:ms   new 99.9%:ms   delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                  3.64 ± 8%      4.36 ±65%    ~     (p=1.000 n=4+5)
_directGzipHead-4              3.76 ±13%      4.08 ±18%    ~     (p=0.421 n=5+5)
_noDirectGzip-4                19.1 ±15%      19.0 ±13%    ~     (p=0.841 n=5+5)
_directGzip_decode-4           87.0 ±17%      86.8 ± 5%    ~     (p=0.841 n=5+5)
_noDirectGzip_decode-4         18.3 ± 9%      17.5 ± 4%    ~     (p=0.730 n=5+4)
_jsonBody-4                    7.46 ± 7%      7.14 ± 8%    ~     (p=0.222 n=5+5)
_jsonBodyValidation-4          9.05 ± 7%      9.01 ±13%    ~     (p=0.548 n=5+5)
_outputHeaders-4               4.53 ± 9%      4.39 ±18%    ~     (p=0.841 n=5+5)
_requestResponseMapping-4      7.70 ± 6%      7.30 ± 9%    ~     (p=0.151 n=5+5)
_validation-4                  8.93 ±13%      8.00 ±10%    ~     (p=0.056 n=5+5)
_noValidation-4                6.09 ±30%      6.10 ± 7%    ~     (p=0.548 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             4.56 ±47%      4.04 ±12%    ~     (p=0.841 n=5+5)
_formOrJSON/json-4             4.95 ± 7%      5.66 ±50%    ~     (p=0.690 n=5+5)
_directGzip-4                  3.90 ±11%      4.20 ±18%    ~     (p=0.690 n=5+5)
_directGzipHead-4              4.69 ±15%      4.23 ±15%    ~     (p=0.095 n=5+5)
_noDirectGzip-4                19.8 ±13%      20.2 ±12%    ~     (p=0.841 n=5+5)
_htmlResponse-4                6.44 ± 8%      6.76 ± 3%    ~     (p=0.421 n=5+5)
_jsonBodyManual-4              5.08 ± 4%      4.92 ±13%    ~     (p=0.690 n=5+5)
_jsonBody-4                    6.89 ± 7%      6.65 ±11%    ~     (p=0.421 n=5+5)
_jsonBodyValidation-4          8.21 ± 7%      8.29 ± 9%    ~     (p=0.841 n=5+5)
_outputHeaders-4               6.16 ± 8%      6.54 ± 8%    ~     (p=0.095 n=5+5)
_requestResponseMapping-4      6.65 ± 4%      7.11 ± 3%  +6.87%  (p=0.016 n=5+5)
_validation-4                  7.49 ± 8%      7.42 ±17%    ~     (p=0.548 n=5+5)
_noValidation-4                5.84 ±16%      5.89 ± 5%    ~     (p=0.548 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 4.46 ±48%      3.80 ± 7%    ~     (p=0.222 n=5+5)
_ok-4                          4.16 ±13%      4.58 ±60%    ~     (p=1.000 n=5+5)
_invalidBody-4                 6.65 ±14%      6.43 ±10%    ~     (p=0.841 n=5+5)

name                       old B:rcvd/op  new B:rcvd/op  delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                   630 ± 0%       630 ± 0%    ~     (all equal)
_directGzipHead-4               174 ± 0%       174 ± 0%    ~     (all equal)
_noDirectGzip-4               1.03k ± 0%     1.03k ± 0%    ~     (all equal)
_directGzip_decode-4            630 ± 0%       630 ± 0%    ~     (all equal)
_noDirectGzip_decode-4        1.03k ± 0%     1.03k ± 0%    ~     (all equal)
_jsonBody-4                     199 ± 0%       199 ± 0%    ~     (all equal)
_jsonBodyValidation-4           185 ± 0%       185 ± 0%    ~     (all equal)
_outputHeaders-4                146 ± 0%       146 ± 0%    ~     (all equal)
_requestResponseMapping-4      94.0 ± 0%      94.0 ± 0%    ~     (all equal)
_validation-4                   168 ± 0%       168 ± 0%    ~     (all equal)
_noValidation-4                 168 ± 0%       168 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4              155 ± 0%       155 ± 0%    ~     (all equal)
_formOrJSON/json-4              156 ± 0%       156 ± 0%    ~     (all equal)
_directGzip-4                   638 ± 0%       638 ± 0%    ~     (all equal)
_directGzipHead-4               182 ± 0%       182 ± 0%    ~     (all equal)
_noDirectGzip-4               1.04k ± 0%     1.04k ± 0%    ~     (all equal)
_htmlResponse-4                 355 ± 0%       355 ± 0%    ~     (all equal)
_jsonBodyManual-4               207 ± 0%       207 ± 0%    ~     (all equal)
_jsonBody-4                     207 ± 0%       207 ± 0%    ~     (all equal)
_jsonBodyValidation-4           193 ± 0%       193 ± 0%    ~     (all equal)
_outputHeaders-4                214 ± 0%       214 ± 0%    ~     (all equal)
_requestResponseMapping-4       108 ± 0%       108 ± 0%    ~     (all equal)
_validation-4                   176 ± 0%       176 ± 0%    ~     (all equal)
_noValidation-4                 176 ± 0%       176 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                  322 ± 0%       322 ± 0%    ~     (all equal)
_ok-4                           344 ± 0%       344 ± 0%    ~     (all equal)
_invalidBody-4                  420 ± 0%       420 ± 0%    ~     (all equal)

name                       old B:sent/op  new B:sent/op  delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                   103 ± 0%       103 ± 0%    ~     (all equal)
_directGzipHead-4               104 ± 0%       104 ± 0%    ~     (all equal)
_noDirectGzip-4                 117 ± 0%       117 ± 0%    ~     (all equal)
_directGzip_decode-4            116 ± 0%       116 ± 0%    ~     (all equal)
_noDirectGzip_decode-4          130 ± 0%       130 ± 0%    ~     (all equal)
_jsonBody-4                     188 ± 0%       188 ± 0%    ~     (all equal)
_jsonBodyValidation-4           192 ± 0%       192 ± 0%    ~     (all equal)
_outputHeaders-4               77.0 ± 0%      77.0 ± 0%    ~     (all equal)
_requestResponseMapping-4       169 ± 0%       169 ± 0%    ~     (all equal)
_validation-4                   170 ± 0%       170 ± 0%    ~     (all equal)
_noValidation-4                 173 ± 0%       173 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4              170 ± 0%       170 ± 0%    ~     (all equal)
_formOrJSON/json-4              162 ± 0%       162 ± 0%    ~     (all equal)
_directGzip-4                   103 ± 0%       103 ± 0%    ~     (all equal)
_directGzipHead-4               104 ± 0%       104 ± 0%    ~     (all equal)
_noDirectGzip-4                 117 ± 0%       117 ± 0%    ~     (all equal)
_htmlResponse-4                 108 ± 0%       108 ± 0%    ~     (all equal)
_jsonBodyManual-4               195 ± 0%       195 ± 0%    ~     (all equal)
_jsonBody-4                     188 ± 0%       188 ± 0%    ~     (all equal)
_jsonBodyValidation-4           192 ± 0%       192 ± 0%    ~     (all equal)
_outputHeaders-4               88.0 ± 0%      88.0 ± 0%    ~     (all equal)
_requestResponseMapping-4       169 ± 0%       169 ± 0%    ~     (all equal)
_validation-4                   170 ± 0%       170 ± 0%    ~     (all equal)
_noValidation-4                 173 ± 0%       173 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 74.0 ± 0%      74.0 ± 0%    ~     (all equal)
_ok-4                          74.0 ± 0%      74.0 ± 0%    ~     (all equal)
_invalidBody-4                  137 ± 0%       137 ± 0%    ~     (all equal)

name                       old rps        new rps        delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                 58.6k ± 0%     57.2k ±15%    ~     (p=0.413 n=4+5)
_directGzipHead-4             59.1k ± 1%     60.3k ± 0%  +2.01%  (p=0.008 n=5+5)
_noDirectGzip-4               10.6k ± 1%     10.7k ± 0%    ~     (p=0.056 n=5+5)
_directGzip_decode-4          2.95k ± 2%     2.99k ± 1%    ~     (p=0.095 n=5+5)
_noDirectGzip_decode-4        10.6k ± 1%     10.6k ± 0%    ~     (p=0.333 n=5+4)
_jsonBody-4                   27.7k ± 2%     27.6k ± 2%    ~     (p=0.548 n=5+5)
_jsonBodyValidation-4         24.0k ± 2%     24.0k ± 1%    ~     (p=1.000 n=5+5)
_outputHeaders-4              58.6k ± 1%     59.3k ± 1%  +1.31%  (p=0.008 n=5+5)
_requestResponseMapping-4     29.0k ± 2%     28.4k ± 2%  -1.99%  (p=0.032 n=5+5)
_validation-4                 26.6k ± 2%     26.5k ± 1%    ~     (p=0.548 n=5+5)
_noValidation-4               37.6k ± 4%     37.9k ± 2%    ~     (p=0.841 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4            50.1k ± 1%     49.6k ± 1%  -1.14%  (p=0.016 n=4+5)
_formOrJSON/json-4            42.8k ± 0%     42.4k ± 0%  -0.85%  (p=0.016 n=5+4)
_directGzip-4                 58.7k ± 1%     58.0k ± 1%    ~     (p=0.056 n=5+5)
_directGzipHead-4             57.5k ± 4%     57.3k ± 4%    ~     (p=0.690 n=5+5)
_noDirectGzip-4               10.6k ± 1%     10.5k ± 1%  -1.07%  (p=0.032 n=5+5)
_htmlResponse-4               33.4k ± 1%     32.5k ± 1%  -2.66%  (p=0.008 n=5+5)
_jsonBodyManual-4             47.3k ± 0%     46.2k ± 1%  -2.45%  (p=0.008 n=5+5)
_jsonBody-4                   31.3k ± 1%     31.1k ± 1%    ~     (p=0.222 n=5+5)
_jsonBodyValidation-4         25.1k ± 4%     24.6k ± 2%    ~     (p=0.151 n=5+5)
_outputHeaders-4              34.0k ± 1%     34.0k ± 2%    ~     (p=0.690 n=5+5)
_requestResponseMapping-4     29.9k ± 2%     29.2k ± 2%  -2.52%  (p=0.032 n=5+5)
_validation-4                 27.8k ± 2%     27.1k ± 2%  -2.54%  (p=0.032 n=5+5)
_noValidation-4               38.5k ± 3%     37.6k ± 2%    ~     (p=0.095 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                50.6k ± 1%     51.0k ± 1%    ~     (p=0.063 n=4+5)
_ok-4                         50.6k ± 1%     49.6k ± 9%    ~     (p=0.841 n=5+5)
_invalidBody-4                35.1k ± 5%     35.4k ± 5%    ~     (p=0.548 n=5+5)

name                       old alloc/op   new alloc/op   delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                3.99kB ± 0%    3.99kB ± 0%    ~     (p=0.619 n=5+5)
_directGzipHead-4            3.99kB ± 0%    3.99kB ± 0%    ~     (p=0.508 n=5+5)
_noDirectGzip-4              7.68kB ±20%    7.39kB ±21%    ~     (p=0.690 n=5+5)
_directGzip_decode-4          398kB ± 0%     399kB ± 0%    ~     (p=0.841 n=5+5)
_noDirectGzip_decode-4       6.76kB ±11%    6.86kB ±10%    ~     (p=1.000 n=5+5)
_jsonBody-4                  13.7kB ± 0%    13.7kB ± 0%    ~     (p=0.841 n=5+5)
_jsonBodyValidation-4        19.5kB ± 0%    19.5kB ± 0%    ~     (p=0.135 n=5+5)
_outputHeaders-4             3.71kB ± 0%    3.71kB ± 0%  -0.05%  (p=0.000 n=4+5)
_requestResponseMapping-4    16.8kB ± 0%    16.8kB ± 0%    ~     (p=0.325 n=5+5)
_validation-4                16.7kB ± 0%    16.7kB ± 0%    ~     (p=0.714 n=5+5)
_noValidation-4              7.92kB ± 0%    7.92kB ± 0%    ~     (p=0.444 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4           6.25kB ± 0%    6.25kB ± 0%    ~     (p=0.238 n=5+5)
_formOrJSON/json-4           6.64kB ± 0%    6.64kB ± 0%    ~     (p=0.333 n=5+5)
_directGzip-4                4.00kB ± 0%    4.00kB ± 0%    ~     (p=1.000 n=4+4)
_directGzipHead-4            4.00kB ± 0%    4.00kB ± 0%    ~     (p=0.857 n=5+5)
_noDirectGzip-4              7.68kB ±18%    7.73kB ±20%    ~     (p=0.548 n=5+5)
_htmlResponse-4              8.54kB ± 0%    8.54kB ± 0%    ~     (p=0.127 n=5+5)
_jsonBodyManual-4            4.96kB ± 0%    4.96kB ± 0%    ~     (p=1.000 n=5+5)
_jsonBody-4                  10.7kB ± 0%    10.7kB ± 0%    ~     (p=0.206 n=5+5)
_jsonBodyValidation-4        19.5kB ± 0%    19.5kB ± 0%    ~     (p=0.246 n=5+5)
_outputHeaders-4             10.5kB ± 0%    10.5kB ± 0%    ~     (p=0.111 n=5+5)
_requestResponseMapping-4    16.8kB ± 0%    16.8kB ± 0%    ~     (p=0.746 n=5+5)
_validation-4                16.7kB ± 0%    16.7kB ± 0%    ~     (p=0.286 n=5+5)
_noValidation-4              7.95kB ± 0%    7.95kB ± 0%    ~     (p=0.690 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4               5.24kB ± 0%    5.24kB ± 0%    ~     (p=0.754 n=5+5)
_ok-4                        5.15kB ± 0%    5.15kB ± 0%    ~     (p=0.743 n=4+4)
_invalidBody-4               8.83kB ± 0%    8.83kB ± 0%    ~     (p=1.000 n=4+4)

name                       old allocs/op  new allocs/op  delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                  42.0 ± 0%      42.0 ± 0%    ~     (all equal)
_directGzipHead-4              42.0 ± 0%      42.0 ± 0%    ~     (all equal)
_noDirectGzip-4                49.2 ± 4%      49.2 ± 4%    ~     (p=1.000 n=5+5)
_directGzip_decode-4            486 ± 0%       486 ± 0%    ~     (p=1.000 n=5+5)
_noDirectGzip_decode-4         50.0 ± 0%      50.0 ± 0%    ~     (all equal)
_jsonBody-4                     130 ± 0%       130 ± 0%    ~     (all equal)
_jsonBodyValidation-4           187 ± 0%       187 ± 0%    ~     (all equal)
_outputHeaders-4               36.0 ± 0%      36.0 ± 0%    ~     (all equal)
_requestResponseMapping-4       124 ± 0%       124 ± 0%    ~     (all equal)
_validation-4                   155 ± 0%       155 ± 0%    ~     (all equal)
_noValidation-4                91.0 ± 0%      91.0 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             60.0 ± 0%      60.0 ± 0%    ~     (all equal)
_formOrJSON/json-4             66.0 ± 0%      66.0 ± 0%    ~     (all equal)
_directGzip-4                  43.0 ± 0%      43.0 ± 0%    ~     (all equal)
_directGzipHead-4              43.0 ± 0%      43.0 ± 0%    ~     (all equal)
_noDirectGzip-4                50.2 ± 4%      50.2 ± 4%    ~     (p=1.000 n=5+5)
_htmlResponse-4                 146 ± 0%       146 ± 0%    ~     (all equal)
_jsonBodyManual-4              49.0 ± 0%      49.0 ± 0%    ~     (all equal)
_jsonBody-4                     100 ± 0%       100 ± 0%    ~     (all equal)
_jsonBodyValidation-4           188 ± 0%       188 ± 0%    ~     (all equal)
_outputHeaders-4                112 ± 0%       112 ± 0%    ~     (all equal)
_requestResponseMapping-4       125 ± 0%       125 ± 0%    ~     (all equal)
_validation-4                   155 ± 0%       155 ± 0%    ~     (all equal)
_noValidation-4                92.0 ± 0%      92.0 ± 0%    ~     (all equal)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 54.0 ± 0%      54.0 ± 0%    ~     (all equal)
_ok-4                          50.0 ± 0%      50.0 ± 0%    ~     (all equal)
_invalidBody-4                 97.0 ± 0%      97.0 ± 0%    ~     (all equal)

@vearutop vearutop merged commit 35aa7c7 into master Jan 1, 2025
9 checks passed
@vearutop vearutop deleted the upd-deps branch January 1, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant