Skip to content

pls is slow! #2

@ix

Description

@ix

NOTE: All benchmarks here are performed with perf with -r100, printing /dev

The majority of pls' execution time (and responsible for the majority of its instructions, 11 million of the total 15 million), is spent adjusting color and resetting it with the term crate. We should fix this by implementing our own means of colorization, even if it's not portable.

I also believe print! and println! to be slower than writing directly to stdout, though this needs further testing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions