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

update uniplate to 0.2.0 #617

Merged
merged 2 commits into from
Jan 30, 2025
Merged

update uniplate to 0.2.0 #617

merged 2 commits into from
Jan 30, 2025

Conversation

niklasdewally
Copy link
Collaborator

  • update uniplate to v0.2.0
    PERFORMANCE

    This Uniplate update brought optimisations to contexts and
    contexts_bi.

    Using the methodology given in c4c4d7d (perf: only log rule not
    applicable in debug mode, 2025-01-16), and the optimisations /implies-tautologies-cse test case, the impact of this change is the
    following:

    Main (075c952): 790.9ms +- 11.5ms
    This PR: 730.2ms +- 18.7ms
    Savile Row -O0: 139.9ms +- 12.0ms

    (wall time)

    This is a 7.68% wall-time improvement compared to main.

  • tidy: use simpler Biplate syntax where possible
    As discussed in Nicer biplate syntax uniplate#19.

PERFORMANCE

This Uniplate update brought optimisations to `contexts` and
`contexts_bi`.

Using the methodology given in c4c4d7d (perf: only log rule not
applicable in debug mode, 2025-01-16), and the `optimisations
/implies-tautologies-cse` test case, the impact of this change is the
following:

Main (075c952): 790.9ms +- 11.5ms
This PR:        730.2ms +- 18.7ms
Savile Row -O0: 139.9ms +- 12.0ms

(wall time)

This is a 7.68% wall-time improvement compared to main.
@niklasdewally niklasdewally self-assigned this Jan 30, 2025
@ozgurakgun
Copy link
Contributor

I wonder how much of the time is spent on parsing for Oxide. Is it the via-conjure parser or the tree-sitter one you tested with?

@niklasdewally niklasdewally merged commit 8a1bf40 into main Jan 30, 2025
14 checks passed
@niklasdewally niklasdewally deleted the nik/update-uniplate-to-0.2.0 branch January 30, 2025 16:48
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