Skip to content

Speed up malware analyzer filtering#30

Merged
cgfixit merged 1 commit into
mainfrom
codex/faster-malware-analyzer
Jul 10, 2026
Merged

Speed up malware analyzer filtering#30
cgfixit merged 1 commit into
mainfrom
codex/faster-malware-analyzer

Conversation

@cgfixit

@cgfixit cgfixit commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Follow-up optimization after the recent analyzer loop work.

This branch keeps the jobs/session path unchanged and narrows the performance change to the malware analyzer by:

  • keeping the vectorized status mask
  • avoiding the slower earlier full-row follow-up path
  • preserving missing-column behavior and output shape

Validation:

  • python -m py_compile vhc_simplifier.py
  • python -m pytest tests/ -q
  • ruff check vhc_simplifier.py tests/
  • ruff format --check vhc_simplifier.py tests/

Observed probe result on large synthetic malware input:

  • malware analyzer improved from roughly 160 ms to 90 ms in local timing checks

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@cgfixit cgfixit marked this pull request as ready for review July 10, 2026 07:42
@cgfixit cgfixit merged commit 0dcdf11 into main Jul 10, 2026
17 checks passed
@cgfixit cgfixit deleted the codex/faster-malware-analyzer branch July 10, 2026 07:42
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