mikemccand / luceneutil

Various utility scripts for running Lucene performance tests
Apache License 2.0
205 stars 115 forks source link

added getAllChildren to benchmark #182

Closed Yuti-G closed 2 years ago

Yuti-G commented 2 years ago

We now support the getAllChildren functionality in facet and it would be nice to add it to benchmark as well. Please see below for the benchmark results after adding getAllChildren.

Results after iteration 20

Time (ms) taken to instanciate FastTaxonomyFacetCounts: 4123.887288349999
Time (ms) taken to instanciate SSDVFacetCounts: 10977.917832749998
SSDV is 166.2% slower than Taxonomy

Time (ms) taken to get all dims for taxonomy: 2.79734245
Time (ms) taken to get all dims for SSDV: 1.1225765500000002
Taxonomy is 149.2% slower than SSDV

Time (ms) taken to get top dims for taxonomy: 0.26965845
Time (ms) taken to get top dims for SSDV: 0.0748355
Taxonomy is 260.3% slower than SSDV

Time (ms) taken to get top children of "address.taxonomy/TX" children for taxonomy: 2.8276866000000003
Time (ms) taken to get top "address.sortedset/TX" children for SSDV: 2.7328451
Taxonomy is 3.5% slower than SSDV

Time (ms) taken to get all children of "address.taxonomy/TX" children for taxonomy: 6.882804899999999
Time (ms) taken to get all "address.sortedset/TX" children for SSDV: 3.1600861499999997
Taxonomy is 117.8% slower than SSDV