Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RD-9528: slow phases #171

Merged
merged 10 commits into from
Sep 8, 2023
Merged

RD-9528: slow phases #171

merged 10 commits into from
Sep 8, 2023

Conversation

bgaidioz
Copy link
Collaborator

@bgaidioz bgaidioz commented Sep 5, 2023

The bottom commit "initial setup for benchmarking" is changing log settings, some logging message level, and artificially multiplying phase rewrites with a loop. Also it adds a test that takes long to run because of the code size. We can probably remove that commit eventually. It's there for testing.

The fixes are in the commit after. They mostly use Any in query and everywhere, wherever the profiler pointed us to. The left one creating ClassCastException is now org.bitbucket.inkytonik.kiama.relation.Tree$$anonfun$bottomupNoBridges$1.applyOrElse(Object, Function1).

Copy link
Contributor

@torcato torcato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bgaidioz bgaidioz marked this pull request as ready for review September 6, 2023 20:00
@bgaidioz bgaidioz merged commit fa7675b into main Sep 8, 2023
4 checks passed
@bgaidioz bgaidioz deleted the RD-9528-slow-phases branch September 8, 2023 09:13
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.

2 participants