[
https://issues.apache.org/jira/browse/TOMAHAWK-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Catalin Kormos resolved TOMAHAWK-855.
-------------------------------------
Resolution: Fixed
Please do some testing on your application and let me know if works now as
expected.
Thanks,
Catalin
> dataTable sortable too slow
> ---------------------------
>
> Key: TOMAHAWK-855
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-855
> Project: MyFaces Tomahawk
> Issue Type: Improvement
> Components: Extended Datatable
> Affects Versions: 1.1.3, 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT
> Reporter: Vitaly Smyk
> Assigned To: Catalin Kormos
>
> when i use sortable column and many records any sort has too many time and
> CPU to 100%
> after code review i found where is problem:
> in class SortableModel subclass private final class Comp
> medhod compare too slow becouse it invoke:
> getPropertyValue(_prop);
> i has change it to:
> PropertyUtils.getProperty(_model.getRowData(),_prop);
> and perfomanse increase !!!10 times!!!
> my impovements request:
> or change code or add functionality to setup Comparator themself (better
> choise)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira