On 12.06.23 23:28, Michael Bien wrote:
On 12.06.23 20:51, Ernie Rael wrote:
Using a newish large memory, multi-core laptop. The fan made itself known.
Indexing took ~15 minutes.

multi threading is off by default in NB 18 and has to be enabled in the settings.

sorry, sometimes I forget what was merged when. MT is a NB 19 feature too, testable in nightly builds.

-mbien



there are two kinds of remote repo indexing tasks:

 - initial index creation when you start with a fresh NB config/cache. this takes about 300s on my system with MT enabled (dl not included)

 - incremental index update. I hope to get this < 70s for NB 19. This is a combination of an index extraction (of the delta index) and a merge.

in NB 18 the initial index creation takes almost as much time as the update and can be easily confused, but this is a coincidence since those are two different problems.

benchmarks above used master and had the two PRs applied:

https://github.com/apache/maven-indexer/pull/318

https://github.com/apache/maven-indexer/pull/317


Some time in future, when most users used NB 19 for a while. We could import/move the more compact index of NB 19+ into future NB releases on first launch. This step is already prepared in NB 19 which will ship with lucene backwards compatibility codecs.


Over a weeks worth of logs, only one indexing of central. There's a little "2nd thought" bouncing that seems to go on immediately after the indexing.

should be harmless, I changed the log line from FINE to INFO for a few releases, will probably change it back in NB 20 or so.


INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: Indexing of central took 0.10 s.
this is likely a update check and no update was found.


the rest you posted doesn't seem to be related to remote repo indexing.

-mbien




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to