docs: benchmark & CI recommendations in AGENTS.md #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary\n\nAdd benchmark and CI recommendations to AGENTS.md.\n\n## Why\n\nThe repository ships exhaustive benchmarks that can be memory- and CPU-intensive (notably which may allocate ~1 GiB). Running these on small CI runners causes OOMs and long runtimes.\n\n## Changes\n\n- Add a Benchmark & CI Recommendations section to explaining safe commands for CI and how to run the full benchmark intentionally.\n- Reference README update clarifying units and bench guidance.\n\n## Testing\n\n- === RUN TestEncryptDecrypt
--- PASS: TestEncryptDecrypt (0.22s)
=== RUN TestEncryptDecryptRaw
--- PASS: TestEncryptDecryptRaw (1.03s)
=== RUN TestDifferentPasswordsFail
--- PASS: TestDifferentPasswordsFail (0.44s)
=== RUN TestDifferentParamsFail
--- PASS: TestDifferentParamsFail (0.62s)
=== RUN TestBase64InputOutput
--- PASS: TestBase64InputOutput (0.06s)
=== RUN TestEmptyPlaintext
--- PASS: TestEmptyPlaintext (0.22s)
=== RUN TestTruncatedCiphertext
--- PASS: TestTruncatedCiphertext (0.20s)
=== RUN TestTamperedCiphertext
--- PASS: TestTamperedCiphertext (0.20s)
=== RUN TestConcurrentEncrypt
--- PASS: TestConcurrentEncrypt (0.74s)
PASS
ok github.com/azrod/cryptio (cached) and === RUN TestEncryptDecrypt
--- PASS: TestEncryptDecrypt (1.94s)
=== RUN TestEncryptDecryptRaw
--- PASS: TestEncryptDecryptRaw (9.60s)
=== RUN TestDifferentPasswordsFail
--- PASS: TestDifferentPasswordsFail (4.81s)
=== RUN TestDifferentParamsFail
--- PASS: TestDifferentParamsFail (6.21s)
=== RUN TestBase64InputOutput
--- PASS: TestBase64InputOutput (0.70s)
=== RUN TestEmptyPlaintext
--- PASS: TestEmptyPlaintext (1.88s)
=== RUN TestTruncatedCiphertext
--- PASS: TestTruncatedCiphertext (2.72s)
=== RUN TestTamperedCiphertext
--- PASS: TestTamperedCiphertext (1.96s)
=== RUN TestConcurrentEncrypt
--- PASS: TestConcurrentEncrypt (22.24s)
PASS
ok github.com/azrod/cryptio (cached) ran locally. All tests passed.\n\nPlease review and merge if acceptable.