uschindler commented on pull request #177: URL: https://github.com/apache/lucene/pull/177#issuecomment-861265227
I also ran the same with tiered compilation turned on and no `-Xbatch` (java defaults). The results are much better, but still the heap allocations are done. For long-running benchmarks with modern VMs, switching off tiered and enabling batch mode is a bad idea, as it is different from real world. Sure, results are more predictable, but they are noisy anyways (for different reasons, mainly because we don't use JMH). In addition, as soon as you use MethodHandles or VarHandles (as we do here), in addition to Hotspot's low level optimizations, the Java runtime also does lambda transformations of the MethodHandles and VarHarndles at runtime (it rewrites byte code), which cannot be controlled by the Java command line. All code using java Lambdas, dynamic invokes, MethodHandles, VarHandles (like this one) only work well after long runtime. So the benchmarking will stay noisy unless we use JMH. This got worse recently as Lucene code uses more and more Lambdas. ``` TaskQPS baseline StdDevQPS my_modified_version StdDev Pct diff p-value BrowseMonthTaxoFacets 1.06 (9.0%) 0.92 (7.1%) -13.3% ( -26% - 3%) 0.000 BrowseDateTaxoFacets 1.03 (9.5%) 0.91 (8.0%) -11.8% ( -26% - 6%) 0.000 BrowseDayOfYearTaxoFacets 1.03 (9.7%) 0.91 (8.0%) -11.8% ( -26% - 6%) 0.000 Respell 54.63 (1.8%) 51.37 (1.2%) -6.0% ( -8% - -3%) 0.000 PKLookup 206.57 (2.7%) 196.05 (2.3%) -5.1% ( -9% - 0%) 0.000 Fuzzy1 83.20 (1.4%) 78.97 (1.5%) -5.1% ( -7% - -2%) 0.000 HighTermDayOfYearSort 10.39 (17.7%) 9.95 (14.5%) -4.3% ( -30% - 33%) 0.399 Fuzzy2 50.01 (2.7%) 48.48 (2.3%) -3.1% ( -7% - 1%) 0.000 OrHighMed 54.71 (3.6%) 53.16 (4.0%) -2.8% ( -10% - 4%) 0.019 AndHighLow 927.79 (2.8%) 904.39 (5.4%) -2.5% ( -10% - 5%) 0.063 OrHighLow 457.95 (2.2%) 446.92 (4.6%) -2.4% ( -9% - 4%) 0.036 LowSloppyPhrase 35.92 (4.1%) 35.13 (3.4%) -2.2% ( -9% - 5%) 0.066 Prefix3 22.95 (12.6%) 22.46 (11.5%) -2.2% ( -23% - 25%) 0.571 BrowseMonthSSDVFacets 4.00 (1.4%) 3.91 (3.1%) -2.1% ( -6% - 2%) 0.006 HighTermMonthSort 30.76 (21.3%) 30.25 (16.2%) -1.7% ( -32% - 45%) 0.781 AndHighHigh 40.44 (5.4%) 39.84 (3.0%) -1.5% ( -9% - 7%) 0.280 HighSloppyPhrase 14.55 (4.8%) 14.35 (3.8%) -1.3% ( -9% - 7%) 0.334 HighTermTitleBDVSort 12.27 (22.5%) 12.13 (26.8%) -1.1% ( -41% - 62%) 0.884 MedSloppyPhrase 22.93 (4.1%) 22.70 (3.3%) -1.0% ( -8% - 6%) 0.396 MedSpanNear 14.88 (2.8%) 14.73 (2.6%) -1.0% ( -6% - 4%) 0.250 OrHighHigh 12.71 (4.6%) 12.61 (5.5%) -0.8% ( -10% - 9%) 0.615 AndHighMed 57.17 (5.9%) 56.80 (3.1%) -0.6% ( -9% - 8%) 0.669 TermDTSort 67.79 (9.2%) 67.44 (10.9%) -0.5% ( -18% - 21%) 0.872 BrowseDayOfYearSSDVFacets 3.88 (1.7%) 3.86 (3.0%) -0.5% ( -5% - 4%) 0.544 HighSpanNear 3.60 (3.7%) 3.60 (3.4%) -0.1% ( -6% - 7%) 0.936 MedPhrase 245.29 (2.5%) 249.61 (2.4%) 1.8% ( -3% - 6%) 0.023 LowSpanNear 246.46 (4.2%) 252.99 (3.1%) 2.7% ( -4% - 10%) 0.023 HighIntervalsOrdered 10.07 (6.1%) 10.43 (5.9%) 3.6% ( -7% - 16%) 0.059 OrNotHighLow 1014.03 (3.2%) 1054.08 (3.3%) 3.9% ( -2% - 10%) 0.000 OrNotHighMed 832.53 (2.7%) 867.52 (2.9%) 4.2% ( -1% - 10%) 0.000 Wildcard 59.59 (23.1%) 62.30 (18.1%) 4.5% ( -29% - 59%) 0.489 HighTerm 1310.56 (6.1%) 1370.47 (5.0%) 4.6% ( -6% - 16%) 0.010 LowPhrase 177.09 (2.1%) 185.99 (2.8%) 5.0% ( 0% - 10%) 0.000 MedTerm 1657.72 (6.6%) 1756.16 (4.5%) 5.9% ( -4% - 18%) 0.001 LowTerm 1665.17 (3.6%) 1764.34 (3.6%) 6.0% ( -1% - 13%) 0.000 OrHighNotHigh 928.06 (5.2%) 983.69 (4.7%) 6.0% ( -3% - 16%) 0.000 HighPhrase 278.47 (2.5%) 295.20 (3.7%) 6.0% ( 0% - 12%) 0.000 OrNotHighHigh 945.96 (5.0%) 1008.94 (4.1%) 6.7% ( -2% - 16%) 0.000 OrHighNotLow 963.35 (4.9%) 1035.97 (4.7%) 7.5% ( -1% - 18%) 0.000 OrHighNotMed 1203.88 (3.9%) 1316.54 (4.3%) 9.4% ( 1% - 18%) 0.000 IntNRQ 165.56 (7.0%) 181.66 (14.1%) 9.7% ( -10% - 33%) 0.006 CPU merged search profile for my_modified_version: JFR aggregation command: /home/jenkins/tools/java/64bit/latest-jdk17/bin/java --add-modules jdk.incubator.foreign -server -Xms2g -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -cp /home/thetaphi/benchmark/lucene_candidate/buildSrc/build/classes/java/main -Dtests.profile.mode=cpu -Dtests.profile.stacksize=1 -Dtests.profile.count=30 org.apache.lucene.gradle.ProfileResults /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-12.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-8.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-11.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-18.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-17.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-0.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-14.jfr /home/thetaphi/b enchmark/util/bench-search-baseline_vs_patch-my_modified_version-10.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-4.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-5.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-16.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-2.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-6.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-15.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-1.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-19.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-13.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-7.jfr /home/thetaphi/benchmark/util/bench-search-baseline _vs_patch-my_modified_version-9.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-3.jfr Took 3.09 seconds WARNING: Using incubator modules: jdk.incubator.foreign PROFILE SUMMARY from 1507032 events (total: 1M) tests.profile.mode=cpu tests.profile.count=30 tests.profile.stacksize=1 tests.profile.linenumbers=false PERCENT CPU SAMPLES STACK 12.74% 191932 org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$15#binaryValue() 12.50% 188370 org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts#countAll() 10.97% 165315 org.apache.lucene.util.packed.DirectMonotonicReader#get() 6.06% 91320 org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegment() 4.75% 71593 org.apache.lucene.util.packed.DirectReader$DirectPackedReader12#get() 2.97% 44706 jdk.internal.foreign.AbstractMemorySegmentImpl#checkBounds() 2.67% 40194 jdk.internal.foreign.AbstractMemorySegmentImpl#checkBoundsSmall() 2.30% 34656 jdk.internal.misc.ScopedMemoryAccess#getShortUnalignedInternal() 1.83% 27580 jdk.internal.foreign.AbstractMemorySegmentImpl#isSet() 1.78% 26834 jdk.internal.foreign.AbstractMemorySegmentImpl#<init>() 1.67% 25130 org.apache.lucene.store.MemorySegmentIndexInput$SingleSegmentImpl#seek() 1.50% 22648 org.apache.lucene.store.MemorySegmentIndexInput#readBytes() 1.28% 19257 jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#fromArray() 1.17% 17642 org.apache.lucene.search.Weight$DefaultBulkScorer#scoreAll() 1.15% 17288 org.apache.lucene.facet.taxonomy.IntTaxonomyFacets#increment() 1.10% 16524 java.lang.invoke.VarHandleGuards#guard_LJ_I() 1.06% 16019 jdk.internal.foreign.HeapMemorySegmentImpl#<init>() 1.03% 15456 org.apache.lucene.store.MemorySegmentIndexInput#ensureOpen() 0.84% 12628 org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum#nextPosition() 0.81% 12232 jdk.internal.misc.ScopedMemoryAccess#getByteInternal() 0.77% 11643 jdk.internal.foreign.AbstractMemorySegmentImpl#asSlice() 0.72% 10884 org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum#skipPositions() 0.70% 10522 jdk.internal.foreign.SharedScope#checkValidState() 0.60% 8991 org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum#advance() 0.59% 8844 org.apache.lucene.store.MemorySegmentIndexInput#readByte() 0.57% 8581 org.apache.lucene.util.packed.DirectReader$DirectPackedReader4#get() 0.56% 8393 org.apache.lucene.queries.spans.NearSpansOrdered#stretchToOrder() 0.56% 8393 jdk.internal.foreign.AbstractMemorySegmentImpl#isSmall() 0.55% 8343 org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$DenseBinaryDocValues#nextDoc() 0.53% 7941 java.util.Objects#checkIndex() CPU merged search profile for baseline: JFR aggregation command: /home/jenkins/tools/java/64bit/latest-jdk17/bin/java --add-modules jdk.incubator.foreign -server -Xms2g -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -cp /home/thetaphi/benchmark/lucene_baseline/buildSrc/build/classes/java/main -Dtests.profile.mode=cpu -Dtests.profile.stacksize=1 -Dtests.profile.count=30 org.apache.lucene.gradle.ProfileResults /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-3.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-17.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-16.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-13.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-12.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-5.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-18.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-9.jfr /home/thetaphi/ben chmark/util/bench-search-baseline_vs_patch-baseline-1.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-19.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-4.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-2.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-8.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-11.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-10.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-14.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-15.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-0.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-7.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-6.jfr Took 2.81 seconds WARNING: Using incubator modules: jdk.incubator.foreign PROFILE SUMMARY from 1429487 events (total: 1M) tests.profile.mode=cpu tests.profile.count=30 tests.profile.stacksize=1 tests.profile.linenumbers=false PERCENT CPU SAMPLES STACK 11.27% 161081 org.apache.lucene.util.packed.DirectMonotonicReader#get() 9.67% 138204 org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts#countAll() 8.35% 119320 java.nio.ByteBuffer#getArray() 7.91% 113143 org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$15#binaryValue() 6.74% 96408 org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegment() 5.02% 71811 org.apache.lucene.util.packed.DirectReader$DirectPackedReader12#get() 3.79% 54165 jdk.internal.misc.Unsafe#convEndian() 2.35% 33565 java.nio.Buffer#position() 2.19% 31296 org.apache.lucene.store.ByteBufferIndexInput#readBytes() 2.00% 28556 jdk.internal.util.Preconditions#checkFromIndexSize() 1.34% 19210 org.apache.lucene.store.ByteBufferGuard#getShort() 1.27% 18218 org.apache.lucene.search.Weight$DefaultBulkScorer#scoreAll() 1.17% 16750 java.nio.Buffer#checkIndex() 1.14% 16264 org.apache.lucene.facet.taxonomy.IntTaxonomyFacets#increment() 1.14% 16239 org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$DenseBinaryDocValues#nextDoc() 0.94% 13392 org.apache.lucene.util.packed.DirectReader$DirectPackedReader4#get() 0.84% 11986 java.nio.DirectByteBuffer#ix() 0.83% 11804 java.util.ArrayList$Itr#hasNext() 0.81% 11549 org.apache.lucene.store.ByteBufferGuard#ensureValid() 0.78% 11147 java.nio.Buffer#scope() 0.74% 10638 org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum#nextPosition() 0.73% 10480 org.apache.lucene.store.ByteBufferIndexInput$SingleBufferImpl#seek() 0.65% 9283 org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum#skipPositions() 0.60% 8511 jdk.internal.misc.ScopedMemoryAccess#copyMemory() 0.59% 8453 org.apache.lucene.search.ConjunctionDISI#doNext() 0.57% 8125 org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum#advance() 0.51% 7320 org.apache.lucene.queries.spans.NearSpansOrdered#stretchToOrder() 0.50% 7206 org.apache.lucene.store.ByteBufferGuard#getByte() 0.48% 6832 org.apache.lucene.queries.spans.TermSpans#nextStartPosition() 0.47% 6765 org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$14#binaryValue() HEAP merged search profile for my_modified_version: JFR aggregation command: /home/jenkins/tools/java/64bit/latest-jdk17/bin/java --add-modules jdk.incubator.foreign -server -Xms2g -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -cp /home/thetaphi/benchmark/lucene_candidate/buildSrc/build/classes/java/main -Dtests.profile.mode=heap -Dtests.profile.stacksize=1 -Dtests.profile.count=30 org.apache.lucene.gradle.ProfileResults /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-12.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-8.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-11.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-18.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-17.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-0.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-14.jfr /home/thetaphi/ benchmark/util/bench-search-baseline_vs_patch-my_modified_version-10.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-4.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-5.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-16.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-2.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-6.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-15.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-1.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-19.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-13.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-7.jfr /home/thetaphi/benchmark/util/bench-search-baselin e_vs_patch-my_modified_version-9.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-my_modified_version-3.jfr Took 5.80 seconds WARNING: Using incubator modules: jdk.incubator.foreign PROFILE SUMMARY from 4729188 events (total: 1646537M) tests.profile.mode=heap tests.profile.count=30 tests.profile.stacksize=1 tests.profile.linenumbers=false PERCENT HEAP SAMPLES STACK 98.51% 1621948M jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#fromArray() 0.28% 4680M org.apache.lucene.util.FixedBitSet#<init>() 0.09% 1533M java.util.AbstractList#iterator() 0.08% 1371M jdk.internal.foreign.MappedMemorySegmentImpl#dup() 0.08% 1308M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>() 0.06% 932M org.apache.lucene.util.ArrayUtil#growExact() 0.04% 667M org.apache.lucene.util.BytesRef#<init>() 0.04% 659M org.apache.lucene.queryparser.charstream.FastCharStream#refill() 0.04% 622M jdk.internal.foreign.HeapMemorySegmentImpl$OfLong#dup() 0.04% 597M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockDocsEnum#<init>() 0.03% 568M org.apache.lucene.util.fst.ByteSequenceOutputs#read() 0.03% 524M org.apache.lucene.search.ExactPhraseMatcher$1$1#getImpacts() 0.03% 470M jdk.internal.misc.Unsafe#allocateUninitializedArray() 0.03% 467M org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts() 0.03% 438M jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#dup() 0.02% 411M org.apache.lucene.queryparser.charstream.FastCharStream#GetImage() 0.02% 397M org.apache.lucene.codecs.lucene90.blocktree.IntersectTermsEnumFrame#load() 0.02% 388M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#getFrame() 0.02% 381M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader#newTermState() 0.02% 367M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsDocsEnum#<init>() 0.02% 307M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#<init>() 0.02% 282M org.apache.lucene.codecs.lucene90.ForUtil#<init>() 0.02% 282M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#<init>() 0.02% 274M org.apache.lucene.store.MemorySegmentIndexInput#buildSlice() 0.02% 252M java.util.AbstractList#listIterator() 0.02% 250M java.util.ArrayList#iterator() 0.01% 240M java.util.ArrayList#grow() 0.01% 216M java.util.Arrays#copyOfRange() 0.01% 206M org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState#document() 0.01% 199M java.util.Arrays#asList() HEAP merged search profile for baseline: JFR aggregation command: /home/jenkins/tools/java/64bit/latest-jdk17/bin/java --add-modules jdk.incubator.foreign -server -Xms2g -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -cp /home/thetaphi/benchmark/lucene_baseline/buildSrc/build/classes/java/main -Dtests.profile.mode=heap -Dtests.profile.stacksize=1 -Dtests.profile.count=30 org.apache.lucene.gradle.ProfileResults /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-3.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-17.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-16.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-13.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-12.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-5.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-18.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-9.jfr /home/thetaphi/be nchmark/util/bench-search-baseline_vs_patch-baseline-1.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-19.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-4.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-2.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-8.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-11.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-10.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-14.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-15.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-0.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-7.jfr /home/thetaphi/benchmark/util/bench-search-baseline_vs_patch-baseline-6.jfr Took 1.32 seconds WARNING: Using incubator modules: jdk.incubator.foreign PROFILE SUMMARY from 62873 events (total: 23297M) tests.profile.mode=heap tests.profile.count=30 tests.profile.stacksize=1 tests.profile.linenumbers=false PERCENT HEAP SAMPLES STACK 20.54% 4785M org.apache.lucene.util.FixedBitSet#<init>() 6.85% 1596M java.util.AbstractList#iterator() 5.78% 1346M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>() 4.29% 999M org.apache.lucene.util.ArrayUtil#growExact() 3.07% 714M org.apache.lucene.queryparser.charstream.FastCharStream#refill() 2.84% 660M org.apache.lucene.util.BytesRef#<init>() 2.78% 648M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockDocsEnum#<init>() 2.51% 585M org.apache.lucene.util.fst.ByteSequenceOutputs#read() 2.30% 536M org.apache.lucene.search.ExactPhraseMatcher$1$1#getImpacts() 2.03% 473M org.apache.lucene.codecs.lucene90.blocktree.IntersectTermsEnumFrame#load() 1.98% 462M org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts() 1.92% 448M jdk.internal.misc.Unsafe#allocateUninitializedArray() 1.91% 444M org.apache.lucene.queryparser.charstream.FastCharStream#GetImage() 1.89% 441M java.nio.DirectByteBufferR#duplicate() 1.72% 399M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader#newTermState() 1.60% 372M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#getFrame() 1.53% 355M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsDocsEnum#<init>() 1.22% 284M org.apache.lucene.codecs.lucene90.ForUtil#<init>() 1.15% 268M java.util.ArrayList#iterator() 1.10% 257M java.util.ArrayList#grow() 1.08% 250M org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#<init>() 1.07% 249M java.util.AbstractList#listIterator() 1.03% 239M org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#<init>() 1.00% 234M java.nio.DirectByteBufferR#slice() 0.92% 214M org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState#document() 0.88% 205M java.util.Arrays#asList() 0.86% 201M java.util.Arrays#copyOf() 0.81% 189M org.apache.lucene.codecs.lucene90.blocktree.IntersectTermsEnumFrame#<init>() 0.81% 187M org.apache.lucene.store.ByteBufferIndexInput#newCloneInstance() 0.77% 179M java.nio.DirectByteBufferR#asLongBuffer() ``` -- 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. 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