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

Cache small number object in memory #4

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Cache small number object in memory #4

merged 1 commit into from
Jan 13, 2025

Conversation

udzura
Copy link
Owner

@udzura udzura commented Jan 13, 2025

before:

bundle exec ruby --yjit tmp/grayscale-cmd.rb --wasm-file  --source  --dest     7.03s user 0.06s system 94% cpu 7.518 total

after(best case):

bundle exec ruby --yjit tmp/grayscale-cmd.rb --wasm-file  --source  --dest     6.77s user 0.06s system 99% cpu 6.870 total

@udzura udzura merged commit b209b87 into main Jan 13, 2025
2 checks passed
@udzura udzura deleted the cache-small-i32 branch January 13, 2025 12: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.

1 participant