You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "James Wing (JIRA)" <ji...@apache.org> on 2017/01/20 22:04:26 UTC

[jira] [Comment Edited] (NIFI-3350) Reduce NiFi startup time by streamlining documentation extraction

    [ https://issues.apache.org/jira/browse/NIFI-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832475#comment-15832475 ] 

James Wing edited comment on NIFI-3350 at 1/20/17 10:03 PM:
------------------------------------------------------------

[~mosermw], how would you describe your test methodology for that speed improvement?  I have not experienced the same improvement yet.  I tried this out two ways:

1. Local Machine - where I clear out all of the repository and working directories prior to running NiFi before each trial.
2. Docker - with a Docker container that boots up a fresh OS with the NiFi source for each run, so no directories are preserved.

How does that compare with what you are doing?

!nifi-3350-doc-optimization-results-1.png!


was (Author: jameswing):
[~mosermw], how would you describe your test methodology for that speed improvement?  I have not experienced the same improvement yet.  I tried this out two ways:

1. Local Machine - where I clear out all of the repository and working directories prior to running NiFi before each trial.
1. Docker - with a Docker container that boots up a fresh OS with the NiFi source for each run, so no directories are preserved.

How does that compare with what you are doing?

!nifi-3350-doc-optimization-results-1.png!

> Reduce NiFi startup time by streamlining documentation extraction
> -----------------------------------------------------------------
>
>                 Key: NIFI-3350
>                 URL: https://issues.apache.org/jira/browse/NIFI-3350
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 0.7.1, 1.1.1
>            Reporter: Michael Moser
>            Assignee: Michael Moser
>         Attachments: nifi-3350-doc-optimization-results-1.png
>
>
> On NiFi startup, after seeing the new log message added in NIFI-3164, I noticed that generating documentation of all components takes a long time.  After reading the NarUnpacker code, it appears to scan every file in every jar for NiFi component documentation.  I think there are some optimizations we can do here  which should reduce NiFi startup time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)