Archive of UserLand's first discussion group, started October 5, 1998.

navbar test version: speed improvements

Author:André Radke
Posted:6/7/1999; 2:43:54 PM
Topic:The Need For Speed
Msg #:7093 (In response to 7088)
Prev/Next:7092 / 7095

Today's test version of the navbar macro allows you to specify the navbar structure in XML instead of a custom outline format. Theoretically, this should improve rendering times noticeably since in Frontier 6 walking a compiled XML structure is much faster than walking an outline.

According to the tests I conducted so far, using XML to define the structure of the navbar reduces the time required to extract the navbar structure from the outline by 20 to 30 per cent.

However, extracting that information is only part of the task.

If you use ODB addresses in the outline, a much larger amount of time is actually spent calling html.getPath to compute the paths to the listed pages. This amount of time is the same no matter whether you use the old outline format or the new XML format.

This means that with the test version released today, the total speed improvement is probably less than 20 per cent for fairly standard websites.

There might be room for further improvements. The XML format supported by today's test version may still change. (Warning!)




This page was archived on 6/13/2001; 4:50:38 PM.

© Copyright 1998-2001 UserLand Software, Inc.