Bug 31536 - abidb: support parallelized --submit / --check
Summary: abidb: support parallelized --submit / --check
Status: NEW
Alias: None
Product: libabigail
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 18:00 UTC by Frank Ch. Eigler
Modified: 2024-03-22 18:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2024-03-22 18:00:55 UTC
abidb --submit and --check operations are excessively serialized.
It should be possible to run adidw on many given binaries concurrently in subprocesses, since those ops represent the bulk of the time.

The --submit part is slightly trickier because each submit operation requires a git repo modification, but those are quite short.  --check ops could be much more parallel because many can read the same git repo in parallel.

Perhaps an asyncio.subprocess or such layer on top of the subprocess invocation loop could do the trick.