Skip to content

Slow parsers #5

Description

@vsbuffalo

flamegraph

sudo cargo flamegraph --bin granges -- map  --genome tests_data/hg38_seqlens.tsv \
  --left windows_1Mb.bed  --right test_bed5.bed.gz --func mean > /dev/null

GRange's parsers are slow-ish. I got a 20-25% gain in speed from using serde + csv. But, I think String types are killing us, compared to raw bytes. But to materialize those benefits a new ASCII or raw byte vector type is need through out (I think noodles uses a similar approach?).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions