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

Switch to platform-specific getting of temp file #1

Open
iboB opened this issue Mar 1, 2024 · 0 comments
Open

Switch to platform-specific getting of temp file #1

iboB opened this issue Mar 1, 2024 · 0 comments
Assignees

Comments

@iboB
Copy link
Owner

iboB commented Mar 1, 2024

The perf right now is bottlenecked by the boot of the ruby interpreter. And we do that two times. The first call is to get a temp file name. Instead of doing this, use a platform specific non-ruby way of creating this file: mktemp on Linux and... something else1 on Windows. It would basically be a 2x perf improvement.


1: Don't know what yet... something involving %TMP%

@iboB iboB self-assigned this Mar 1, 2024
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

No branches or pull requests

1 participant