Skip to content

ISSUE-441: apply absolute negative patterns to full path #449

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

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

mrmlnc
Copy link
Owner

@mrmlnc mrmlnc commented Jul 2, 2024

What is the purpose of this pull request?

Fixes #441, based on an idea from #445.

What changes did you make? (Give an overview)

Use only absolute (negated) patterns when matching against absolute paths to skip in filter.

@mrmlnc mrmlnc force-pushed the ISSUE-441_absolute_negrative branch 2 times, most recently from c2deef0 to 3ae1a95 Compare July 2, 2024 19:33
@mrmlnc mrmlnc force-pushed the ISSUE-441_absolute_negrative branch from 3ae1a95 to 4df40bd Compare July 2, 2024 20:04
@mrmlnc mrmlnc mentioned this pull request Jul 2, 2024
@mrmlnc mrmlnc marked this pull request as ready for review July 2, 2024 20:20
Copy link

@webpro webpro left a comment

Choose a reason for hiding this comment

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

Thanks! :)

@@ -67,7 +67,7 @@
"test:e2e:stream": "mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(stream\\)\"",
"_build:compile": "npm run clean && npm run compile",
"build": "npm run _build:compile && npm run lint && npm test",
"watch": "npm run _build:compile -- --sourceMap --watch",
"watch": "npm run _build:compile -- -- --sourceMap --watch",
Copy link

Choose a reason for hiding this comment

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

This change shouldn't happen I guess?

Copy link

Choose a reason for hiding this comment

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

Oh nm, TIL about the double-double dashes :)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Unfortunately, this is an issue that was already present in the trunk. I have fixed it in the separated commit.

@mrmlnc
Copy link
Owner Author

mrmlnc commented Jul 2, 2024

Starting bench:regression:async:deep
Label              import.time (time)  time (time)       memory (memory)      entries (value)  process.time (time)
-----------------  ------------------  ----------------  -------------------  ---------------  -------------------
async current **   10.230ms ±1.810%    83.544ms ±4.436%  16.163 MiB ±3.686%   13792 ±0.000%    133.517ms ±3.298%  
async previous **  23.174ms ±1.867%    99.807ms ±2.693%  13.226 MiB ±18.557%  13792 ±0.000%    157.524ms ±1.846%  

Finished bench:regression:async:deep in 43.7s

@mrmlnc mrmlnc merged commit da64807 into master Jul 2, 2024
22 checks passed
@mrmlnc mrmlnc deleted the ISSUE-441_absolute_negrative branch July 4, 2024 20:38
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.

Ignore patterns are applied to the absolute path instead of relative to the working directory
2 participants