A Regex Barometer

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rebar

    A biased barometer for gauging the relative speed of some regex engines on a curated set of tasks.

    Does this paragraph above the summary table answer your question?

    > The summary statistic used is the geometric mean of the speed ratios for each regex engine across all benchmarks that include it. The ratios within each benchmark are computed from the median of all timing samples taken, and dividing it by the best median of the regex engines that participated in the benchmark. For example, given two regex engines A and B with results 35 ns and 25 ns on a single benchmark, A has a speed ratio of 1.4 and B has a speed ratio of 1.0. The geometric mean reported here is then the "average" speed ratio for that regex engine across all benchmarks.

    So 1.0 represents the fastest possible ratio, where the engine ranked first in all benchmarks.

    > And why aren't all benchmarks run on all engines

    Because they can't be. Some benchmarks, for example, test the speed that a regex engine reports capture group offsets. But not all regex engines (like Hyperscan) support that functionality. In other cases, it's because of various limits that are hit, e.g., "regex is too big."

    If you look at the individual benchmarks, more information about each can be seen by expanding the details. And if there are engines missing, it should tell you why. Look at the noseyparker benchmark for example[1]. It's absolutely brutal and most engines just time out.

    [1]: https://github.com/BurntSushi/rebar#noseyparker

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Rebar3

    Erlang build tool that makes it easy to compile and test Erlang applications and releases.

    Not to be confused with Rebar3 [0] which is a de-facto package manager and build tool for Erlang.

    [0] https://github.com/erlang/rebar3

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ask HN: What is the best way to learn Erlang?

    5 projects | news.ycombinator.com | 1 Oct 2024
  • A Modern C Development Environment

    7 projects | news.ycombinator.com | 10 Aug 2023
  • Monorepo + Microservices + Dependency Managment + Build system HELL

    2 projects | /r/Python | 20 Jul 2023
  • What was used to build C++ programs before Cmake?

    5 projects | /r/cpp_questions | 5 Jul 2023
  • Introducing Bld: A New Pure Java Build System

    14 projects | /r/java | 12 Apr 2023

Did you konow that Erlang is
the 61st most popular programming language
based on number of metions?