Skip to content

Performance: bndtools takes too long for SHA-256 and is not interruptable #5322

@reckart

Description

@reckart

It seems that bndtools is slowing down things significantly when used in a large Eclipse workspace / projects with lots of dependencies. Using the sampler VisualVM, it appears that the time is mostly spent for SHA-256 calculation.

Screenshot 2022-07-18 at 12 38 25

Even when trying to shut down Eclipse, the shut down hangs because bndtools first wants to complete these SHA-256 calculations.

  • It would be nice if calculations would not take so much time - maybe they can be performed lazily or maybe they can be cached?
  • When Eclipse is being shut down, it would be nice if the m2e bndtools would detect this and stop their build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions