Skip to content

Update deps and CI #226

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

Merged
merged 4 commits into from
Mar 26, 2025
Merged

Update deps and CI #226

merged 4 commits into from
Mar 26, 2025

Conversation

vearutop
Copy link
Member

No description provided.

Copy link

github-actions bot commented Mar 26, 2025

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
JSON 3 2164 (+5) 2164 (+5) 0 0 0 83K (+180B)
YAML 10 669 (-22) 576 (-22) 45 48 0 20.3K (-1.1K)

Copy link

Go API Changes

# summary
Inferred base version: v0.2.73
Suggested version: v0.2.74

Copy link

Unit Test Coverage

total: (statements) 80.6%

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 contains only dependency updates and configuration changes for CI/CD and linters, with no core logic modifications or security implications. All changes are well-contained and do not impact the functional behavior of the application. The CI/CD pipeline results indicate successful builds and tests, confirming the stability of these 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 Mar 26, 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.12µs ± 2%    1.11µs ± 1%    ~     (p=0.175 n=5+5)
pkg:github.com/swaggest/rest/request goos:linux goarch:amd64
Decoder_Decode-4                           638ns ± 1%     635ns ± 0%    ~     (p=0.556 n=5+4)
DecoderFunc_Decode-4                      1.81µs ± 1%    1.80µs ± 0%    ~     (p=0.413 n=5+5)
Decoder_Decode_json-4                     18.9µs ± 1%    18.9µs ± 1%    ~     (p=0.841 n=5+5)
Decoder_Decode_queryObject-4              4.16µs ± 1%    4.17µs ± 1%    ~     (p=0.548 n=5+5)
Decoder_Decode_jsonParam-4                1.54µs ± 1%    1.55µs ± 0%    ~     (p=0.135 n=5+5)
DecoderFactory_SetDecoderFunc-4           1.43µs ± 1%    1.44µs ± 0%    ~     (p=0.143 n=5+5)
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                              11.5µs ± 2%    11.3µs ± 0%  -1.10%  (p=0.016 n=5+4)
Middleware_control-4                      2.71µs ± 1%    2.72µs ± 2%    ~     (p=1.000 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 ± 5%    1.17kB ± 3%    ~     (p=0.230 n=5+5)
Middleware_control-4                      11.1kB ± 0%    11.1kB ± 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                        8.00 ± 0%      8.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                         635ns ± 0%
DecoderFunc_Decode-4                    1.80µs ± 0%
Decoder_Decode_json-4                   18.9µs ± 1%
Decoder_Decode_queryObject-4            4.17µs ± 1%
Decoder_Decode_jsonParam-4              1.55µs ± 0%
DecoderFactory_SetDecoderFunc-4         1.44µs ± 0%
pkg:github.com/swaggest/rest/response/gzip goos:linux goarch:amd64
Middleware-4                            11.3µs ± 0%
Middleware_control-4                    2.72µs ± 2%

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.17kB ± 3%
Middleware_control-4                    11.1kB ± 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                      8.00 ± 0%

Copy link

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.9µs ± 8%    16.9µs ± 1%   -5.25%  (p=0.032 n=5+5)
_directGzipHead-4            17.1µs ± 1%    16.7µs ± 1%   -1.83%  (p=0.016 n=5+4)
_noDirectGzip-4              94.9µs ± 1%    94.9µs ± 1%     ~     (p=0.841 n=5+5)
_directGzip_decode-4          331µs ± 1%     326µs ± 2%     ~     (p=0.095 n=5+5)
_noDirectGzip_decode-4       95.1µs ± 1%    95.9µs ± 1%     ~     (p=0.095 n=5+5)
_jsonBody-4                  36.2µs ± 0%    36.1µs ± 1%     ~     (p=0.286 n=5+5)
_jsonBodyValidation-4        41.1µs ± 3%    40.7µs ± 3%     ~     (p=0.548 n=5+5)
_outputHeaders-4             17.1µs ± 2%    17.0µs ± 0%     ~     (p=0.222 n=5+5)
_requestResponseMapping-4    34.0µs ± 2%    34.5µs ± 1%   +1.30%  (p=0.016 n=5+5)
_validation-4                37.2µs ± 1%    37.5µs ± 2%     ~     (p=0.421 n=5+5)
_noValidation-4              26.4µs ± 1%    26.5µs ± 3%     ~     (p=0.548 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4           20.6µs ±10%    20.4µs ± 9%     ~     (p=0.421 n=5+5)
_formOrJSON/json-4           23.4µs ± 1%    22.9µs ± 0%   -2.09%  (p=0.008 n=5+5)
_directGzip-4                17.3µs ± 1%    17.0µs ± 1%   -1.92%  (p=0.016 n=5+5)
_directGzipHead-4            17.6µs ± 5%    17.2µs ± 3%     ~     (p=0.421 n=5+5)
_noDirectGzip-4               107µs ± 0%     107µs ± 1%     ~     (p=0.310 n=5+5)
_htmlResponse-4              31.2µs ± 2%    31.1µs ± 3%     ~     (p=0.841 n=5+5)
_jsonBodyManual-4            21.9µs ± 1%    21.9µs ± 1%     ~     (p=1.000 n=5+5)
_jsonBody-4                  33.7µs ± 2%    33.2µs ± 1%     ~     (p=0.095 n=5+5)
_jsonBodyValidation-4        42.0µs ± 1%    42.0µs ± 0%     ~     (p=0.841 n=5+5)
_outputHeaders-4             30.3µs ± 1%    30.3µs ± 1%     ~     (p=0.690 n=5+5)
_requestResponseMapping-4    34.9µs ± 3%    35.4µs ± 2%     ~     (p=0.421 n=5+5)
_validation-4                38.2µs ± 1%    38.4µs ± 1%     ~     (p=0.310 n=5+5)
_noValidation-4              27.2µs ± 1%    27.5µs ± 1%     ~     (p=0.095 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4               20.0µs ± 8%    19.8µs ± 1%     ~     (p=0.421 n=5+5)
_ok-4                        19.7µs ± 1%    20.4µs ± 9%   +3.30%  (p=0.016 n=5+5)
_invalidBody-4               29.0µs ± 4%    29.2µs ± 5%     ~     (p=0.690 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.77 ± 8%      0.74 ± 6%     ~     (p=0.421 n=5+5)
_directGzipHead-4              0.75 ± 5%      0.76 ± 6%     ~     (p=0.690 n=5+5)
_noDirectGzip-4                4.29 ± 4%      4.29 ± 3%     ~     (p=1.000 n=5+5)
_directGzip_decode-4           11.4 ± 7%      10.9 ±13%     ~     (p=0.310 n=5+5)
_noDirectGzip_decode-4         4.31 ± 5%      4.37 ± 6%     ~     (p=0.690 n=5+5)
_jsonBody-4                    1.54 ± 5%      1.53 ± 9%     ~     (p=0.421 n=5+5)
_jsonBodyValidation-4          1.68 ± 6%      1.71 ± 5%     ~     (p=0.548 n=5+5)
_outputHeaders-4               0.72 ± 5%      0.74 ± 6%     ~     (p=0.690 n=5+5)
_requestResponseMapping-4      1.41 ± 4%      1.40 ± 5%     ~     (p=1.000 n=5+5)
_validation-4                  1.53 ± 5%      1.54 ± 7%     ~     (p=1.000 n=5+5)
_noValidation-4                1.12 ± 2%      1.11 ± 7%     ~     (p=0.802 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             0.85 ± 3%      0.86 ± 7%     ~     (p=0.968 n=5+5)
_formOrJSON/json-4             1.00 ± 6%      0.98 ± 7%     ~     (p=0.310 n=5+5)
_directGzip-4                  0.73 ± 5%      0.75 ± 4%     ~     (p=0.095 n=5+5)
_directGzipHead-4              0.77 ± 7%      0.75 ± 9%     ~     (p=0.548 n=5+5)
_noDirectGzip-4                4.83 ± 4%      4.99 ± 4%     ~     (p=0.151 n=5+5)
_htmlResponse-4                1.32 ± 6%      1.34 ± 4%     ~     (p=0.690 n=5+5)
_jsonBodyManual-4              0.93 ± 9%      0.95 ± 3%     ~     (p=0.222 n=5+5)
_jsonBody-4                    1.41 ± 4%      1.40 ± 6%     ~     (p=1.000 n=5+5)
_jsonBodyValidation-4          1.76 ± 5%      1.77 ± 7%     ~     (p=1.000 n=5+5)
_outputHeaders-4               1.21 ± 4%      1.24 ± 6%     ~     (p=0.222 n=5+5)
_requestResponseMapping-4      1.44 ± 5%      1.44 ± 8%     ~     (p=1.000 n=5+5)
_validation-4                  1.59 ± 5%      1.56 ± 3%     ~     (p=0.651 n=5+5)
_noValidation-4                1.12 ± 5%      1.16 ± 6%     ~     (p=0.222 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 0.88 ± 9%      0.88 ± 6%     ~     (p=0.841 n=5+5)
_ok-4                          0.86 ± 4%      0.87 ± 8%     ~     (p=1.000 n=5+5)
_invalidBody-4                 1.20 ± 7%      1.19 ± 4%     ~     (p=1.000 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.66 ± 9%      1.56 ± 4%     ~     (p=0.310 n=5+5)
_directGzipHead-4              1.54 ± 5%      1.54 ±15%     ~     (p=0.421 n=5+5)
_noDirectGzip-4                9.11 ± 4%      9.01 ± 4%     ~     (p=0.548 n=5+5)
_directGzip_decode-4           32.3 ± 8%      32.2 ± 4%     ~     (p=0.841 n=5+5)
_noDirectGzip_decode-4         8.96 ± 7%      9.20 ± 3%     ~     (p=0.151 n=5+5)
_jsonBody-4                    3.24 ± 1%      3.33 ± 4%     ~     (p=0.151 n=5+5)
_jsonBodyValidation-4          3.70 ± 3%      3.71 ± 3%     ~     (p=1.000 n=5+5)
_outputHeaders-4               1.52 ± 6%      1.54 ± 8%     ~     (p=0.690 n=5+5)
_requestResponseMapping-4      3.08 ± 3%      3.15 ± 5%     ~     (p=0.421 n=5+5)
_validation-4                  3.28 ± 2%      3.48 ± 4%   +6.16%  (p=0.016 n=5+5)
_noValidation-4                2.46 ± 4%      2.52 ± 7%     ~     (p=0.310 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             1.86 ±10%      1.94 ± 6%     ~     (p=0.151 n=5+5)
_formOrJSON/json-4             2.18 ± 8%      2.10 ± 3%     ~     (p=0.222 n=5+5)
_directGzip-4                  1.56 ± 4%      1.53 ± 1%     ~     (p=0.310 n=5+5)
_directGzipHead-4              1.61 ± 6%      1.60 ± 3%     ~     (p=0.841 n=5+5)
_noDirectGzip-4                10.4 ± 5%      10.3 ± 4%     ~     (p=0.841 n=5+5)
_htmlResponse-4                2.95 ± 1%      2.95 ± 7%     ~     (p=0.690 n=5+5)
_jsonBodyManual-4              2.04 ± 6%      2.02 ± 4%     ~     (p=0.690 n=5+5)
_jsonBody-4                    3.15 ± 3%      3.10 ± 3%     ~     (p=0.310 n=5+5)
_jsonBodyValidation-4          3.84 ± 4%      3.84 ± 5%     ~     (p=1.000 n=5+5)
_outputHeaders-4               2.85 ± 3%      2.91 ± 4%     ~     (p=0.222 n=5+5)
_requestResponseMapping-4      3.31 ± 6%      3.28 ± 5%     ~     (p=1.000 n=5+5)
_validation-4                  3.46 ± 2%      3.61 ± 4%     ~     (p=0.056 n=5+5)
_noValidation-4                2.61 ± 5%      2.62 ± 5%     ~     (p=1.000 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 1.79 ± 7%      1.76 ± 4%     ~     (p=0.421 n=5+5)
_ok-4                          1.77 ± 3%      1.82 ± 7%     ~     (p=0.222 n=5+5)
_invalidBody-4                 2.74 ± 5%      2.83 ± 7%     ~     (p=0.310 n=5+5)

name                       old 99%:ms     new 99%:ms     delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                  3.23 ±42%      2.50 ± 5%     ~     (p=0.095 n=5+5)
_directGzipHead-4              2.71 ± 3%      2.46 ± 2%   -9.34%  (p=0.016 n=5+4)
_noDirectGzip-4                13.9 ± 6%      14.1 ± 7%     ~     (p=0.690 n=5+5)
_directGzip_decode-4           63.7 ± 1%      58.3 ± 8%   -8.56%  (p=0.016 n=4+5)
_noDirectGzip_decode-4         13.8 ± 3%      14.1 ± 7%     ~     (p=0.841 n=5+5)
_jsonBody-4                    5.04 ± 4%      5.19 ± 4%     ~     (p=0.167 n=5+5)
_jsonBodyValidation-4          6.03 ±15%      5.80 ± 7%     ~     (p=0.690 n=5+5)
_outputHeaders-4               2.64 ± 4%      2.64 ± 3%     ~     (p=1.000 n=5+5)
_requestResponseMapping-4      4.82 ± 5%      4.87 ± 6%     ~     (p=0.841 n=5+5)
_validation-4                  5.13 ± 4%      5.38 ± 7%     ~     (p=0.056 n=5+5)
_noValidation-4                3.93 ± 5%      4.02 ± 8%     ~     (p=0.421 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             2.88 ± 4%      3.32 ±44%     ~     (p=0.413 n=4+5)
_formOrJSON/json-4             3.58 ± 4%      3.38 ± 4%   -5.35%  (p=0.032 n=5+5)
_directGzip-4                  2.74 ± 6%      2.64 ± 2%     ~     (p=0.222 n=5+5)
_directGzipHead-4              2.71 ± 3%      2.59 ± 3%     ~     (p=0.056 n=5+5)
_noDirectGzip-4                16.0 ± 4%      15.7 ± 4%     ~     (p=0.341 n=5+5)
_htmlResponse-4                4.67 ± 6%      4.64 ± 8%     ~     (p=1.000 n=5+5)
_jsonBodyManual-4              3.35 ± 5%      3.35 ± 2%     ~     (p=0.690 n=5+5)
_jsonBody-4                    5.00 ± 3%      4.75 ± 6%   -5.16%  (p=0.016 n=5+5)
_jsonBodyValidation-4          5.98 ± 8%      5.96 ± 6%     ~     (p=0.841 n=5+5)
_outputHeaders-4               4.60 ± 3%      4.58 ± 5%     ~     (p=1.000 n=5+5)
_requestResponseMapping-4      4.99 ± 9%      5.03 ± 4%     ~     (p=0.548 n=5+5)
_validation-4                  5.45 ± 5%      5.65 ± 5%     ~     (p=0.222 n=5+5)
_noValidation-4                4.28 ± 3%      4.33 ± 6%     ~     (p=0.421 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 3.12 ±31%      2.84 ± 4%     ~     (p=0.548 n=5+5)
_ok-4                          2.86 ± 4%      3.16 ±39%     ~     (p=0.690 n=5+5)
_invalidBody-4                 5.02 ± 5%      4.89 ± 6%     ~     (p=0.310 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                  5.15 ±35%      3.66 ±18%     ~     (p=0.095 n=5+5)
_directGzipHead-4              4.43 ± 6%      4.46 ±51%     ~     (p=0.310 n=5+5)
_noDirectGzip-4                19.3 ±16%      19.6 ±15%     ~     (p=0.841 n=5+5)
_directGzip_decode-4           87.3 ±10%      77.5 ±12%     ~     (p=0.056 n=5+5)
_noDirectGzip_decode-4         18.3 ±14%      20.4 ±17%     ~     (p=0.222 n=5+5)
_jsonBody-4                    7.11 ± 8%      7.35 ±11%     ~     (p=0.548 n=5+5)
_jsonBodyValidation-4          8.33 ± 7%      8.29 ± 7%     ~     (p=1.000 n=4+5)
_outputHeaders-4               4.34 ±20%      4.25 ±17%     ~     (p=1.000 n=5+5)
_requestResponseMapping-4      7.21 ± 4%      6.94 ± 8%     ~     (p=0.421 n=5+5)
_validation-4                  7.35 ± 9%      7.55 ± 6%     ~     (p=0.690 n=5+5)
_noValidation-4                5.41 ±10%      5.78 ±11%     ~     (p=0.310 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4             4.68 ±54%      4.72 ±50%     ~     (p=0.651 n=5+5)
_formOrJSON/json-4             5.25 ±11%      4.58 ± 7%  -12.67%  (p=0.032 n=5+5)
_directGzip-4                  4.71 ±14%      3.89 ±10%  -17.45%  (p=0.016 n=5+5)
_directGzipHead-4              4.24 ± 9%      4.32 ± 3%     ~     (p=1.000 n=5+5)
_noDirectGzip-4                22.2 ±10%      20.9 ± 6%     ~     (p=0.222 n=5+5)
_htmlResponse-4                6.50 ± 8%      6.63 ±10%     ~     (p=0.841 n=5+5)
_jsonBodyManual-4              4.50 ± 8%      5.15 ±14%  +14.55%  (p=0.016 n=5+5)
_jsonBody-4                    6.90 ± 6%      6.62 ± 4%     ~     (p=0.151 n=5+5)
_jsonBodyValidation-4          8.57 ±11%      8.36 ± 9%     ~     (p=0.548 n=5+5)
_outputHeaders-4               6.29 ±11%      6.57 ± 9%     ~     (p=0.222 n=5+5)
_requestResponseMapping-4      7.08 ± 8%      7.26 ± 6%     ~     (p=0.548 n=5+5)
_validation-4                  7.80 ±11%      8.02 ± 4%     ~     (p=0.278 n=5+5)
_noValidation-4                5.81 ± 5%      5.76 ± 5%     ~     (p=0.690 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                 4.29 ±54%      4.05 ± 8%     ~     (p=0.310 n=5+5)
_ok-4                          4.30 ± 9%      4.69 ±34%     ~     (p=0.841 n=5+5)
_invalidBody-4                 6.80 ±11%      7.03 ±14%     ~     (p=1.000 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                 56.2k ± 8%     59.1k ± 1%   +5.20%  (p=0.032 n=5+5)
_directGzipHead-4             58.6k ± 1%     58.2k ±10%     ~     (p=0.151 n=5+5)
_noDirectGzip-4               10.5k ± 1%     10.5k ± 1%     ~     (p=0.841 n=5+5)
_directGzip_decode-4          3.02k ± 1%     3.07k ± 2%     ~     (p=0.095 n=5+5)
_noDirectGzip_decode-4        10.5k ± 1%     10.4k ± 1%     ~     (p=0.095 n=5+5)
_jsonBody-4                   27.6k ± 0%     27.7k ± 1%     ~     (p=0.286 n=5+5)
_jsonBodyValidation-4         24.4k ± 2%     24.6k ± 3%     ~     (p=0.548 n=5+5)
_outputHeaders-4              58.5k ± 2%     58.7k ± 0%     ~     (p=0.222 n=5+5)
_requestResponseMapping-4     29.4k ± 2%     29.0k ± 1%   -1.30%  (p=0.016 n=5+5)
_validation-4                 26.9k ± 1%     26.7k ± 2%     ~     (p=0.421 n=5+5)
_noValidation-4               37.9k ± 1%     37.7k ± 3%     ~     (p=0.548 n=5+5)
pkg:github.com/swaggest/rest/_examples/advanced-generic-openapi31 goos:linux goarch:amd64
_formOrJSON/form-4            48.6k ± 9%     49.1k ± 8%     ~     (p=0.421 n=5+5)
_formOrJSON/json-4            42.8k ± 1%     43.7k ± 0%   +2.13%  (p=0.008 n=5+5)
_directGzip-4                 57.7k ± 1%     58.9k ± 1%   +1.96%  (p=0.016 n=5+5)
_directGzipHead-4             56.9k ± 5%     58.1k ± 3%     ~     (p=0.421 n=5+5)
_noDirectGzip-4               9.34k ± 0%     9.38k ± 1%     ~     (p=0.310 n=5+5)
_htmlResponse-4               32.1k ± 2%     32.1k ± 3%     ~     (p=0.841 n=5+5)
_jsonBodyManual-4             45.7k ± 1%     45.7k ± 1%     ~     (p=1.000 n=5+5)
_jsonBody-4                   29.7k ± 2%     30.1k ± 1%     ~     (p=0.095 n=5+5)
_jsonBodyValidation-4         23.8k ± 1%     23.8k ± 0%     ~     (p=0.841 n=5+5)
_outputHeaders-4              33.0k ± 1%     32.9k ± 1%     ~     (p=0.730 n=5+5)
_requestResponseMapping-4     28.6k ± 3%     28.3k ± 2%     ~     (p=0.421 n=5+5)
_validation-4                 26.2k ± 1%     26.1k ± 1%     ~     (p=0.310 n=5+5)
_noValidation-4               36.7k ± 1%     36.4k ± 1%     ~     (p=0.095 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4                50.2k ± 8%     50.5k ± 1%     ~     (p=0.421 n=5+5)
_ok-4                         50.7k ± 1%     49.2k ± 9%   -3.00%  (p=0.016 n=5+5)
_invalidBody-4                34.5k ± 4%     34.3k ± 4%     ~     (p=0.690 n=5+5)

name                       old alloc/op   new alloc/op   delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_directGzip-4                4.04kB ± 0%    4.04kB ± 0%   -0.09%  (p=0.024 n=5+5)
_directGzipHead-4            4.04kB ± 0%    4.04kB ± 0%     ~     (p=0.198 n=5+5)
_noDirectGzip-4              6.94kB ±22%    7.19kB ±23%     ~     (p=1.000 n=5+5)
_directGzip_decode-4          399kB ± 0%     399kB ± 0%     ~     (p=0.310 n=5+5)
_noDirectGzip_decode-4       6.59kB ± 4%    6.83kB ± 5%     ~     (p=0.421 n=5+5)
_jsonBody-4                  13.7kB ± 0%    13.7kB ± 0%     ~     (p=0.730 n=5+5)
_jsonBodyValidation-4        19.3kB ± 0%    19.3kB ± 0%     ~     (p=0.365 n=5+5)
_outputHeaders-4             3.71kB ± 0%    3.70kB ± 0%     ~     (p=0.437 n=5+5)
_requestResponseMapping-4    16.7kB ± 0%    16.7kB ± 0%     ~     (p=0.238 n=5+5)
_validation-4                16.6kB ± 0%    16.6kB ± 0%     ~     (p=0.389 n=5+5)
_noValidation-4              7.92kB ± 0%    7.92kB ± 0%     ~     (p=0.373 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.270 n=5+5)
_formOrJSON/json-4           6.64kB ± 0%    6.63kB ± 0%     ~     (p=0.540 n=5+5)
_directGzip-4                4.06kB ± 0%    4.05kB ± 0%     ~     (p=0.143 n=4+4)
_directGzipHead-4            4.05kB ± 0%    4.05kB ± 0%     ~     (p=0.984 n=5+5)
_noDirectGzip-4              7.76kB ±17%    7.63kB ±23%     ~     (p=1.000 n=5+5)
_htmlResponse-4              8.61kB ± 0%    8.61kB ± 0%     ~     (p=0.889 n=5+5)
_jsonBodyManual-4            4.99kB ± 0%    4.99kB ± 0%     ~     (p=0.492 n=5+5)
_jsonBody-4                  10.8kB ± 0%    10.8kB ± 0%     ~     (p=0.524 n=5+5)
_jsonBodyValidation-4        19.3kB ± 0%    19.3kB ± 0%     ~     (p=0.159 n=5+5)
_outputHeaders-4             10.4kB ± 0%    10.4kB ± 0%     ~     (p=0.444 n=5+5)
_requestResponseMapping-4    16.7kB ± 0%    16.7kB ± 0%     ~     (p=0.889 n=5+5)
_validation-4                16.6kB ± 0%    16.6kB ± 0%     ~     (p=0.111 n=5+5)
_noValidation-4              7.96kB ± 0%    7.96kB ± 0%     ~     (p=0.413 n=5+5)
pkg:github.com/swaggest/rest/_examples/task-api/internal/infra/nethttp goos:linux goarch:amd64
_notFoundSrv-4               5.31kB ± 0%    5.31kB ± 0%     ~     (p=0.190 n=5+5)
_ok-4                        5.22kB ± 0%    5.22kB ± 0%     ~     (p=0.743 n=4+4)
_invalidBody-4               8.93kB ± 0%    8.92kB ± 0%     ~     (p=0.886 n=4+4)

name                       old allocs/op  new allocs/op  delta
pkg:github.com/swaggest/rest/_examples/advanced goos:linux goarch:amd64
_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)
_directGzip_decode-4            487 ± 0%       488 ± 0%     ~     (p=0.365 n=5+5)
_noDirectGzip_decode-4         51.0 ± 0%      51.0 ± 0%     ~     (all equal)
_jsonBody-4                     131 ± 0%       131 ± 0%     ~     (all equal)
_jsonBodyValidation-4           184 ± 0%       184 ± 0%     ~     (all equal)
_outputHeaders-4               36.0 ± 0%      36.0 ± 0%     ~     (all equal)
_requestResponseMapping-4       122 ± 0%       122 ± 0%     ~     (all equal)
_validation-4                   153 ± 0%       153 ± 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                  44.0 ± 0%      44.0 ± 0%     ~     (all equal)
_directGzipHead-4              44.0 ± 0%      44.0 ± 0%     ~     (all equal)
_noDirectGzip-4                51.2 ± 4%      51.2 ± 4%     ~     (p=1.000 n=5+5)
_htmlResponse-4                 143 ± 0%       143 ± 0%     ~     (all equal)
_jsonBodyManual-4              50.0 ± 0%      50.0 ± 0%     ~     (all equal)
_jsonBody-4                     101 ± 0%       101 ± 0%     ~     (all equal)
_jsonBodyValidation-4           185 ± 0%       185 ± 0%     ~     (all equal)
_outputHeaders-4                110 ± 0%       110 ± 0%     ~     (all equal)
_requestResponseMapping-4       123 ± 0%       123 ± 0%     ~     (all equal)
_validation-4                   154 ± 0%       153 ± 0%   -0.65%  (p=0.029 n=4+4)
_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                 98.0 ± 0%      98.0 ± 0%     ~     (all equal)

@vearutop vearutop merged commit 390226b into master Mar 26, 2025
9 checks passed
@vearutop vearutop deleted the upd-deps-7 branch March 26, 2025 21:31
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