Skip to content

chore: add govy skill - #234

Draft
nieomylnieja wants to merge 11 commits into
mainfrom
add-govy-skill
Draft

chore: add govy skill#234
nieomylnieja wants to merge 11 commits into
mainfrom
add-govy-skill

Conversation

@nieomylnieja

Copy link
Copy Markdown
Collaborator

Motivation

Describe what is the motivation behind the proposed changes.
If possible reference the current solution/state of affairs.

Summary

Recap of changed code.

Related Changes

List related changes from other PRs (if any).

Testing

Each code change must be covered by unit tests.

Release Notes

If this change should be part of the Release Notes,
replace this entire paragraph with 1-3 sentences about the changes.
Otherwise, you MUST remove this section entirely.

Does this PR contain any breaking changes?
If so, add ## Breaking Changes header and list the introduced changes there.

@n9-machine-user n9-machine-user added chore Routine or minor duty task go Pull requests that update Go code patch Bug fixes and security updates labels Jun 2, 2026
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

Test coverage changes:

Package Before After Diff
github.com/nobl9/govy/cmd/govy 0% 0% ✔️
github.com/nobl9/govy/internal 73% 73% ✔️
github.com/nobl9/govy/internal/cmd/docextractor - 67% ✔️
github.com/nobl9/govy/internal/collections 100% 100% ✔️
github.com/nobl9/govy/internal/inferpath 76% 76% ✔️
github.com/nobl9/govy/internal/messagetemplates 89% 89% ✔️
github.com/nobl9/govy/internal/stringconvert 86% 86% ✔️
github.com/nobl9/govy/internal/typeinfo 94% 94% ✔️
github.com/nobl9/govy/pkg/govy 93% 93% ✔️
github.com/nobl9/govy/pkg/govytest 100% 100% ✔️
github.com/nobl9/govy/pkg/jsonpath 85% 85% ✔️
github.com/nobl9/govy/pkg/rules 98% 98% ✔️

Allow doc extraction to resolve embedded examples by function name so skill references no longer need source file links.
This makes the govy skill docs self-contained and easier to maintain.
Replace generated example names in skill reference indexes with
descriptive link labels so examples are easier to scan and navigate.
Rename example sections to readable, anchor-friendly titles across govy skill docs.
Move explanatory prose into code comments so embedded examples stay self-contained.
Restructure the reference markdown files around topic-based sections with clearer intros, anchors, and nested navigation.
This makes examples easier to scan and cross-reference across validation, rules, errors, and testing docs.
Add docextractor support for docs directives that render exported function docs from Go sources.
Update the govy skill references to split the predefined rules catalog from usage examples.
Switch the extracted rule reference output to sorted one-line summaries and update the govy skill docs to match current metadata APIs and property path examples.
Expand the skill overview with clearer guidance and a full usage example.
Update markdown embedding to process the skill root and handle fenced code blocks reliably.

@n9-machine-user n9-machine-user left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Govy Go Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: 030e98b Previous: fdfb89c Ratio
BenchmarkFor (github.com/nobl9/govy/pkg/govy) 394.6 ns/op 136 B/op 5 allocs/op 216.8 ns/op 136 B/op 5 allocs/op 1.82
BenchmarkFor (github.com/nobl9/govy/pkg/govy) - ns/op 394.6 ns/op 216.8 ns/op 1.82
BenchmarkEQ (github.com/nobl9/govy/pkg/rules) 1057 ns/op 568 B/op 8 allocs/op 577.3 ns/op 568 B/op 8 allocs/op 1.83
BenchmarkEQ (github.com/nobl9/govy/pkg/rules) - ns/op 1057 ns/op 577.3 ns/op 1.83
BenchmarkNEQ (github.com/nobl9/govy/pkg/rules) 1077 ns/op 576 B/op 8 allocs/op 582.6 ns/op 576 B/op 8 allocs/op 1.85
BenchmarkNEQ (github.com/nobl9/govy/pkg/rules) - ns/op 1077 ns/op 582.6 ns/op 1.85
BenchmarkGT (github.com/nobl9/govy/pkg/rules) 1791 ns/op 1136 B/op 16 allocs/op 948 ns/op 1136 B/op 16 allocs/op 1.89
BenchmarkGT (github.com/nobl9/govy/pkg/rules) - ns/op 1791 ns/op 948 ns/op 1.89
BenchmarkGTE (github.com/nobl9/govy/pkg/rules) 957.9 ns/op 592 B/op 8 allocs/op 516.8 ns/op 592 B/op 8 allocs/op 1.85
BenchmarkGTE (github.com/nobl9/govy/pkg/rules) - ns/op 957.9 ns/op 516.8 ns/op 1.85
BenchmarkLT (github.com/nobl9/govy/pkg/rules) 1789 ns/op 1136 B/op 16 allocs/op 967.8 ns/op 1136 B/op 16 allocs/op 1.85
BenchmarkLT (github.com/nobl9/govy/pkg/rules) - ns/op 1789 ns/op 967.8 ns/op 1.85
BenchmarkLTE (github.com/nobl9/govy/pkg/rules) 956.7 ns/op 592 B/op 8 allocs/op 492.7 ns/op 592 B/op 8 allocs/op 1.94
BenchmarkLTE (github.com/nobl9/govy/pkg/rules) - ns/op 956.7 ns/op 492.7 ns/op 1.94
BenchmarkLTProperties (github.com/nobl9/govy/pkg/rules) 2782 ns/op 1280 B/op 20 allocs/op 1489 ns/op 1280 B/op 20 allocs/op 1.87
BenchmarkLTProperties (github.com/nobl9/govy/pkg/rules) - ns/op 2782 ns/op 1489 ns/op 1.87
BenchmarkLTComparableProperties (github.com/nobl9/govy/pkg/rules) 3332 ns/op 1376 B/op 20 allocs/op 1833 ns/op 1376 B/op 20 allocs/op 1.82
BenchmarkLTComparableProperties (github.com/nobl9/govy/pkg/rules) - ns/op 3332 ns/op 1833 ns/op 1.82
BenchmarkGTProperties (github.com/nobl9/govy/pkg/rules) 2779 ns/op 1280 B/op 20 allocs/op 1537 ns/op 1280 B/op 20 allocs/op 1.81
BenchmarkGTProperties (github.com/nobl9/govy/pkg/rules) - ns/op 2779 ns/op 1537 ns/op 1.81
BenchmarkGTComparableProperties (github.com/nobl9/govy/pkg/rules) 3397 ns/op 1376 B/op 20 allocs/op 1880 ns/op 1376 B/op 20 allocs/op 1.81
BenchmarkGTComparableProperties (github.com/nobl9/govy/pkg/rules) - ns/op 3397 ns/op 1880 ns/op 1.81
BenchmarkLTEProperties (github.com/nobl9/govy/pkg/rules) 1420 ns/op 656 B/op 10 allocs/op 766.3 ns/op 656 B/op 10 allocs/op 1.85
BenchmarkLTEProperties (github.com/nobl9/govy/pkg/rules) - ns/op 1420 ns/op 766.3 ns/op 1.85
BenchmarkLTEComparableProperties (github.com/nobl9/govy/pkg/rules) 1704 ns/op 688 B/op 10 allocs/op 939.2 ns/op 688 B/op 10 allocs/op 1.81
BenchmarkLTEComparableProperties (github.com/nobl9/govy/pkg/rules) - ns/op 1704 ns/op 939.2 ns/op 1.81
BenchmarkGTEProperties (github.com/nobl9/govy/pkg/rules) 1418 ns/op 656 B/op 10 allocs/op 795.8 ns/op 656 B/op 10 allocs/op 1.78
BenchmarkGTEProperties (github.com/nobl9/govy/pkg/rules) - ns/op 1418 ns/op 795.8 ns/op 1.78
BenchmarkGTEComparableProperties (github.com/nobl9/govy/pkg/rules) 1736 ns/op 688 B/op 10 allocs/op 962.9 ns/op 688 B/op 10 allocs/op 1.80
BenchmarkGTEComparableProperties (github.com/nobl9/govy/pkg/rules) - ns/op 1736 ns/op 962.9 ns/op 1.80
BenchmarkDurationPrecision (github.com/nobl9/govy/pkg/rules) 2730 ns/op 1220 B/op 21 allocs/op 1505 ns/op 1220 B/op 21 allocs/op 1.81
BenchmarkDurationPrecision (github.com/nobl9/govy/pkg/rules) - ns/op 2730 ns/op 1505 ns/op 1.81
BenchmarkForbidden (github.com/nobl9/govy/pkg/rules) 697.2 ns/op 600 B/op 10 allocs/op 365.8 ns/op 600 B/op 10 allocs/op 1.91
BenchmarkForbidden (github.com/nobl9/govy/pkg/rules) - ns/op 697.2 ns/op 365.8 ns/op 1.91
BenchmarkStringLength (github.com/nobl9/govy/pkg/rules) 2447 ns/op 1216 B/op 20 allocs/op 1249 ns/op 1216 B/op 20 allocs/op 1.96
BenchmarkStringLength (github.com/nobl9/govy/pkg/rules) - ns/op 2447 ns/op 1249 ns/op 1.96
BenchmarkStringMinLength (github.com/nobl9/govy/pkg/rules) 1919 ns/op 1248 B/op 20 allocs/op 1009 ns/op 1248 B/op 20 allocs/op 1.90
BenchmarkStringMinLength (github.com/nobl9/govy/pkg/rules) - ns/op 1919 ns/op 1009 ns/op 1.90
BenchmarkStringMaxLength (github.com/nobl9/govy/pkg/rules) 1920 ns/op 1248 B/op 20 allocs/op 1004 ns/op 1248 B/op 20 allocs/op 1.91
BenchmarkStringMaxLength (github.com/nobl9/govy/pkg/rules) - ns/op 1920 ns/op 1004 ns/op 1.91
BenchmarkSliceLength (github.com/nobl9/govy/pkg/rules) 2425 ns/op 1248 B/op 20 allocs/op 1274 ns/op 1248 B/op 20 allocs/op 1.90
BenchmarkSliceLength (github.com/nobl9/govy/pkg/rules) - ns/op 2425 ns/op 1274 ns/op 1.90
BenchmarkSliceMinLength (github.com/nobl9/govy/pkg/rules) 1932 ns/op 1280 B/op 20 allocs/op 1031 ns/op 1280 B/op 20 allocs/op 1.87
BenchmarkSliceMinLength (github.com/nobl9/govy/pkg/rules) - ns/op 1932 ns/op 1031 ns/op 1.87
BenchmarkSliceMaxLength (github.com/nobl9/govy/pkg/rules) 1945 ns/op 1280 B/op 20 allocs/op 1024 ns/op 1280 B/op 20 allocs/op 1.90
BenchmarkSliceMaxLength (github.com/nobl9/govy/pkg/rules) - ns/op 1945 ns/op 1024 ns/op 1.90
BenchmarkMapLength (github.com/nobl9/govy/pkg/rules) 2298 ns/op 1152 B/op 16 allocs/op 1176 ns/op 1152 B/op 16 allocs/op 1.95
BenchmarkMapLength (github.com/nobl9/govy/pkg/rules) - ns/op 2298 ns/op 1176 ns/op 1.95
BenchmarkMapMinLength (github.com/nobl9/govy/pkg/rules) 1776 ns/op 1184 B/op 16 allocs/op 937.9 ns/op 1184 B/op 16 allocs/op 1.89
BenchmarkMapMinLength (github.com/nobl9/govy/pkg/rules) - ns/op 1776 ns/op 937.9 ns/op 1.89
BenchmarkMapMaxLength (github.com/nobl9/govy/pkg/rules) 1776 ns/op 1184 B/op 16 allocs/op 946.3 ns/op 1184 B/op 16 allocs/op 1.88
BenchmarkMapMaxLength (github.com/nobl9/govy/pkg/rules) - ns/op 1776 ns/op 946.3 ns/op 1.88
BenchmarkOneOf (github.com/nobl9/govy/pkg/rules) 1979 ns/op 824 B/op 20 allocs/op 1201 ns/op 824 B/op 20 allocs/op 1.65
BenchmarkOneOf (github.com/nobl9/govy/pkg/rules) - ns/op 1979 ns/op 1201 ns/op 1.65
BenchmarkNotOneOf (github.com/nobl9/govy/pkg/rules) 2016 ns/op 824 B/op 20 allocs/op 1185 ns/op 824 B/op 20 allocs/op 1.70
BenchmarkNotOneOf (github.com/nobl9/govy/pkg/rules) - ns/op 2016 ns/op 1185 ns/op 1.70
BenchmarkOneOfProperties (github.com/nobl9/govy/pkg/rules) 2995 ns/op 1288 B/op 30 allocs/op 1744 ns/op 1288 B/op 30 allocs/op 1.72
BenchmarkOneOfProperties (github.com/nobl9/govy/pkg/rules) - ns/op 2995 ns/op 1744 ns/op 1.72
BenchmarkMutuallyExclusive (github.com/nobl9/govy/pkg/rules) 14555 ns/op 5913 B/op 131 allocs/op 8324 ns/op 5913 B/op 131 allocs/op 1.75
BenchmarkMutuallyExclusive (github.com/nobl9/govy/pkg/rules) - ns/op 14555 ns/op 8324 ns/op 1.75
BenchmarkMutuallyDependent (github.com/nobl9/govy/pkg/rules) 16331 ns/op 4401 B/op 128 allocs/op 9443 ns/op 4401 B/op 128 allocs/op 1.73
BenchmarkMutuallyDependent (github.com/nobl9/govy/pkg/rules) - ns/op 16331 ns/op 9443 ns/op 1.73
BenchmarkRequired (github.com/nobl9/govy/pkg/rules) 3836 ns/op 3552 B/op 48 allocs/op 2008 ns/op 3552 B/op 48 allocs/op 1.91
BenchmarkRequired (github.com/nobl9/govy/pkg/rules) - ns/op 3836 ns/op 2008 ns/op 1.91
BenchmarkStringNotEmpty (github.com/nobl9/govy/pkg/rules) 689.8 ns/op 600 B/op 10 allocs/op 359.7 ns/op 600 B/op 10 allocs/op 1.92
BenchmarkStringNotEmpty (github.com/nobl9/govy/pkg/rules) - ns/op 689.8 ns/op 359.7 ns/op 1.92
BenchmarkStringMatchRegexp (github.com/nobl9/govy/pkg/rules) 1184 ns/op 646 B/op 11 allocs/op 613.2 ns/op 646 B/op 11 allocs/op 1.93
BenchmarkStringMatchRegexp (github.com/nobl9/govy/pkg/rules) - ns/op 1184 ns/op 613.2 ns/op 1.93
BenchmarkStringDenyRegexp (github.com/nobl9/govy/pkg/rules) 1194 ns/op 662 B/op 11 allocs/op 620.2 ns/op 663 B/op 11 allocs/op 1.93
BenchmarkStringDenyRegexp (github.com/nobl9/govy/pkg/rules) - ns/op 1194 ns/op 620.2 ns/op 1.93
BenchmarkStringDNSLabel (github.com/nobl9/govy/pkg/rules) 19778 ns/op 8504 B/op 137 allocs/op 11211 ns/op 8509 B/op 137 allocs/op 1.76
BenchmarkStringDNSLabel (github.com/nobl9/govy/pkg/rules) - ns/op 19778 ns/op 11211 ns/op 1.76
BenchmarkStringDNSSubdomain (github.com/nobl9/govy/pkg/rules) 56133 ns/op 24817 B/op 358 allocs/op 32650 ns/op 24833 B/op 358 allocs/op 1.72
BenchmarkStringDNSSubdomain (github.com/nobl9/govy/pkg/rules) - ns/op 56133 ns/op 32650 ns/op 1.72
BenchmarkStringASCII (github.com/nobl9/govy/pkg/rules) 5549 ns/op 2625 B/op 44 allocs/op 2947 ns/op 2625 B/op 44 allocs/op 1.88
BenchmarkStringASCII (github.com/nobl9/govy/pkg/rules) - ns/op 5549 ns/op 2947 ns/op 1.88
BenchmarkStringUUID (github.com/nobl9/govy/pkg/rules) 36115 ns/op 24882 B/op 273 allocs/op 21096 ns/op 24882 B/op 273 allocs/op 1.71
BenchmarkStringUUID (github.com/nobl9/govy/pkg/rules) - ns/op 36115 ns/op 21096 ns/op 1.71
BenchmarkStringEmail (github.com/nobl9/govy/pkg/rules) 11646 ns/op 6377 B/op 158 allocs/op 6342 ns/op 6377 B/op 158 allocs/op 1.84
BenchmarkStringEmail (github.com/nobl9/govy/pkg/rules) - ns/op 11646 ns/op 6342 ns/op 1.84
BenchmarkStringURL (github.com/nobl9/govy/pkg/rules) 16516 ns/op 10385 B/op 124 allocs/op 8680 ns/op 10385 B/op 124 allocs/op 1.90
BenchmarkStringURL (github.com/nobl9/govy/pkg/rules) - ns/op 16516 ns/op 8680 ns/op 1.90
BenchmarkStringMAC (github.com/nobl9/govy/pkg/rules) 4046 ns/op 3448 B/op 60 allocs/op 2057 ns/op 3448 B/op 60 allocs/op 1.97
BenchmarkStringMAC (github.com/nobl9/govy/pkg/rules) - ns/op 4046 ns/op 2057 ns/op 1.97
BenchmarkStringIP (github.com/nobl9/govy/pkg/rules) 2617 ns/op 1984 B/op 31 allocs/op 1382 ns/op 1984 B/op 31 allocs/op 1.89
BenchmarkStringIP (github.com/nobl9/govy/pkg/rules) - ns/op 2617 ns/op 1382 ns/op 1.89
BenchmarkStringIPv4 (github.com/nobl9/govy/pkg/rules) 4088 ns/op 3216 B/op 52 allocs/op 2105 ns/op 3216 B/op 52 allocs/op 1.94
BenchmarkStringIPv4 (github.com/nobl9/govy/pkg/rules) - ns/op 4088 ns/op 2105 ns/op 1.94
BenchmarkStringIPv6 (github.com/nobl9/govy/pkg/rules) 5453 ns/op 4464 B/op 72 allocs/op 2978 ns/op 4464 B/op 72 allocs/op 1.83
BenchmarkStringIPv6 (github.com/nobl9/govy/pkg/rules) - ns/op 5453 ns/op 2978 ns/op 1.83
BenchmarkStringCIDR (github.com/nobl9/govy/pkg/rules) 4639 ns/op 3440 B/op 82 allocs/op 2449 ns/op 3440 B/op 82 allocs/op 1.89
BenchmarkStringCIDR (github.com/nobl9/govy/pkg/rules) - ns/op 4639 ns/op 2449 ns/op 1.89
BenchmarkStringCIDRv4 (github.com/nobl9/govy/pkg/rules) 13330 ns/op 10408 B/op 210 allocs/op 6977 ns/op 10408 B/op 210 allocs/op 1.91
BenchmarkStringCIDRv4 (github.com/nobl9/govy/pkg/rules) - ns/op 13330 ns/op 6977 ns/op 1.91
BenchmarkStringCIDRv6 (github.com/nobl9/govy/pkg/rules) 9402 ns/op 7344 B/op 142 allocs/op 4936 ns/op 7344 B/op 142 allocs/op 1.90
BenchmarkStringCIDRv6 (github.com/nobl9/govy/pkg/rules) - ns/op 9402 ns/op 4936 ns/op 1.90
BenchmarkStringJSON (github.com/nobl9/govy/pkg/rules) 2765 ns/op 2024 B/op 37 allocs/op 1379 ns/op 2024 B/op 37 allocs/op 2.01
BenchmarkStringJSON (github.com/nobl9/govy/pkg/rules) - ns/op 2765 ns/op 1379 ns/op 2.01
BenchmarkStringSemver (github.com/nobl9/govy/pkg/rules) 668.2 ns/op 0 B/op 0 allocs/op 348 ns/op 0 B/op 0 allocs/op 1.92
BenchmarkStringSemver (github.com/nobl9/govy/pkg/rules) - ns/op 668.2 ns/op 348 ns/op 1.92
BenchmarkStringE164/valid (github.com/nobl9/govy/pkg/rules) 218.6 ns/op 0 B/op 0 allocs/op 116.7 ns/op 0 B/op 0 allocs/op 1.87
BenchmarkStringE164/valid (github.com/nobl9/govy/pkg/rules) - ns/op 218.6 ns/op 116.7 ns/op 1.87
BenchmarkStringE164/invalid (github.com/nobl9/govy/pkg/rules) 780 ns/op 624 B/op 10 allocs/op 394.2 ns/op 624 B/op 10 allocs/op 1.98
BenchmarkStringE164/invalid (github.com/nobl9/govy/pkg/rules) - ns/op 780 ns/op 394.2 ns/op 1.98
BenchmarkStringCVE (github.com/nobl9/govy/pkg/rules) 155.6 ns/op 0 B/op 0 allocs/op 77.74 ns/op 0 B/op 0 allocs/op 2.00
BenchmarkStringCVE (github.com/nobl9/govy/pkg/rules) - ns/op 155.6 ns/op 77.74 ns/op 2.00
BenchmarkStringContains (github.com/nobl9/govy/pkg/rules) 5726 ns/op 2504 B/op 56 allocs/op 3301 ns/op 2504 B/op 56 allocs/op 1.73
BenchmarkStringContains (github.com/nobl9/govy/pkg/rules) - ns/op 5726 ns/op 3301 ns/op 1.73
BenchmarkStringExcludes (github.com/nobl9/govy/pkg/rules) 7602 ns/op 3440 B/op 73 allocs/op 4357 ns/op 3440 B/op 73 allocs/op 1.74
BenchmarkStringExcludes (github.com/nobl9/govy/pkg/rules) - ns/op 7602 ns/op 4357 ns/op 1.74
BenchmarkStringStartsWith (github.com/nobl9/govy/pkg/rules) 7445 ns/op 2520 B/op 67 allocs/op 4287 ns/op 2520 B/op 67 allocs/op 1.74
BenchmarkStringStartsWith (github.com/nobl9/govy/pkg/rules) - ns/op 7445 ns/op 4287 ns/op 1.74
BenchmarkStringEndsWith (github.com/nobl9/govy/pkg/rules) 7473 ns/op 2504 B/op 67 allocs/op 4315 ns/op 2504 B/op 67 allocs/op 1.73
BenchmarkStringEndsWith (github.com/nobl9/govy/pkg/rules) - ns/op 7473 ns/op 4315 ns/op 1.73
BenchmarkStringTitle (github.com/nobl9/govy/pkg/rules) 5839 ns/op 5088 B/op 78 allocs/op 2984 ns/op 5088 B/op 78 allocs/op 1.96
BenchmarkStringTitle (github.com/nobl9/govy/pkg/rules) - ns/op 5839 ns/op 2984 ns/op 1.96
BenchmarkStringGitRef (github.com/nobl9/govy/pkg/rules) 243494 ns/op 74156 B/op 1903 allocs/op 143168 ns/op 74155 B/op 1903 allocs/op 1.70
BenchmarkStringGitRef (github.com/nobl9/govy/pkg/rules) - ns/op 243494 ns/op 143168 ns/op 1.70
BenchmarkStringMatchFileSystemPath (github.com/nobl9/govy/pkg/rules) 45652 ns/op 23894 B/op 380 allocs/op 24073 ns/op 23894 B/op 380 allocs/op 1.90
BenchmarkStringMatchFileSystemPath (github.com/nobl9/govy/pkg/rules) - ns/op 45652 ns/op 24073 ns/op 1.90
BenchmarkStringRegexp (github.com/nobl9/govy/pkg/rules) 172575888 ns/op 334128430 B/op 280676 allocs/op 108892078 ns/op 334127869 B/op 280668 allocs/op 1.58
BenchmarkStringRegexp (github.com/nobl9/govy/pkg/rules) - ns/op 172575888 ns/op 108892078 ns/op 1.58
BenchmarkStringCrontab (github.com/nobl9/govy/pkg/rules) 390768 ns/op 204961 B/op 3596 allocs/op 208675 ns/op 204961 B/op 3596 allocs/op 1.87
BenchmarkStringCrontab (github.com/nobl9/govy/pkg/rules) - ns/op 390768 ns/op 208675 ns/op 1.87
BenchmarkStringDateTime (github.com/nobl9/govy/pkg/rules) 7982 ns/op 5545 B/op 64 allocs/op 4344 ns/op 5545 B/op 64 allocs/op 1.84
BenchmarkStringDateTime (github.com/nobl9/govy/pkg/rules) - ns/op 7982 ns/op 4344 ns/op 1.84
BenchmarkStringAlpha (github.com/nobl9/govy/pkg/rules) 6974 ns/op 3937 B/op 66 allocs/op 3582 ns/op 3937 B/op 66 allocs/op 1.95
BenchmarkStringAlpha (github.com/nobl9/govy/pkg/rules) - ns/op 6974 ns/op 3582 ns/op 1.95
BenchmarkStringAlphanumeric (github.com/nobl9/govy/pkg/rules) 9343 ns/op 5250 B/op 88 allocs/op 4886 ns/op 5250 B/op 88 allocs/op 1.91
BenchmarkStringAlphanumeric (github.com/nobl9/govy/pkg/rules) - ns/op 9343 ns/op 4886 ns/op 1.91
BenchmarkStringAlphaUnicode (github.com/nobl9/govy/pkg/rules) 9111 ns/op 4594 B/op 77 allocs/op 4719 ns/op 4594 B/op 77 allocs/op 1.93
BenchmarkStringAlphaUnicode (github.com/nobl9/govy/pkg/rules) - ns/op 9111 ns/op 4719 ns/op 1.93
BenchmarkStringAlphanumericUnicode (github.com/nobl9/govy/pkg/rules) 10539 ns/op 5250 B/op 88 allocs/op 5462 ns/op 5250 B/op 88 allocs/op 1.93
BenchmarkStringAlphanumericUnicode (github.com/nobl9/govy/pkg/rules) - ns/op 10539 ns/op 5462 ns/op 1.93
BenchmarkStringFQDN (github.com/nobl9/govy/pkg/rules) 20271 ns/op 7333 B/op 94 allocs/op 10700 ns/op 7348 B/op 94 allocs/op 1.89
BenchmarkStringFQDN (github.com/nobl9/govy/pkg/rules) - ns/op 20271 ns/op 10700 ns/op 1.89
BenchmarkStringKubernetesQualifiedName (github.com/nobl9/govy/pkg/rules) 130555 ns/op 42806 B/op 903 allocs/op 73829 ns/op 42895 B/op 903 allocs/op 1.77
BenchmarkStringKubernetesQualifiedName (github.com/nobl9/govy/pkg/rules) - ns/op 130555 ns/op 73829 ns/op 1.77
BenchmarkSliceUnique (github.com/nobl9/govy/pkg/rules) 23101 ns/op 6713 B/op 160 allocs/op 13295 ns/op 6713 B/op 160 allocs/op 1.74
BenchmarkSliceUnique (github.com/nobl9/govy/pkg/rules) - ns/op 23101 ns/op 13295 ns/op 1.74
BenchmarkUniqueProperties (github.com/nobl9/govy/pkg/rules) 41629 ns/op 12891 B/op 308 allocs/op 24026 ns/op 12891 B/op 308 allocs/op 1.73
BenchmarkUniqueProperties (github.com/nobl9/govy/pkg/rules) - ns/op 41629 ns/op 24026 ns/op 1.73
BenchmarkURL (github.com/nobl9/govy/pkg/rules) 24047 ns/op 6049 B/op 108 allocs/op 12869 ns/op 6049 B/op 108 allocs/op 1.87
BenchmarkURL (github.com/nobl9/govy/pkg/rules) - ns/op 24047 ns/op 12869 ns/op 1.87

This comment was automatically generated by workflow using github-action-benchmark.

CC: @nieomylnieja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Routine or minor duty task go Pull requests that update Go code patch Bug fixes and security updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants