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

Proof of Concept: Release GVL in Statement#step #528

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 20, 2024

  1. Release GVL in Statement#step

    This allows other threads to execute Ruby code (including performing
    more work sqlite operations if on another DB connection). This should
    significantly improve multithreaded performance, however will add
    overhead to single-threaded performance.
    
    This required wrapping all callbacks which can happen within statement
    execution with rb_thread_call_with_gvl.
    jhawthorn committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    3cfe042 View commit details
    Browse the repository at this point in the history