issue_156: Performance Log Metrics and more #157
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change adds performance timing logging of array content
and label validation. The logging will be enabled at verbosity
level 1 (INFO) or below (e.g. DEBUG).
Also, the hooks for experimentation of multi-threading has
been setup at the LabelInFolderRule level. In other words a
thread pool exists, that can run targets within a folder
concurrently. However, due to thread safety issues with the
current code and libraries, the thread level is currently set
to one (no multi-threading). In the future, this can be
experimented with. A few synchronized locks have been placed
throughout the code, where multi-threading proved problematic
during experimentation. More may be needed in the future.
When the thread level is set to greater than one, the
performance does improve, but there are failures sometimes,
due to thread saftety issues. If this can be solved, real
performance gains can be realized.
Some basic GNU parallel scripts have been added in the
src/test directory, as well, for future experimentation into
running validate concurrently at the JVM level.
Also, some library versions have been upgraded in the pom.xml.
Resolves #156