TODO - jscancer - Javascript crap (relatively small)
(HTM) git clone git://git.codemadness.org/jscancer
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
TODO (1303B)
---
1 - non-lazyload: test performance of filter and sort.
2 - AJAX example:
3 - allow simple load from AJAX, make example-ajax.html.
4 - ajax example use createTextNode (much faster than setting textContent).
5 - in lazyload render:
6 - scrolling is broken at the end?
7 ? use documentfragment to insert rows, should not matter much performance-wise since its only a few rows?
8 - use childNodes, not children? NOTE: may contain textNode?
9 - lazyload: render function: set height each time only when nrows changed, it will cause a reflow?
10 - lazyload: render function: nrows can be < 0 if data.length = 0 ? might not be an issue.
11
12 ? fix margin-right offset for scrollbar when table does not fit on screen (window resize).
13 - calculate margin-right in javascript (in case of weird-sized scrollbars).
14 ? in IE atleast: table can be sorted before the table is fully parsed which results
15 in weirdly sorted data, not sure.
16
17 - datatable_data_parse: use childNodes? (faster).
18
19 ? optimize table rendering, row creation etc somehow.
20 - update classlist separately (sort-asc, sort-desc, sort-disabled), prevent recalculating styles.
21 - https://jakearchibald.com/2013/solving-rendering-perf-puzzles/ and about:tracing
22
23 - benchmark load time, parse time, initialization, sort and filter performance
24 separately in some way.