Mailinglist Archive: opensuse-factory (506 mails)

< Previous Next >
Re: [opensuse-factory] File list for Yast YOU
  • From: Andras Mantia <amantia@xxxxxxx>
  • Date: Fri, 1 Dec 2006 11:39:35 +0200
  • Message-id: <200612011139.36907.amantia@xxxxxxx>
On Friday 01 December 2006 09:46, Pascal Bleser wrote:
> Let's have a look at some numbers ;)

[...]

From your numbers it is pretty clear that there are some straightforward
optimization ways:
- use bzip2 for repodata: downloading 2 MB of extra data is still slower
than uncompressing a file with bzip2 compared to gzip
- use compression for yast repositories
- suggest using yast repositories for SUSE packages

I know this is not that easy to do for repo-md, if other distributions
should agree with it as well, but for yast repositories it is something
that should be considered right from the start for 10.3.

About XML parsing performance, here are some numbers (AMD64, 3200+):
- parsing a 17MB (!) HTML file in Quanta Plus is 19seconds. Own parser,
but I'm sure it is more complex and does much more things than an XML
parser needed for YaST.
- reading 2MB of XML file from several hunderds of files using Qt's DOM
functions takes 328ms. So let's say 16MB would take 2 seconds. I did
not messure this in YaST, but if it's slower, there is a big problem as
Qt's DOM implementation is not considered to be fast. ;-)

Andras

--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
< Previous Next >