travis-web/assets/scripts/spec/unit
Piotr Sarnacki 27fe85989a Make rendering long logs faster when rendering huge chunks at once
After change log rendering method, to append HTML elements instead of
rerendering the entire thing, the case of gradual rendering of a log
started to behave much better (because we just append new elements), but
the initial render took a bit longer, because of the fact that appending
large separate HTML elements to DOM at once is not a good idea.

In order to make the situation better I added simple optimization.
Elements are added to DocumentFragment node before inserting to DOM and
appended to DOM only after all elements are processed. That way, when
log needs to be rendered all at once, we will not do any DOM operations
until log is ready.
2012-12-05 21:29:41 +01:00
..
artifact_spec.coffee Optimize log viewer 2012-12-04 22:57:57 +01:00
build_spec.coffee Don't require some of the attributes for incomplete records 2012-10-31 16:10:42 +01:00
incomplete_spec.coffee Needed to move part of incomplete impl. to store 2012-10-31 00:46:13 +01:00
job_spec.coffee Don't require some of the attributes for incomplete records 2012-10-31 16:10:42 +01:00
log_spec.coffee Make rendering long logs faster when rendering huge chunks at once 2012-12-05 21:29:41 +01:00
pre_view_spec.coffee Make rendering long logs faster when rendering huge chunks at once 2012-12-05 21:29:41 +01:00