Skip to content

Example test of huge slowdown in 1.9.x#2033

Closed
janedbal wants to merge 1 commit intophpstan:1.9.xfrom
janedbal:slowdown-example-in-19x
Closed

Example test of huge slowdown in 1.9.x#2033
janedbal wants to merge 1 commit intophpstan:1.9.xfrom
janedbal:slowdown-example-in-19x

Conversation

@janedbal
Copy link
Contributor

Hi, I'm meeting huge slowdown (feels like infinite loop, but probably is some exponential time degradation) in 1.9.x, here is a separated (minimal) example.

  • takes minutes on 1.9.x
  • takes 4 secs on 1.9.2 (which still feels a lot)

Possibly related to #2030

@ondrejmirtes
Copy link
Member

/cc @rajyan I didn't check which commit breaks this but maybe it's one of yours, feel free to cherrypick the test on top of your PR 😊 Thanks.

@rajyan
Copy link
Contributor

rajyan commented Nov 28, 2022

Thank you for the simple test case 👍

feels like infinite loop, but probably is some exponential time degradation

Yes, it is causing an exponential time degradation.

Could confirm #2030 solves this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants