Details
Description
Recent work on performance improvements have shown memory consumption with large numbers of similar or identical Strings. In an effort to increase re-use of Strings, some of our JavaScript calls should be examined. For instance:
<form action="iceSubmit('j_id56');"
- can iceSubmit(this.id) or iceSubmit(form.id) be used?
- can ' be written as '
<a onclick="document.forms['iceForm']['iceForm:_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit( document.forms['iceForm'], this,event); return false;"
- can we still use iceSubmit(form, this, event) but search for a parent of "this" to find "form"? (Because <a> is not a form control.) iceSubmit could detect that the input control was a commandLink and set the hidden field directly.
onblur="setFocus('');"
- can this be replaced with "setFocus();"
iceSubmit(form,this,event);return false;
- can this be replaced with iceSubmit(form,this,event); or iceSubmitF(form,this,event);
Issue Links
- blocks
-
ICE-3083 Memory performance/efficiency
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17374 | Wed Aug 20 14:39:59 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17375 | Wed Aug 20 14:40:23 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17448 | Tue Aug 26 15:54:26 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17449 | Tue Aug 26 16:02:11 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() ![]() ![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 1.7.2 [ 10130 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17470 | Fri Aug 29 14:01:53 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() ![]() ![]() ![]() |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17471 | Fri Aug 29 14:04:48 MDT 2008 | mircea.toma | |
Files Changed | ||||
![]() ![]() ![]() |
Fix Version/s | 1.7.2RC1 [ 10140 ] | |
Fix Version/s | 1.7.2 [ 10130 ] |
Fix Version/s | 1.7.2 [ 10130 ] | |
Fix Version/s | 1.7.2RC1 [ 10140 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mircea Toma [ mircea.toma ] |
Please comment on the opportunities for re-use of JavaScript expressions. If Strings can be re-used, they can be more effectively pooled on the server.