oracle / oracle/macaron

Improve performance by parallelizing dependency analysis

Open
#222 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
210
Forks
36
Avg merge
1d 10h
Merged PRs (30d)
2

Description

We analyze the dependencies of a project sequentially at the moment using a shared registry instance. To improve performance we need analyze the dependencies in parallel potentially in separate processes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading src/macaron/slsa_analyzer/registry.py at the linked registry instance and trace how dependency analysis currently runs sequentially. Determine how parallel analysis can work with the shared registry, then verify that dependency analysis completes correctly when run in parallel and that performance improves.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance, security
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.