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

perf(es): Cache current_dir() system calls #9683

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Oct 29, 2024

Description:

Cache current_dir() system calls. Those are needless because we already cache current_dir in some places so it will break if the user changes cwd anyway.

Related issue:

@kdy1 kdy1 added this to the Planned milestone Oct 29, 2024
@kdy1 kdy1 self-assigned this Oct 29, 2024
@kdy1 kdy1 requested review from a team as code owners October 29, 2024 02:51
Copy link

changeset-bot bot commented Oct 29, 2024

🦋 Changeset detected

Latest commit: 8f0a7b0

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

kodiakhq[bot]
kodiakhq bot previously approved these changes Oct 29, 2024
@kdy1 kdy1 merged commit 7aab945 into swc-project:main Oct 29, 2024
5 checks passed
@kdy1 kdy1 deleted the io-op branch October 29, 2024 02:53
Copy link

codspeed-hq bot commented Oct 29, 2024

CodSpeed Performance Report

Merging #9683 will degrade performances by 6.97%

Comparing kdy1:io-op (8f0a7b0) with main (581aafb)

Summary

❌ 1 regressions
✅ 193 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main kdy1:io-op Change
es/full/bugs-1 525.6 µs 564.9 µs -6.97%

@kdy1 kdy1 modified the milestones: Planned, v1.7.41 Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant