apache / apache/lucene

Make Luke launching code faster [LUCENE-10588]

Open
#11,624 2 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor module:luke type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Starting Luke can take multiple seconds since it renders all GUI components when launching; It could be possible to make it faster (within sub-second) by lazily rendering panels to avoid loading too many classes when starting.

This typically becomes an issue on CI job, but a quicker launch would be also good for humans.
https://github.com/apache/lucene/pull/917

---
Migrated from [LUCENE-10588](https://issues.apache.org/jira/browse/LUCENE-10588) by Tomoko Uchida (@mocobeta), updated Jun 01 2022
Pull requests: https://github.com/apache/lucene/pull/937

Contributor guide

Open the contributing guide

Research direction

Start by locating Luke's startup path and the GUI component rendering described in the issue. Measure the current launch time, then verify that panels are rendered lazily and that startup reaches the requested sub-second target, including in the CI scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.