Skip to content

Performance regression in coursier code paths on Windows #5398

@lihaoyi

Description

@lihaoyi

I'm trying to rebootstrap Mill in preparation for releasing 1.0.0, but hit a performance regression in JavaHomeModule#javaHome/defaultResolver().resolve code paths on windows that is making the __.compile on the Mill codebase take a long time. It's not stuck, but the slowdown seems unreasonable:

I can reproduce this slowdown on my Windows-ARM laptop, and it appears in CI on Windows-Intel. Doesn't seem to appear on my macbook pro or on Mac/Linux ARM/Intel CI

The commits since the last bootstrap can be seen in 6bd3a9...43069c. The most likely candidate seems to be #5350, which bumps the coursier version, and may have affected the related codepaths. @alexarchambault can you help investigate this and see if this might be related to the courwsier version bump?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions