jainankitk commented on PR #13599: URL: https://github.com/apache/lucene/pull/13599#issuecomment-2251568527
Memory profile: BASELINE: ``` PROFILE SUMMARY from 78943 events (total: 98729M) tests.profile.mode=heap tests.profile.count=30 tests.profile.stacksize=1 tests.profile.linenumbers=false PERCENT HEAP SAMPLES STACK 12.66% 12502M org.apache.lucene.facet.taxonomy.TaxonomyFacets#initializeValueCounters() 10.17% 10044M org.apache.lucene.codecs.lucene99.Lucene99PostingsReader$BlockDocsEnum#<init>() 6.61% 6523M org.apache.lucene.util.ArrayUtil#growExact() 6.32% 6241M org.apache.lucene.util.FixedBitSet#<init>() 4.79% 4726M org.apache.lucene.util.ArrayUtil#growNoCopy() 4.58% 4524M org.apache.lucene.facet.FacetsConfig#stringToPath() 4.38% 4326M org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegmentNHLD() 3.93% 3882M java.lang.StringUTF16#compress() 3.13% 3085M org.apache.lucene.util.BytesRef#utf8ToString() 2.67% 2637M org.apache.lucene.codecs.lucene99.ForUtil#<init>() 2.53% 2499M org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#initializeCounts() 2.35% 2319M java.util.ArrayList#grow() 2.32% 2292M org.apache.lucene.search.MaxScoreAccumulator#get() 1.95% 1926M org.apache.lucene.search.ExactPhraseMatcher$1$1#getImpacts() 1.76% 1740M java.util.AbstractList#iterator() 1.71% 1685M org.apache.lucene.util.DocIdSetBuilder$Buffer#<init>() 1.70% 1676M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>() 1.52% 1497M org.apache.lucene.util.BytesRef#<init>() 1.36% 1338M org.apache.lucene.util.fst.ByteSequenceOutputs#read() 1.18% 1168M java.util.ArrayList#iterator() 0.97% 961M org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts() 0.90% 884M java.lang.Long#valueOf() 0.81% 798M jdk.internal.misc.Unsafe#allocateUninitializedArray() 0.76% 752M java.util.ArrayList#toArray() 0.73% 719M jdk.internal.foreign.MappedMemorySegmentImpl#dup() 0.72% 714M java.util.concurrent.locks.AbstractQueuedSynchronizer#acquire() 0.71% 696M java.util.Arrays#asList() 0.63% 619M java.lang.reflect.Array#newInstance() 0.60% 593M org.apache.lucene.store.MemorySegmentIndexInput#buildSlice() 0.60% 593M org.apache.lucene.search.BooleanScorer#<init>() ``` CANDIDATE: ``` PROFILE SUMMARY from 78928 events (total: 98582M) tests.profile.mode=heap tests.profile.count=30 tests.profile.stacksize=1 tests.profile.linenumbers=false PERCENT HEAP SAMPLES STACK 12.68% 12502M org.apache.lucene.facet.taxonomy.TaxonomyFacets#initializeValueCounters() 10.16% 10013M org.apache.lucene.codecs.lucene99.Lucene99PostingsReader$BlockDocsEnum#<init>() 6.32% 6231M org.apache.lucene.util.FixedBitSet#<init>() 6.24% 6155M org.apache.lucene.util.ArrayUtil#growExact() 4.97% 4896M org.apache.lucene.facet.FacetsConfig#stringToPath() 4.78% 4711M org.apache.lucene.util.ArrayUtil#growNoCopy() 4.40% 4336M org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegmentNHLD() 3.74% 3686M java.lang.StringUTF16#compress() 3.21% 3162M org.apache.lucene.util.BytesRef#utf8ToString() 2.70% 2665M org.apache.lucene.codecs.lucene99.ForUtil#<init>() 2.54% 2500M org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#initializeCounts() 2.36% 2322M org.apache.lucene.search.MaxScoreAccumulator#get() 2.18% 2148M java.util.ArrayList#grow() 1.98% 1951M org.apache.lucene.search.ExactPhraseMatcher$1$1#getImpacts() 1.79% 1768M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>() 1.77% 1741M org.apache.lucene.util.DocIdSetBuilder$Buffer#<init>() 1.65% 1623M java.util.AbstractList#iterator() 1.51% 1491M org.apache.lucene.util.BytesRef#<init>() 1.41% 1388M org.apache.lucene.util.fst.ByteSequenceOutputs#read() 1.11% 1095M java.util.ArrayList#iterator() 1.10% 1080M jdk.internal.misc.Unsafe#allocateUninitializedArray() 0.96% 943M org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts() 0.84% 832M java.util.ArrayList#toArray() 0.83% 821M java.lang.Long#valueOf() 0.79% 777M jdk.internal.foreign.MappedMemorySegmentImpl#dup() 0.75% 743M java.util.Arrays#asList() 0.71% 702M java.util.concurrent.locks.AbstractQueuedSynchronizer#acquire() 0.65% 639M org.apache.lucene.store.MemorySegmentIndexInput#buildSlice() 0.60% 594M java.lang.reflect.Array#newInstance() 0.60% 589M org.apache.lucene.search.BooleanScorer#<init>() ``` -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org