feat: add benchmark suite for concurrent scans and report generation (#256)#296
Open
divyansha12 wants to merge 2 commits into
Open
feat: add benchmark suite for concurrent scans and report generation (#256)#296divyansha12 wants to merge 2 commits into
divyansha12 wants to merge 2 commits into
Conversation
…patibility - Add new integration tests in testing/backend/integration/test_chaos_execution.py - Fix Python version compatibility issues in testing/test_python.sh to use Python 3.11+ - Format codebase using black to comply with pre-commit static checks - Recalculate and update integrity checksums for all 60 plugins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Implements a production-grade, offline-first performance benchmark suite to measure, baseline, and prevent regressions in critical SecuScan performance areas. This PR covers:
scripts/run_benchmarks.py) that checks measurements againstthresholds.json.No third-party
pipdependencies were added, relying solely on standard library utilities (time,statistics) and existing dev-requirements (pytest,pytest-asyncio).Related Issues
Closes #256
Type of Change
How Has This Been Tested?
python3 scripts/run_benchmarks.pyto confirm that all 11 performance metrics correctly query and pass against baseline thresholds../testing/test_python.shto ensure all 349 existing test cases pass and benchmarks are correctly excluded from the main test suite.ruff checkandgit diff --checkto ensure no trailing whitespace or lint warnings.Checklist
🟢 GSSoC note – I’m a GSSoC open source contributor. All checks are passing; please add the gssoc:approved label when merging.