Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0, EE-4.1.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:jsf2 virtualVM, Google Chrome profiler
-
Assignee Priority:P2
Description
both checkboxButton and radioButton have 4 script tags.
one for init, one for renderRest and the same script for onfocus and onhover.
Decided to look at this in a vm profiler (used virtualVM) and the js profiler (used Google Chrome). Attaching the screenshots for these.
Currently showcase has buttonGroup examples which show the buttons in columns of a dataTable as well as in rows for ui:repeat.
these examples (now) show the ability to change the number of rows. Initially the number of rows is set to 10, but you can increase to 100, 500 and 1000. These screenshots show the results of 1000 for virtual-vm and the js console shows the example for by row (using ui:repeat) as it doesn't use the dataTable which may also show some performance lag.
for example, the by row example is at showcase (myIP):-
http://10.18.39.137:8080/showcase/showcase.jsf?grp=ace:buttonGroup&exp=Group%20In%20Row
ALSO...if js is the issue--js could only toggle off the previously selected button instead of all the other buttons... (500 rows in dataTable takes about 5 seconds but only has 2 radioButtons and 2 checkboxButtons per row). 500 rows in row example takes about 8seconds but has 3 radioButtons and 3 checkboxButtons per row.
one for init, one for renderRest and the same script for onfocus and onhover.
Decided to look at this in a vm profiler (used virtualVM) and the js profiler (used Google Chrome). Attaching the screenshots for these.
Currently showcase has buttonGroup examples which show the buttons in columns of a dataTable as well as in rows for ui:repeat.
these examples (now) show the ability to change the number of rows. Initially the number of rows is set to 10, but you can increase to 100, 500 and 1000. These screenshots show the results of 1000 for virtual-vm and the js console shows the example for by row (using ui:repeat) as it doesn't use the dataTable which may also show some performance lag.
for example, the by row example is at showcase (myIP):-
http://10.18.39.137:8080/showcase/showcase.jsf?grp=ace:buttonGroup&exp=Group%20In%20Row
ALSO...if js is the issue--js could only toggle off the previously selected button instead of all the other buttons... (500 rows in dataTable takes about 5 seconds but only has 2 radioButtons and 2 checkboxButtons per row). 500 rows in row example takes about 8seconds but has 3 radioButtons and 3 checkboxButtons per row.
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | buttonGroupByRow 1000 rows.png [ 22334 ] | |
Attachment | Screen Shot showcase buttonGroup 1000 rows CPU Column.png [ 22335 ] |
Attachment | profiling js.png [ 22336 ] |
Assignee | Mircea Toma [ mircea.toma ] |
Description |
both checkboxButton and radioButton have 4 script tags.
one for init, one for renderRest and the same script for onfocus and onhover. Decided to look at this in a vm profiler (used virtualVM) and the js profiler (used Google Chrome). Attaching the screenshots for these. Currently showcase has buttonGroup examples which show the buttons in columns of a dataTable as well as in rows for ui:repeat. these examples (now) show the ability to change the number of rows. Initially the number of rows is set to 10, but you can increase to 100, 500 and 1000. These screenshots show the results of 1000 for virtual-vm and the js console shows the example for by row (using ui:repeat) as it doesn't use the dataTable which may also show some performance lag. for example, the by row example is at showcase (myIP):- http://10.18.39.137:8080/showcase/showcase.jsf?grp=ace:buttonGroup&exp=Group%20In%20Row |
both checkboxButton and radioButton have 4 script tags.
one for init, one for renderRest and the same script for onfocus and onhover. Decided to look at this in a vm profiler (used virtualVM) and the js profiler (used Google Chrome). Attaching the screenshots for these. Currently showcase has buttonGroup examples which show the buttons in columns of a dataTable as well as in rows for ui:repeat. these examples (now) show the ability to change the number of rows. Initially the number of rows is set to 10, but you can increase to 100, 500 and 1000. These screenshots show the results of 1000 for virtual-vm and the js console shows the example for by row (using ui:repeat) as it doesn't use the dataTable which may also show some performance lag. for example, the by row example is at showcase (myIP):- http://10.18.39.137:8080/showcase/showcase.jsf?grp=ace:buttonGroup&exp=Group%20In%20Row ALSO...if js is the issue--js could only toggle off the previously selected button instead of all the other buttons... (500 rows in dataTable takes about 5 seconds but only has 2 radioButtons and 2 checkboxButtons per row). 500 rows in row example takes about 8seconds but has 3 radioButtons and 3 checkboxButtons per row. |
Fix Version/s | 4.2 [ 12870 ] |
Assignee Priority | P2 [ 10011 ] |
Summary | analysis of radioButton and checkboxButton in dataTable and ui:repeat | Performance analysis of radioButton and checkboxButton in dataTable and ui:repeat |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49395 | Mon Oct 24 14:50:34 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() ![]() ![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49402 | Mon Oct 24 16:17:08 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49403 | Tue Oct 25 05:16:54 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() ![]() |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49430 | Mon Oct 31 15:05:13 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49431 | Mon Oct 31 15:06:17 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49432 | Mon Oct 31 15:18:49 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49433 | Mon Oct 31 15:21:42 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49434 | Mon Oct 31 15:40:31 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Attachment | non-optimized.png [ 22363 ] | |
Attachment | optimized.png [ 22364 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49448 | Thu Nov 03 06:57:50 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49449 | Thu Nov 03 08:15:42 MDT 2016 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #49633 | Tue Dec 06 17:07:16 MST 2016 | art.zambrano | |
Files Changed | ||||
![]() |
Fix Version/s | 4.2.BETA [ 13091 ] |
Affects Version/s | EE-4.1.0.GA [ 12171 ] | |
Affects Version/s | EE-4.1.1.BETA [ 13079 ] |
Security | Private [ 10001 ] |
Affects Version/s | 4.0 [ 11382 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
screen shots for showcase examples with 1000 rows.