Skip to content

Performance regression in v1.3.1 vs v1.1.0 on large PE gz FASTQ with --detect_adapter_for_pe #678

Description

@Abieskawa

Hi, I found a major performance regression in fastp v1.3.1 compared with v1.1.0. It seems like v1.3.1 is slow and stuck in some unknown process.

Environment:

  • Linux
  • Docker
  • paired-end gz FASTQ
  • large samples (~2.3G–3.1G per FASTQ)

Command:

fastp -w 8 \
  -i S13_1.fastq.gz -I S13_2.fastq.gz \
  -o S13_1.cleaned.fastq.gz -O S13_2.cleaned.fastq.gz \
  -l 30 -q 20 -e 20 \
  --detect_adapter_for_pe \
  -f 10 -F 10 \
  -h S13.fastp.html -j S13.fastp.json

Observed in v1.3.1:
fastp starts and prints adapter-detection messages
output FASTQ files stay at 0 bytes
html/json reports are not produced
process stays alive for many hours
CPU usage remains active, but no measurable output progress
only some large samples are affected

Observed in v1.1.0:
same workflow is much faster and completes normally

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions