Skip to content

[C++] Disable simdjson threading in chunker #51471

Closed

Description

@taepper

Describe the enhancement requested

When invoking simdjson's parse_many, it uses threading to perform its stage 1 parsing on the next batch when while parsing the current batch:
https://github.com/simdjson/simdjson/blob/master/doc/parse_many.md?plain=1#L96-L104

In most cases, we do not need to parse any batches after the first one to find delimiters (in fact, we currently would even error, when the first batch does not contain the whole first document). By disabling the parser's threading we can expect performance improvements

Component(s)

C++

Activity

  1. taepper commented on Sep 23, 2026

    @taepper
    ContributorAuthor

    take

  2. added this to the 26.0.0 milestone on Sep 29, 2026
  3. pitrou commented on Sep 29, 2026

    @pitrou
    Member

    Issue resolved by pull request 51473
    #51473

  4. added a commit that references this issue on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions