Skip to content

Update CI, fix lint #20

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 1 commit into from
Nov 26, 2024
Merged

Update CI, fix lint #20

merged 1 commit into from
Nov 26, 2024

Conversation

vearutop
Copy link
Member

No description provided.

Copy link

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 6 1312 (+1) 893 130 (+1) 289 230 29.2K (+107B)
Go (test) 10 2109 (+2) 1595 96 418 (+2) 60 50.1K (+18B)
YAML 6 485 (-4) 399 (-4) 36 50 0 16K (-120B)

Copy link

Go API Changes

# summary
Inferred base version: v0.2.3
Suggested version: v0.2.4

Copy link

Unit Test Coverage

total: (statements) 83.3%
changed lines: (statements) 0.0%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines
File Function Coverage
Total 0.0%
storage.go 0.0%
storage.go:212 Query 0.0%
Coverage diff with base branch

No changes in coverage.

Copy link

Benchmark Result

Benchmark diff with base branch
name                                 old time/op    new time/op    delta
Mapper_Insert_single-4                 5.49µs ± 0%    5.49µs ± 0%    ~     (p=0.416 n=5+6)
Mapper_Insert_singleOmitempty-4        4.97µs ± 1%    5.03µs ± 0%  +1.19%  (p=0.010 n=6+4)
Mapper_Insert_slice_heterogeneous-4    11.2µs ± 0%    11.3µs ± 1%    ~     (p=0.961 n=5+6)
Mapper_Insert_slice_homogeneous-4      8.45µs ± 2%    8.37µs ± 0%    ~     (p=0.065 n=6+6)
Mapper_Select_struct-4                 4.37µs ± 0%    4.38µs ± 1%    ~     (p=0.429 n=5+6)
Mapper_Select_ref-4                    9.11µs ± 2%    9.03µs ± 0%  -0.95%  (p=0.009 n=6+5)
Referencer_Fmt_full-4                  19.9µs ± 4%    19.1µs ± 9%    ~     (p=0.132 n=6+6)
Referencer_Fmt_lite-4                  8.14µs ± 2%    8.04µs ± 0%  -1.32%  (p=0.043 n=6+5)
Referencer_Fmt_raw-4                   5.77µs ± 0%    5.76µs ± 0%    ~     (p=0.126 n=6+5)

name                                 old alloc/op   new alloc/op   delta
Mapper_Insert_single-4                 3.11kB ± 0%    3.11kB ± 0%    ~     (all equal)
Mapper_Insert_singleOmitempty-4        2.74kB ± 0%    2.74kB ± 0%    ~     (all equal)
Mapper_Insert_slice_heterogeneous-4    6.25kB ± 0%    6.25kB ± 0%    ~     (all equal)
Mapper_Insert_slice_homogeneous-4      4.59kB ± 0%    4.59kB ± 0%    ~     (all equal)
Mapper_Select_struct-4                 2.82kB ± 0%    2.82kB ± 0%    ~     (all equal)
Mapper_Select_ref-4                    5.04kB ± 0%    5.04kB ± 0%    ~     (all equal)
Referencer_Fmt_full-4                  9.11kB ± 1%    8.99kB ± 1%  -1.39%  (p=0.030 n=6+5)
Referencer_Fmt_lite-4                  4.40kB ± 0%    4.40kB ± 0%    ~     (p=0.545 n=6+5)
Referencer_Fmt_raw-4                   4.20kB ± 0%    4.20kB ± 0%    ~     (all equal)

name                                 old allocs/op  new allocs/op  delta
Mapper_Insert_single-4                   68.0 ± 0%      68.0 ± 0%    ~     (all equal)
Mapper_Insert_singleOmitempty-4          61.0 ± 0%      61.0 ± 0%    ~     (all equal)
Mapper_Insert_slice_heterogeneous-4       138 ± 0%       138 ± 0%    ~     (all equal)
Mapper_Insert_slice_homogeneous-4         101 ± 0%       101 ± 0%    ~     (all equal)
Mapper_Select_struct-4                   50.0 ± 0%      50.0 ± 0%    ~     (all equal)
Mapper_Select_ref-4                       110 ± 0%       110 ± 0%    ~     (all equal)
Referencer_Fmt_full-4                     123 ± 0%       123 ± 0%    ~     (all equal)
Referencer_Fmt_lite-4                    92.0 ± 0%      92.0 ± 0%    ~     (all equal)
Referencer_Fmt_raw-4                     66.0 ± 0%      66.0 ± 0%    ~     (all equal)
Benchmark result
name                                 time/op
Mapper_Insert_single-4               5.49µs ± 0%
Mapper_Insert_singleOmitempty-4      5.03µs ± 0%
Mapper_Insert_slice_heterogeneous-4  11.3µs ± 1%
Mapper_Insert_slice_homogeneous-4    8.37µs ± 0%
Mapper_Select_struct-4               4.38µs ± 1%
Mapper_Select_ref-4                  9.03µs ± 0%
Referencer_Fmt_full-4                19.1µs ± 9%
Referencer_Fmt_lite-4                8.04µs ± 0%
Referencer_Fmt_raw-4                 5.76µs ± 0%

name                                 alloc/op
Mapper_Insert_single-4               3.11kB ± 0%
Mapper_Insert_singleOmitempty-4      2.74kB ± 0%
Mapper_Insert_slice_heterogeneous-4  6.25kB ± 0%
Mapper_Insert_slice_homogeneous-4    4.59kB ± 0%
Mapper_Select_struct-4               2.82kB ± 0%
Mapper_Select_ref-4                  5.04kB ± 0%
Referencer_Fmt_full-4                8.99kB ± 1%
Referencer_Fmt_lite-4                4.40kB ± 0%
Referencer_Fmt_raw-4                 4.20kB ± 0%

name                                 allocs/op
Mapper_Insert_single-4                 68.0 ± 0%
Mapper_Insert_singleOmitempty-4        61.0 ± 0%
Mapper_Insert_slice_heterogeneous-4     138 ± 0%
Mapper_Insert_slice_homogeneous-4       101 ± 0%
Mapper_Select_struct-4                 50.0 ± 0%
Mapper_Select_ref-4                     110 ± 0%
Referencer_Fmt_full-4                   123 ± 0%
Referencer_Fmt_lite-4                  92.0 ± 0%
Referencer_Fmt_raw-4                   66.0 ± 0%

@vearutop vearutop merged commit 66a3996 into master Nov 26, 2024
7 checks passed
@vearutop vearutop deleted the upd-deps branch November 26, 2024 18:44
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