apache / apache/lucene

Create a simple "real world" regexp benchmark [LUCENE-9986]

Open
#11,025 6 comments 0 reactions 1 assignee Claimed by @Jacky040124 View on GitHub
good first issue legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

For issues like #11022, where we are struggling to decide which low-level optimizations to make for our (complicated!) `determinize` method, it would really help to have a large, real-world corpus of regexps to evaluate performance metrics of our automata operations, like CPU and HEAP required to parse the regexp and determinize.

Does anyone know of such an existing, hopefully compatibly licensed, corpus?

Probably we would add these benchmarks to `luceneutil`.

---
Migrated from [LUCENE-9986](https://issues.apache.org/jira/browse/LUCENE-9986) by Michael McCandless (@mikemccand)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.