[
https://issues.apache.org/jira/browse/NIFI-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14639843#comment-14639843
]
ASF GitHub Bot commented on NIFI-784:
-------------------------------------
GitHub user brianghig opened a pull request:
https://github.com/apache/nifi/pull/71
[NIFI-784]
Moving dynamic propertyMap to onScheduled method and updating logger
statements to use lazy evaluation with String formatter
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brianghig/nifi NIFI-784
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/71.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #71
----
commit e5444aa3cf6ca941827a3110195424c73cf445f4
Author: Brian Ghigiarelli <[email protected]>
Date: 2015-06-22T13:21:58Z
Merge pull request #5 from apache/develop
Merging latest Apache NiFi develop branch
commit 97f33d5c51dfd5178c10ad88fb3701f363ae39a4
Author: Brian Ghigiarelli <[email protected]>
Date: 2015-06-26T15:21:49Z
Merge remote-tracking branch 'apache/develop' into develop
commit a1af29eca06fa56903ca2fa28945a0f922d6e8e9
Author: Brian Ghigiarelli <[email protected]>
Date: 2015-07-24T01:43:06Z
Merge pull request #6 from apache/develop
Merging in latest Apache NiFi develop branch
commit 4a43e81343b4eaf967a7e5a5417fd7bb35226503
Author: Brian Ghigiarelli <[email protected]>
Date: 2015-07-24T02:52:35Z
[NIFI-784] Moving dynamic propertyMap to onScheduled method and updating
logger statements to use lazy evaluation with String formatter
----
> Improve performance of RouteOnAttribute
> ---------------------------------------
>
> Key: NIFI-784
> URL: https://issues.apache.org/jira/browse/NIFI-784
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Brian Ghigiarelli
> Labels: beginner, newbie
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> RouteOnAttribute has a couple inefficiencies:
> * Recalculating the dynamic properties into a HashMap for each message in
> onTrigger when this property map can be pre-computed when the processor is
> scheduled
> * Logger statements are concatenating strings instead of using lazy
> evaluation with a string formatter
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)