Skip to content

Refactor to benchmark with hyperfine #374

Open
@privatenumber

Description

The "hyperfine" tool at https://github.com/sharkdp/hyperfine could be useful for abstracting benchmarking logic. To use it with minifiers lacking CLIs, we'll need to create simple CLI scripts (not difficult). In such cases, the benchmarks will include FS read, but it might have a negligible impact and lead to a fairer comparison, as all minifiers will have to read from the FS, reflecting the performance cost based on runtime choice.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions