Skip to content

Misleading benchmark in README #123

@jalil-salame

Description

@jalil-salame

This benchmark image is misleading:

README benchmark image

The patterns used are not the same:

  • fzf-native uses main.c$
  • fzy-native uses main.c
  • fzf-lua uses main.c

Notice the extra $ at the end in fzf-native. This causes fzf-native to only find 39 matches compared to the 44215. It is not clear that the fzf-native search is more specific and thus gives misleading information about the benchmark results.

Proposed solution

Add a note like:

Note

Here fzf-native is much faster because we can use a narrower match thanks to fzf-native's syntax:

README benchmark image

Other solutions that were considered

  • Re-run the benchmark using main.c for all the queries
  • Re-run the benchmark using main.c$ for all queries (I couldn't find out if fzy-native supports regex matches though)
  • Delete the benchmark from the repo (there is already one benchmark, no need for more c:)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions