You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/11/28 14:52:56 UTC
[1/2] git commit: updated refs/heads/4.6 to 48ade05
Repository: cloudstack
Updated Branches:
refs/heads/4.6 996059389 -> 48ade0537
CLOUDSTACK-9068: Listing Port Forwarding Rules take too much time to load
For setting the width of each data item for each row of Port Forwarding rules, it was processing all rules.
Basically for each data item, it was searching in all rules, which is un-necessary.
If there are N-Rules, It was processing N-times.
Now, it only processes one time by taking all N-rules at a time.
The previous solution was of O(NxN). Now its changed to O(N).
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/48df255f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/48df255f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/48df255f
Branch: refs/heads/4.6
Commit: 48df255f71e9938cc9e0879cbc60d9a0a778d95a
Parents: f6db0a2
Author: Nitin Kumar Maharana <ni...@gmail.com>
Authored: Tue Nov 17 23:02:55 2015 +0530
Committer: Nitin Kumar Maharana <ni...@gmail.com>
Committed: Tue Nov 17 23:02:55 2015 +0530
----------------------------------------------------------------------
ui/scripts/ui/widgets/multiEdit.js | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/48df255f/ui/scripts/ui/widgets/multiEdit.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/multiEdit.js b/ui/scripts/ui/widgets/multiEdit.js
index 02d231d..36ae27b 100755
--- a/ui/scripts/ui/widgets/multiEdit.js
+++ b/ui/scripts/ui/widgets/multiEdit.js
@@ -278,9 +278,6 @@
$td.addClass('blank');
}
- // Align width to main header
- _medit.refreshItemWidths($multi);
-
if (data._hideFields &&
$.inArray(fieldName, data._hideFields) > -1) {
$td.addClass('disabled');
[2/2] git commit: updated refs/heads/4.6 to 48ade05
Posted by re...@apache.org.
Merge pull request #1081 from nitin-maharana/CloudStack-Nitin15
CLOUDSTACK-9068: Listing Port Forwarding Rules take too much time to loadFor setting the width of each data item for each row of Port Forwarding rules, it was processing all rules.
Basically for each data item, it was searching in all rules, which is un-necessary.
If there are N-Rules, It was processing N-times.
Now, it only processes one time by taking all N-rules at a time.
The previous solution was of O(NxN). Now its changed to O(N).
* pr/1081:
CLOUDSTACK-9068: Listing Port Forwarding Rules take too much time to load
Signed-off-by: Remi Bergsma <gi...@remi.nl>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/48ade053
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/48ade053
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/48ade053
Branch: refs/heads/4.6
Commit: 48ade0537020a57da99e8b3aa69c96aae35533a8
Parents: 9960593 48df255
Author: Remi Bergsma <gi...@remi.nl>
Authored: Sat Nov 28 14:51:31 2015 +0100
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Sat Nov 28 14:51:31 2015 +0100
----------------------------------------------------------------------
ui/scripts/ui/widgets/multiEdit.js | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------