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

Hadoop QA commented on AMBARI-12868:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12752210/AMBARI-12868.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/3637//console

This message is automatically generated.

> Improve calls to the localStorage
> ---------------------------------
>
>                 Key: AMBARI-12868
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12868
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.1
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-12868.patch
>
>
> methods like {{setDBProperty}} and {{getDBProperty}} work slow, if are used 
> several times one after another. Example:
> {code:javascript}
> var a = this.getDBProperty('a');
> var b = this.getDBProperty('b');
> var c = this.getDBProperty('c');
> {code}
> Each getDBProperty-call does {{localStorage.getObject}} which may be slow if 
> readable object is too big (it may take 100-150 ms). So, it's better to read 
> list of values with one call, like:
> {code:javascript}
> this.getDBProperties(['a', 'b', 'c']);
> {code}
> And same for {{setDBProperties}}.



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

Reply via email to