Project

General

Profile

Actions

Bug #940

open

need large performance enhancements

Added by Matt Jones over 21 years ago. Updated over 19 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
01/10/2003
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
940

Description

Morpho is a dog. We need to fix that. There are several obvious places, and
probably som emore subtle ones. Whoever handles this bug should do some formal
application profiling, but here are some suggested places where improvements
must be made:

1) Opening a data package is v. slow. This is true whether local or network.
Note that metacat can open and display a package on the web in about 2 seconds,
while Morpho takes 20 seconds or more. We use a ton of XML parsers -- my guess
is we need to be much more careful about how things are opened, cache the
results, and do some downloading asynchronously based on a priority of what
needs to be seen first.

2) Searches are slow. Bug 307 proposes one mechanism to improve things which
should be pursued. Local searches could easily be improved by changing how docs
are stored on disk -- by moving revisions to a separate directory and only
searching current docs, we can speed things up a lot. Data should probably be
in yet another directory, because it is large, and because it causes an
exception to be thrown, which is slower than a normal method call.

3) Resultset display is slow. Metacat searches are returned as one large
document, rather than being displayed as they are produced. Could possibly
change metacat and morpho to immediately stream results rather than holding on
to them. Bug 458 describes this approach.

Actions

Also available in: Atom PDF