Skip to content

Improve performance of compiling routine with 1000 children. #191

@mstechly

Description

@mstechly

Describe the bug

While working on #190 I have changed a bit this test: test_compilation_works_as_expected_in_presence_of_large_number_of_children.
Now the timeout of 20 seconds actually sometimes fail (on 3.10 on CICD), so I increased it to 30 seconds and it passed.

However, the reason for this test was to catch performance regression, so we should do something about it.

Keep in mind that this is not just performance regression, as this test was previously working on preprocessing and now it's doing compilation, so now it has extra steps which might involve extra time. However, it would be good to actually investigate where does the difference in performance come from and fix the issue, as from perspective of the observable behaviour, it's just painfully slow.

I also decreased the number of children from 6000 to 1000.

Once we fix any performance issue that might be there, we should decrease the timeout again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions