Rupert Westenthaler created STANBOL-1267:
--------------------------------------------
Summary: Add Loggings for execution times for enhancement requests
Key: STANBOL-1267
URL: https://issues.apache.org/jira/browse/STANBOL-1267
Project: Stanbol
Issue Type: Improvement
Components: Enhancer
Affects Versions: 0.12.0
Reporter: Rupert Westenthaler
Assignee: Rupert Westenthaler
Priority: Minor
This will provide INFO level logging of the execution times for Enhancement
requests. The logs will use a Logger named after EnhancementJobManager
interface so that user can configure the level independently of other -
implementation specific logs.
Here is an desired output:
Executed Chain {chain-name} in {duration}ms
> ContentItem: {content-item-uri}
- {engine-name-1} in {duration}ms ({duration-percentage}%)
- {engine-name-2} in {duration}ms ({duration-percentage}%)
...
- {engine-name-n} in {duration}ms ({duration-percentage}%)
> concurrency: {concurrency} ({concurrency-percentage}%)
where
concurrency := sum(engine-duration)/chain-duration
concurrency-percentage := (concurrency - 1)*100
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)