Skip to content

initial exclude optimizer implementation#69

Merged
SuperchupuDev merged 11 commits into
SuperchupuDev:mainfrom
hkubus:super-fast-globi
Nov 28, 2024
Merged

initial exclude optimizer implementation#69
SuperchupuDev merged 11 commits into
SuperchupuDev:mainfrom
hkubus:super-fast-globi

Conversation

@hkubus
Copy link
Copy Markdown
Contributor

@hkubus hkubus commented Oct 27, 2024

Closes #46 yay....!!!!

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 27, 2024

Open in Stackblitz

npm i https://pkg.pr.new/tinyglobby@69

commit: 479f99d

@hkubus hkubus marked this pull request as ready for review October 29, 2024 17:01
@robertsLando
Copy link
Copy Markdown

I would also suggest to add a test that does some performance check and compare results with globby

@SuperchupuDev SuperchupuDev marked this pull request as draft November 26, 2024 21:38
@SuperchupuDev
Copy link
Copy Markdown
Owner

for anyone interested in helping, this PR makes vite tests fail, but we are struggling to debug it due to the message produced (and a lack of time). you can see the ci run on my test fork https://github.com/SuperchupuDev/vite

@xuanduc987
Copy link
Copy Markdown
Contributor

xuanduc987 commented Nov 28, 2024

After some debugging, seems like the problematic one was lone double star ** pattern, I tried to fix it with hkubus#1

@robertsLando
Copy link
Copy Markdown

@SuperchupuDev could you merge @xuanduc987 changes and retry vite tests?

@SuperchupuDev
Copy link
Copy Markdown
Owner

cc @xiboon

@SuperchupuDev
Copy link
Copy Markdown
Owner

After some debugging, seems like the problematic one was lone double star ** pattern, I tried to fix it with xiboon#1

merged, thanks :)
will rerun vite's tests

@SuperchupuDev
Copy link
Copy Markdown
Owner

vite tests pass :O

@SuperchupuDev
Copy link
Copy Markdown
Owner

testing in some more repos, 3 tests from @yao-pkg/pkg are failing, again with no clear error message 🫠 https://github.com/yao-pkg/pkg/actions/runs/12068434516/job/33653545386?pr=121

@xuanduc987
Copy link
Copy Markdown
Contributor

@SuperchupuDev Isn't the reason for the failing tests is this?
yao-pkg/pkg#121 (comment)
Revert the change to collect function would make it green I think.

@SuperchupuDev
Copy link
Copy Markdown
Owner

SuperchupuDev commented Nov 28, 2024

oh, right, thought i had reverted that... my bad

ci green again, thanks

This reverts commit 8c684ec.
@SuperchupuDev SuperchupuDev changed the title Implement more efficient excluding algorithm initial exclude optimizer implementation Nov 28, 2024
@SuperchupuDev SuperchupuDev marked this pull request as ready for review November 28, 2024 22:29
Copy link
Copy Markdown
Owner

@SuperchupuDev SuperchupuDev left a comment

Choose a reason for hiding this comment

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

there are some improvements that can be done (and i'll try to do before a new release), but it's good as an initial implementation. thanks everyone for the help! :)

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.

Potentially the biggest performance improvement that can be done

4 participants