Uploaded image for project: 'Stanbol'
  1. Stanbol
  2. STANBOL-1267

Add Loggings for execution times for enhancement requests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.12.0
    • Component/s: Enhancer
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              rwesten Rupert Westenthaler
              Reporter:
              rwesten Rupert Westenthaler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: