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

Add non-tailing analyzing mode #10

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Add non-tailing analyzing mode #10

merged 1 commit into from
Apr 15, 2024

Conversation

vearutop
Copy link
Owner

No description provided.

Copy link

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 3 377 (+48) 294 (+40) 12 (+1) 71 (+7) 113 (+19) 7.7K (+1.1K)
Markdown 1 116 (+12) 94 (+10) 0 22 (+2) 0 4.1K (+359B)
YAML 7 584 (+1) 494 (+1) 38 52 0 19.6K (+15B)

Copy link

Go API Changes

# github.com/vearutop/lograte/lograte
## compatible changes
ParseTime: added

# summary
Inferred base version: v1.1.3
Suggested version: v1.2.0

Copy link

Unit Test Coverage

total: (statements) 26.1%
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%
lograte/app.go 0.0%
lograte/app.go:24 Main 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
FilterAlphanumeric-4    1.00µs ± 0%    1.00µs ± 0%  -0.22%  (p=0.035 n=6+5)
Regex-4                 15.3µs ± 1%    15.3µs ± 0%    ~     (p=1.000 n=5+6)

name                  old alloc/op   new alloc/op   delta
FilterAlphanumeric-4     0.00B          0.00B         ~     (all equal)
Regex-4                   201B ± 1%      201B ± 0%    ~     (p=0.933 n=6+4)

name                  old allocs/op  new allocs/op  delta
FilterAlphanumeric-4      0.00           0.00         ~     (all equal)
Regex-4                   5.00 ± 0%      5.00 ± 0%    ~     (all equal)
Benchmark result
name                  time/op
FilterAlphanumeric-4  1.00µs ± 0%
Regex-4               15.3µs ± 0%

name                  alloc/op
FilterAlphanumeric-4   0.00B     
Regex-4                 201B ± 0%

name                  allocs/op
FilterAlphanumeric-4    0.00     
Regex-4                 5.00 ± 0%

@vearutop vearutop merged commit 8aa5b61 into master Apr 15, 2024
5 checks passed
@vearutop vearutop deleted the custom-parse-time branch April 15, 2024 15:11
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