A facility for improving for performance of an initial user interface for
a client-server application is described. The facility selects a proper
subset of the user interface elements of the initial user interface. For
each selected element, the facility generates a more efficient
replacement for the selected element. The facility then generates a
revised user interface that includes the unselected elements of the
initial user interface, together with the generated replacements for the
selected elements of the initial user interface.