Home
last modified time | relevance | path

Searched hist:bb1f240594d1524129ed34853f0c325b1a6a1a43 (Results 1 – 5 of 5) sorted by relevance

/haiku/src/tests/add-ons/kernel/file_systems/shared/queries/
H A DQueryParserTest.cppbb1f240594d1524129ed34853f0c325b1a6a1a43 Mon Nov 25 22:28:01 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> file_systems: Invert query equation scoring values.

Previously, lower was better, and higher was worse. But really we want
the scores to be based primarily around the index sizes, which can
grow to be very large, so a maximum score is hard to determine.

Instead, start with the index size, and then divide to make it smaller
based on how "useful" the equation terms will be in searching it.

Improves the performance of queries like those in #19080; according
to humdinger's testing, the query with the most expensive term first
went from ~2.0s execution time down to ~0.7s, same as the query with
the least expensive term first.

Change-Id: Id71fa21c95cfe3d8d0019ff356bdf4935446411f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8593
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DQuery.cppbb1f240594d1524129ed34853f0c325b1a6a1a43 Mon Nov 25 22:28:01 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> file_systems: Invert query equation scoring values.

Previously, lower was better, and higher was worse. But really we want
the scores to be based primarily around the index sizes, which can
grow to be very large, so a maximum score is hard to determine.

Instead, start with the index size, and then divide to make it smaller
based on how "useful" the equation terms will be in searching it.

Improves the performance of queries like those in #19080; according
to humdinger's testing, the query with the most expensive term first
went from ~2.0s execution time down to ~0.7s, same as the query with
the least expensive term first.

Change-Id: Id71fa21c95cfe3d8d0019ff356bdf4935446411f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8593
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DQuery.cppbb1f240594d1524129ed34853f0c325b1a6a1a43 Mon Nov 25 22:28:01 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> file_systems: Invert query equation scoring values.

Previously, lower was better, and higher was worse. But really we want
the scores to be based primarily around the index sizes, which can
grow to be very large, so a maximum score is hard to determine.

Instead, start with the index size, and then divide to make it smaller
based on how "useful" the equation terms will be in searching it.

Improves the performance of queries like those in #19080; according
to humdinger's testing, the query with the most expensive term first
went from ~2.0s execution time down to ~0.7s, same as the query with
the least expensive term first.

Change-Id: Id71fa21c95cfe3d8d0019ff356bdf4935446411f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8593
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
/haiku/headers/private/file_systems/
H A DQueryParser.hbb1f240594d1524129ed34853f0c325b1a6a1a43 Mon Nov 25 22:28:01 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> file_systems: Invert query equation scoring values.

Previously, lower was better, and higher was worse. But really we want
the scores to be based primarily around the index sizes, which can
grow to be very large, so a maximum score is hard to determine.

Instead, start with the index size, and then divide to make it smaller
based on how "useful" the equation terms will be in searching it.

Improves the performance of queries like those in #19080; according
to humdinger's testing, the query with the most expensive term first
went from ~2.0s execution time down to ~0.7s, same as the query with
the least expensive term first.

Change-Id: Id71fa21c95cfe3d8d0019ff356bdf4935446411f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8593
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DQuery.cppbb1f240594d1524129ed34853f0c325b1a6a1a43 Mon Nov 25 22:28:01 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> file_systems: Invert query equation scoring values.

Previously, lower was better, and higher was worse. But really we want
the scores to be based primarily around the index sizes, which can
grow to be very large, so a maximum score is hard to determine.

Instead, start with the index size, and then divide to make it smaller
based on how "useful" the equation terms will be in searching it.

Improves the performance of queries like those in #19080; according
to humdinger's testing, the query with the most expensive term first
went from ~2.0s execution time down to ~0.7s, same as the query with
the least expensive term first.

Change-Id: Id71fa21c95cfe3d8d0019ff356bdf4935446411f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8593
Reviewed-by: waddlesplash <waddlesplash@gmail.com>