Skip to content

accumulateQuery is slow for fast database clients #318

@mbostock

Description

@mbostock

It yields each batch separately:

yield values;

This adds a minimum of ~17ms between batches. But if the database client is fast, we should coalesce batches into a single yield. We should add a duration test here to determine whether or not to yield.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions