Strange performance behaviour related to <span>
"Sebastian Geerken" <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! I've stripped down one testcase to a sequence of simple HTML snippets. Try (for i in $(seq 1 20); do echo '<div style="float:left"><div></div><div style="display:table"><span></div></div>'; done) > tmp.html; dillo tmp.html and the development version of dillo hangs for a while. You may vary the number (second argument of seq). If you look at the file tmp.html, you'll notice that it is incorrect HTML. Interrestinly, leaving the <span> away still results in incorrect and deeply nested HTML, but dillo is much faster: (for i in $(seq 1 20); do echo '<div style="float:left"><div></div><div style="display:table"></div></div>'; done) > tmp.html; dillo tmp.html Dillo 3.0.5 is fast in both cases. Does anyone have an idea what effect the <span> has? I've already run gprof, but the result does not look very meaningful at a first glance. Sebastian _______________________________________________ Dillo-dev mailing list [email protected] http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXVJrVAAoJEAw7+YHB+ZL6jREH/jajWTLEgq4+Pf13CNDIJblU R5oh0hmB3Hs36uBFbEG3VHpXEIjsDmgAXJmFrPAnDSO/QfaxeqMoLz+bGr0jwRTO xcwSLuwHe4isf3xvHwNtz3HTkG09k1v+s3zvFMaaxCg9+7e66DwSC7Cj2MEdiSpk u9nV7chN9CV0Ar8mtEncHSGVGjgBCNuHhkb49WKl6f4t+yraGqKZbLmftK4zEAHu hGlDzRMQHwdNSCydgzi62NCaCRasrUupBg5/+srCkfB/fWDx55G7j8xu/Pn1CJab O2zG0ZYPxLdrqR1NZpOjxGEdf7L8xpNT0OwFtlZlv+5KFUlvabkzVi6jRSY5qbo= =DU1t -----END PGP SIGNATURE-----