Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
Update the TextSearchRequestor's API to support parallelization
and fix existing subclasses and tests.
Also add an optimization to process all files in a single job if
the maximum number of threads for the job group is 1, which can
occur on single processor machines or if the TextSearchRequestor
passed to the TextSearchEngine.search() does not support
parallelism. This removes some unnecessary job scheduling.
Change-Id: I5baaf1dc3910a527338dc12e7fa4575269470833
Signed-off-by: Terry Parker <tparker@google.com>
|
|
Execute text search processing in parallel, yielding a 3x-4x speedup.
Previously all files in a text search were processed serially.
This change moves the work into Jobs and uses a JobGroup to
parallelize the processing. The following additional changes
were needed:
* Some “global” state (e.g., FileCharSequenceProvider and
ReusableMatchAccess) that were previously accessed as class member
variables were changed to per-file or per-job instances.
* Access to FileSearchQuery.TextSearchResultCollector needed to be
synchronized. Its intermediate cache, which was previously an
ArrayList and assumed the last entry held the previous match from the
current file, was changed to a Map of IFile->ArrayList so that each
file’s results are segregated.
Converted spaces to tabs in the search() method to improve the Gerrit
code review experience.
Added minimal performance logging.
Change-Id: I3e36da89cd891acabb902e28415d8ddecea4df60
Signed-off-by: Terry Parker <tparker@google.com>
|
|
|
|
is plugin.xml
|
|
|
|
Update parent versions from 4.4.0 to 4.5.0
Signed-off-by: Paul Webster <pwebster@ca.ibm.com>
|
|
|
|
PageBookView.showPageRec)
|
|
search
|
|
|
|
|
|
- excluded addition of forceQualifierUpdate.txt
|
|
true if regex is true
|
|
is true
|
|
|
|
current selection to detect the page
- setting must only be saved when user closes Customize dialog with OK
|
|
using the current selection to detect the page
|
|
current selection to detect the page
|
|
|
|
|
|
|
|
|
|
|
|
for eclipse.platform.text
|
|
between doted I and dotless I in Turkish.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
one additional Search view
|
|
|
|
|
|
|
|
|
|
|
|
|
|
link to the same OS resource
|
|
|
|
|
|
physical resource once
|
|
|
|
|