uschindler commented on pull request #177:
URL: https://github.com/apache/lucene/pull/177#issuecomment-861222097
Here is the results of the original pull request without the unsafe memory
copy, using the `fromArray()` and slicing code. During runtime, the benchmark
runs 72 seconds vs 60 seconds. The 12 seconds are mostly caused by garbage
collection and allocations.
At the end of the report you see an overview of the heap allocations seen by
JFR:
```
TaskQPS baseline StdDevQPS my_modified_version
StdDev Pct diff p-value
BrowseMonthTaxoFacets 1.01 (5.3%) 0.71 (5.9%)
-29.7% ( -38% - -19%) 0.000
BrowseDateTaxoFacets 0.98 (7.0%) 0.70 (5.9%)
-28.7% ( -38% - -17%) 0.000
BrowseDayOfYearTaxoFacets 0.98 (7.0%) 0.70 (5.9%)
-28.7% ( -38% - -16%) 0.000
Wildcard 19.36 (9.9%) 16.30 (6.8%)
-15.8% ( -29% - 0%) 0.000
AndHighLow 273.88 (3.5%) 240.26 (2.4%)
-12.3% ( -17% - -6%) 0.000
LowSloppyPhrase 9.80 (4.1%) 8.85 (4.3%)
-9.7% ( -17% - -1%) 0.000
MedSloppyPhrase 6.82 (5.2%) 6.24 (5.3%)
-8.4% ( -18% - 2%) 0.000
OrHighLow 220.56 (3.2%) 202.29 (3.1%)
-8.3% ( -14% - -2%) 0.000
Respell 54.65 (1.4%) 50.44 (1.5%)
-7.7% ( -10% - -4%) 0.000
HighSloppyPhrase 3.57 (4.0%) 3.31 (4.8%)
-7.3% ( -15% - 1%) 0.000
AndHighMed 116.21 (4.8%) 107.99 (3.6%)
-7.1% ( -14% - 1%) 0.000
PKLookup 188.31 (2.6%) 175.71 (2.3%)
-6.7% ( -11% - -1%) 0.000
AndHighHigh 26.44 (4.9%) 24.69 (4.2%)
-6.6% ( -15% - 2%) 0.000
LowSpanNear 26.13 (1.9%) 24.55 (2.5%)
-6.1% ( -10% - -1%) 0.000
OrHighMed 58.52 (4.3%) 55.04 (4.0%)
-5.9% ( -13% - 2%) 0.000
MedSpanNear 16.21 (2.1%) 15.27 (3.6%)
-5.8% ( -11% - 0%) 0.000
Fuzzy2 62.90 (10.2%) 59.78 (13.1%)
-5.0% ( -25% - 20%) 0.182
Fuzzy1 47.53 (5.7%) 45.81 (4.7%)
-3.6% ( -13% - 7%) 0.027
BrowseMonthSSDVFacets 4.13 (5.4%) 3.99 (6.5%)
-3.3% ( -14% - 9%) 0.079
TermDTSort 62.99 (15.3%) 60.93 (13.8%)
-3.3% ( -28% - 30%) 0.476
BrowseDayOfYearSSDVFacets 4.02 (4.2%) 3.89 (5.5%)
-3.2% ( -12% - 6%) 0.036
OrHighHigh 17.99 (5.2%) 17.41 (5.4%)
-3.2% ( -13% - 7%) 0.055
HighPhrase 15.57 (3.6%) 15.08 (3.0%)
-3.1% ( -9% - 3%) 0.003
HighTermTitleBDVSort 58.97 (19.8%) 57.13 (21.8%)
-3.1% ( -37% - 48%) 0.636
HighSpanNear 4.84 (2.1%) 4.69 (1.5%)
-3.1% ( -6% - 0%) 0.000
LowPhrase 6.95 (4.7%) 6.76 (3.1%)
-2.7% ( -10% - 5%) 0.031
HighTermDayOfYearSort 79.36 (13.6%) 77.50 (16.1%)
-2.3% ( -28% - 31%) 0.618
HighIntervalsOrdered 6.10 (3.7%) 5.96 (4.5%)
-2.3% ( -10% - 6%) 0.079
MedPhrase 20.71 (3.9%) 20.50 (2.6%)
-1.0% ( -7% - 5%) 0.326
HighTermMonthSort 73.31 (12.2%) 72.61 (15.6%)
-1.0% ( -25% - 30%) 0.828
OrNotHighLow 659.29 (3.6%) 661.62 (4.6%)
0.4% ( -7% - 8%) 0.785
Prefix3 56.18 (6.0%) 56.64 (7.3%)
0.8% ( -11% - 15%) 0.699
OrNotHighHigh 517.12 (4.0%) 525.07 (3.9%)
1.5% ( -6% - 9%) 0.217
OrHighNotHigh 588.54 (4.1%) 612.06 (4.6%)
4.0% ( -4% - 13%) 0.004
LowTerm 1337.81 (3.5%) 1404.26 (3.4%)
5.0% ( -1% - 12%) 0.000
OrHighNotMed 738.42 (3.2%) 787.11 (4.6%)
6.6% ( -1% - 14%) 0.000
OrNotHighMed 741.56 (5.8%) 790.89 (4.0%)
6.7% ( -2% - 17%) 0.000
MedTerm 1707.00 (3.8%) 1831.49 (4.5%)
7.3% ( 0% - 16%) 0.000
OrHighNotLow 843.88 (4.5%) 906.51 (4.6%)
7.4% ( -1% - 17%) 0.000
HighTerm 1929.94 (6.5%) 2137.55 (5.9%)
10.8% ( -1% - 24%) 0.000
IntNRQ 268.71 (6.0%) 317.78 (6.2%)
18.3% ( 5% - 32%) 0.000
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:-TieredCompilation
-XX:+HeapDumpOnOutOfMemoryError -Xbatch -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/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/bench
mark/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 6.45 seconds
WARNING: Using incubator modules: jdk.incubator.foreign
PROFILE SUMMARY from 2155605 events (total: 2M)
tests.profile.mode=cpu
tests.profile.count=30
tests.profile.stacksize=1
tests.profile.linenumbers=false
PERCENT CPU SAMPLES STACK
10.30% 221932
org.apache.lucene.util.packed.DirectMonotonicReader#get()
9.54% 205542
org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts#countAll()
5.85% 126158
org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$15#binaryValue()
3.90% 84032
jdk.internal.foreign.AbstractMemorySegmentImpl#<init>()
3.89% 83875 java.lang.Class#getComponentType()
3.59% 77332
org.apache.lucene.util.packed.DirectReader$DirectPackedReader12#get()
3.43% 74043 jdk.internal.misc.Unsafe#checkPrimitiveArray()
3.04% 65576
jdk.internal.foreign.AbstractMemorySegmentImpl#checkBounds()
2.84% 61133
jdk.internal.foreign.AbstractMemorySegmentImpl#checkBoundsSmall()
2.81% 60625
jdk.internal.misc.ScopedMemoryAccess#getShortUnalignedInternal()
2.59% 55777
jdk.internal.foreign.MappedMemorySegmentImpl#dup()
2.50% 53863
org.apache.lucene.store.MemorySegmentIndexInput#readBytes()
2.36% 50894 jdk.internal.foreign.Utils#filterSegment()
2.32% 49940
jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#dup()
2.15% 46330
jdk.internal.foreign.AbstractMemorySegmentImpl#copyFrom()
1.92% 41393
org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegment()
1.65% 35535
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#advance()
1.27% 27288
jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#<init>()
1.20% 25922
org.apache.lucene.index.SingletonSortedSetDocValues#nextDoc()
1.04% 22431
jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#fromArray()
0.98% 21203
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader#findFirstGreater()
0.94% 20165
jdk.internal.foreign.SharedScope#checkValidState()
0.92% 19927
jdk.internal.misc.ScopedMemoryAccess#copyMemoryInternal()
0.90% 19325
org.apache.lucene.queries.spans.SpanScorer#setFreqCurrentDoc()
0.85% 18220
org.apache.lucene.facet.taxonomy.IntTaxonomyFacets#increment()
0.79% 16981 org.apache.lucene.search.ConjunctionDISI#doNext()
0.69% 14907 org.apache.lucene.search.PhraseScorer$1#matches()
0.68% 14599
org.apache.lucene.queries.spans.TermSpans#nextStartPosition()
0.67% 14537
org.apache.lucene.index.SingletonSortedSetDocValues#nextOrd()
0.67% 14451
jdk.internal.misc.ScopedMemoryAccess#getByteInternal()
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:-TieredCompilation
-XX:+HeapDumpOnOutOfMemoryError -Xbatch -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-ba
seline-9.jfr
/home/thetaphi/benchmark/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 4.24 seconds
WARNING: Using incubator modules: jdk.incubator.foreign
PROFILE SUMMARY from 1752341 events (total: 1M)
tests.profile.mode=cpu
tests.profile.count=30
tests.profile.stacksize=1
tests.profile.linenumbers=false
PERCENT CPU SAMPLES STACK
13.25% 232242
org.apache.lucene.util.packed.DirectMonotonicReader#get()
8.95% 156849
org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts#countAll()
7.49% 131320 java.nio.ByteBuffer#getArray()
4.91% 85990
org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$15#binaryValue()
3.95% 69304 jdk.internal.misc.Unsafe#convEndian()
3.79% 66477
org.apache.lucene.util.packed.DirectReader$DirectPackedReader12#get()
3.31% 57980
org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts#countOneSegment()
3.20% 56142
org.apache.lucene.store.ByteBufferGuard#ensureValid()
2.91% 51021 java.nio.Buffer#scope()
2.16% 37770 java.nio.ByteBuffer#get()
2.01% 35217
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#advance()
1.71% 29978
org.apache.lucene.store.ByteBufferGuard#getBytes()
1.70% 29781 java.nio.Buffer#checkIndex()
1.55% 27212
org.apache.lucene.index.SingletonSortedSetDocValues#nextDoc()
1.21% 21264
org.apache.lucene.store.ByteBufferIndexInput#readBytes()
1.21% 21134
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader#findFirstGreater()
1.11% 19411
org.apache.lucene.store.ByteBufferGuard#getShort()
1.09% 19159
org.apache.lucene.queries.spans.SpanScorer#setFreqCurrentDoc()
1.02% 17794
org.apache.lucene.facet.taxonomy.IntTaxonomyFacets#increment()
1.01% 17766 java.nio.Buffer#position()
0.98% 17108
org.apache.lucene.index.SingletonSortedSetDocValues#nextOrd()
0.95% 16667 org.apache.lucene.search.PhraseScorer$1#matches()
0.87% 15251 org.apache.lucene.search.ConjunctionDISI#doNext()
0.86% 15055
org.apache.lucene.queries.spans.TermSpans#nextStartPosition()
0.77% 13498
org.apache.lucene.util.packed.DirectReader$DirectPackedReader4#get()
0.75% 13162
org.apache.lucene.store.ByteBufferIndexInput$SingleBufferImpl#seek()
0.70% 12317
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum#nextPosition()
0.68% 11907
org.apache.lucene.codecs.lucene90.ForUtil#expand8()
0.63% 11117
org.apache.lucene.codecs.lucene90.Lucene90DocValuesProducer$19#ordValue()
0.62% 10813 org.apache.lucene.util.PriorityQueue#upHeap()
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:-TieredCompilation
-XX:+HeapDumpOnOutOfMemoryError -Xbatch -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/benc
hmark/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 18.34 seconds
WARNING: Using incubator modules: jdk.incubator.foreign
PROFILE SUMMARY from 14415681 events (total: 5004408M)
tests.profile.mode=heap
tests.profile.count=30
tests.profile.stacksize=1
tests.profile.linenumbers=false
PERCENT HEAP SAMPLES STACK
55.11% 2757776M
jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#fromArray()
22.41% 1121632M
jdk.internal.foreign.HeapMemorySegmentImpl$OfByte#dup()
20.85% 1043452M
jdk.internal.foreign.MappedMemorySegmentImpl#dup()
0.71% 35428M
jdk.internal.foreign.HeapMemorySegmentImpl$OfLong#dup()
0.18% 9206M
jdk.internal.foreign.HeapMemorySegmentImpl$OfLong#fromArray()
0.12% 6150M
org.apache.lucene.search.ExactPhraseMatcher$1$1#getImpacts()
0.09% 4729M
org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts()
0.09% 4620M org.apache.lucene.util.FixedBitSet#<init>()
0.06% 3099M java.util.AbstractList#iterator()
0.04% 1773M java.util.ArrayList#grow()
0.03% 1360M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>()
0.02% 1090M java.util.ArrayList#iterator()
0.02% 1085M org.apache.lucene.util.PriorityQueue#<init>()
0.02% 908M org.apache.lucene.util.ArrayUtil#growExact()
0.02% 796M
org.apache.lucene.queryparser.charstream.FastCharStream#refill()
0.02% 787M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockDocsEnum#<init>()
0.01% 577M org.apache.lucene.util.BytesRef#<init>()
0.01% 537M
jdk.internal.misc.Unsafe#allocateUninitializedArray()
0.01% 517M
org.apache.lucene.util.fst.ByteSequenceOutputs#read()
0.01% 394M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#getFrame()
0.01% 370M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader#newTermState()
0.01% 366M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsDocsEnum#<init>()
0.01% 352M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#<init>()
0.01% 349M
org.apache.lucene.queryparser.charstream.FastCharStream#GetImage()
0.01% 322M
org.apache.lucene.codecs.lucene90.blocktree.IntersectTermsEnumFrame#load()
0.01% 317M
org.apache.lucene.codecs.lucene90.ForUtil#<init>()
0.01% 295M
org.apache.lucene.store.MemorySegmentIndexInput#buildSlice()
0.01% 261M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#<init>()
0.00% 240M
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState#document()
0.00% 237M java.util.Arrays#copyOfRange()
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:-TieredCompilation
-XX:+HeapDumpOnOutOfMemoryError -Xbatch -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-b
aseline-9.jfr
/home/thetaphi/benchmark/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.55 seconds
WARNING: Using incubator modules: jdk.incubator.foreign
PROFILE SUMMARY from 103186 events (total: 37912M)
tests.profile.mode=heap
tests.profile.count=30
tests.profile.stacksize=1
tests.profile.linenumbers=false
PERCENT HEAP SAMPLES STACK
15.31% 5806M
org.apache.lucene.search.ExactPhraseMatcher$1$1#getImpacts()
12.65% 4796M
org.apache.lucene.search.ExactPhraseMatcher$1#getImpacts()
12.47% 4726M org.apache.lucene.util.FixedBitSet#<init>()
8.56% 3246M java.util.AbstractList#iterator()
5.25% 1990M java.util.ArrayList#grow()
3.74% 1419M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnumFrame#<init>()
2.92% 1108M org.apache.lucene.util.PriorityQueue#<init>()
2.59% 981M java.util.ArrayList#iterator()
2.35% 890M
org.apache.lucene.queryparser.charstream.FastCharStream#refill()
2.32% 879M org.apache.lucene.util.ArrayUtil#growExact()
2.08% 789M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockDocsEnum#<init>()
1.64% 621M org.apache.lucene.util.BytesRef#<init>()
1.40% 530M
org.apache.lucene.util.fst.ByteSequenceOutputs#read()
1.22% 461M
jdk.internal.misc.Unsafe#allocateUninitializedArray()
1.21% 458M java.nio.DirectByteBufferR#duplicate()
1.14% 433M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#getFrame()
1.03% 388M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsDocsEnum#<init>()
1.00% 377M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader#newTermState()
0.92% 349M
org.apache.lucene.codecs.lucene90.ForUtil#<init>()
0.87% 330M
org.apache.lucene.queryparser.charstream.FastCharStream#GetImage()
0.87% 328M
org.apache.lucene.codecs.lucene90.blocktree.IntersectTermsEnumFrame#load()
0.83% 316M
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum#<init>()
0.70% 265M
org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$BlockImpactsPostingsEnum#<init>()
0.63% 240M
org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState#document()
0.60% 229M java.nio.DirectByteBufferR#slice()
0.52% 198M
org.apache.lucene.store.ByteBufferIndexInput#newCloneInstance()
0.51% 193M
org.apache.lucene.codecs.lucene90.blocktree.IntersectTermsEnumFrame#<init>()
0.48% 180M java.util.AbstractList#listIterator()
0.47% 179M
org.apache.lucene.codecs.lucene90.Lucene90ScoreSkipReader#readImpacts()
0.47% 178M 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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]