Skip to content

[perf][P3] seq line-generation rate caps long pipelines (~30us/line) #1173

Closed

Description

@caomengxuan666

seq 1 100000 | wc -l takes ~900-990ms while GNU takes ~5ms: seq itself burns ~332ms for 100k lines (~30us/line) and the pipeline hop adds ~6us/line. Buffer stdout (larger write chunks / bulk formatting) to close the gap. Found in the 1.4.0 real-world sweep.

Activity

  1. added
    enhancement
    performance
    and removed
    enhancement
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions