mikemccand commented on pull request #518:
URL: https://github.com/apache/lucene/pull/518#issuecomment-999103803
Also here is the heap JFR results for `base`:
```
PROFILE SUMMARY from 2423 events (total: 94219M)
tests.profile.mode=heap
tests.profile.count=30
tests.profile.stacksize=1
tests.profile.linenumbers=false
PERCENT HEAP SAMPLES STACK
9.76% 9191M org.apache.lucene.util.FixedBitSet#<init>()
6.93% 6527M
org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegment()
6.07% 5721M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>()
5.77% 5437M
org.apache.lucene.facet.FacetsConfig#stringToPath()
5.20% 4896M
java.util.concurrent.locks.AbstractQueuedSynchronizer#acquire()
3.65% 3436M perf.StatisticsHelper#startStatistics()
3.65% 3436M
java.util.concurrent.CopyOnWriteArrayList#iterator()
3.46% 3255M java.lang.StringUTF16#compress()
3.39% 3195M java.util.ArrayList#grow()
2.97% 2800M org.apache.lucene.util.BytesRef#utf8ToString()
2.91% 2743M
org.apache.lucene.facet.taxonomy.IntTaxonomyFacets#<init>()
2.69% 2534M
jdk.internal.misc.Unsafe#allocateUninitializedArray()
2.54% 2396M java.util.AbstractList#iterator()
2.33% 2199M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockDocsEnum#<init>()
2.20% 2070M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#getFrame()
2.01% 1889M
org.apache.lucene.util.fst.ByteSequenceOutputs#read()
1.82% 1718M
org.apache.lucene.queryparser.charstream.FastCharStream#refill()
1.81% 1709M org.apache.lucene.util.BytesRef#<init>()
1.48% 1392M
org.apache.lucene.util.DocIdSetBuilder$Buffer#<init>()
1.29% 1219M
org.apache.lucene.codecs.lucene90.blocktree.IntersectTermsEnumFrame#load()
1.25% 1176M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#<init>()
1.23% 1159M
org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$TermsDict#decompressBlock()
1.20% 1133M
jdk.internal.foreign.MappedMemorySegmentImpl#dup()
1.14% 1073M org.apache.lucene.search.BooleanScorer#<init>()
1.03% 970M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsDocsEnum#<init>()
1.03% 970M
org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts()
0.97% 910M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#getArc()
0.88% 833M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#<init>()
0.88% 833M
org.apache.lucene.codecs.lucene90.ForUtil#<init>()
0.87% 816M
```
and for `new-mmap`:
```
PROFILE SUMMARY from 2424 events (total: 96906M)
tests.profile.mode=heap
tests.profile.count=30
tests.profile.stacksize=1
tests.profile.linenumbers=false
PERCENT HEAP SAMPLES STACK
10.17% 9854M org.apache.lucene.util.FixedBitSet#<init>()
6.96% 6743M
org.apache.lucene.facet.FacetsConfig#stringToPath()
6.84% 6631M
org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegment()
5.16% 4999M
java.util.concurrent.locks.AbstractQueuedSynchronizer#acquire()
4.18% 4054M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>()
3.58% 3470M org.apache.lucene.util.BytesRef#utf8ToString()
3.55% 3436M perf.StatisticsHelper#startStatistics()
3.55% 3436M
java.util.concurrent.CopyOnWriteArrayList#iterator()
3.49% 3379M
org.apache.lucene.facet.taxonomy.IntTaxonomyFacets#<init>()
2.77% 2688M java.util.ArrayList#grow()
2.71% 2628M java.lang.StringUTF16#compress()
2.54% 2465M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#getFrame()
2.15% 2087M java.util.AbstractList#iterator()
2.05% 1984M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockDocsEnum#<init>()
1.94% 1881M
org.apache.lucene.util.fst.ByteSequenceOutputs#read()
1.84% 1786M
jdk.internal.misc.Unsafe#allocateUninitializedArray()
1.74% 1683M java.nio.DirectByteBufferR#duplicate()
1.65% 1598M
org.apache.lucene.util.DocIdSetBuilder$Buffer#<init>()
1.47% 1426M org.apache.lucene.util.BytesRef#<init>()
1.40% 1357M java.nio.DirectByteBufferR#asLongBuffer()
1.27% 1228M
org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts()
1.24% 1202M
org.apache.lucene.queryparser.charstream.FastCharStream#refill()
1.24% 1202M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader#newTermState()
1.15% 1116M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsDocsEnum#<init>()
1.13% 1090M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#<init>()
1.10% 1065M
org.apache.lucene.store.ByteBufferIndexInput#newCloneInstance()
1.05% 1013M java.nio.DirectByteBufferR#slice()
0.91% 884M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#<init>()
0.88% 850M org.apache.lucene.search.BooleanScorer#<init>()
0.86% 833M
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]