Skip to content

Profile wrapper building performance (and fix?) #2691

@dbeltrankyl

Description

@dbeltrankyl

Hello @kinow , @VindeeR

While working on #2468, I noticed that there is this setting:

CONFIG:
 ENABLE_WRAPPER_THREADS: False

By default, it is disabled, and I think nobody has enabled it.

I was checking the associated code in JobPackageBase.submit, and I don't believe it works correctly, as it is using a different function than usual, which hasn't been updated for a while.

I think that part needs a refactor, and see if it is useful to keep, and whether it actually improves performance when building wrappers.

For normal jobs it is never updated because len(self.jobs) == 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions