Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-392

parse result-set rows in a single pass over the receive buffer

    XMLWordPrintable

Details

    Description

      SELECT 1000 rows (INT, VARCHAR) takes 1006 µs with the pure-Python async
      driver, against 351 µs for mariadb_c and 195 µs for asyncmy.

      goal is to framing and row building in one pass over the raw buffer.
      a bulk row parser that takes the receive bytearray, offset and length, parses every complete row packet in place with hoisted column metadata and no per-row slices, copies or calls, and
      stops at an incomplete packet, EOF/OK, ERR or a 16 MB payload, leaving
      those to the existing path.

      This will improve performance

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.