aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkpreview.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2016-06-17 11:18:51 -0400
committerJorge Arellano Cid <jcid@dillo.org>2016-06-17 11:18:51 -0400
commite5045651a0b695a72aeb2fb1696cedf0d9e57a2c (patch)
treea810c850bc3bcc295dedf9582cc54e235dff7dda /dw/fltkpreview.cc
parent9cb04eea2cbabdf1ee8b0a58eb3dc3edad311c56 (diff)
Fix for CPU-hog bugs with deeply nested elements.
This patch fixes a cpu-hog regression of GROWS2 with respect to dillo-3.0.5. The problem arises with some deeply nested elements. e.g.: (for i in $(seq 1 20); do echo '<div style="float:left"><div></div><div style="display:table"><span></div></div>'; done) > t0.html (for i in $(seq 1 20); do echo '<div style="float:left"><div></div><div style="display:table"></div>'; done) > t1.html For both, taking away the SPAN or float is much faster. Note: Some "unrelated" sited (i.e. not clearly hogging the CPU) have been measured to render near two times faster with the patch.
Diffstat (limited to 'dw/fltkpreview.cc')
0 files changed, 0 insertions, 0 deletions