Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106861 - webapp-config is very very slow
Summary: webapp-config is very very slow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 23:43 UTC by Ryan Olf
Modified: 2005-11-21 17:52 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Olf 2005-09-21 23:43:02 UTC
webapp-config 1.11 takes a long long time to install/upgrade gallery-2.0 (and  
maybe other things).  Creating directories takes around 5 minutes and linking  
files takes on the order of an hour!  This has to be a bug of some sort.  
  
I'm using gentoo-sources 2.6.7 on an AMD 900MHz.  Old architecture, I  
know, but still!  

Reproducible: Always
Steps to Reproduce:
1. emerge gallery  
2. use webapp-config to install 
3. wait 
  
Actual Results:  
A loooooooooooooooooooong wait 

Expected Results:  
I short wait
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 23:47:54 UTC
This is really CANTFIX until webapp-config is rewritten from scratch...
Comment 2 Tobias Sager 2005-10-14 03:44:38 UTC
Will that rewrite happen? What are the plans for it? Into perl, python or such?
Need help?
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2005-10-24 15:22:05 UTC
The ebuild for the python version is available at
http://www.gunnarwrobel.de/gentoo/net-www.html#webapp-config

I am already using the new version but it might still have some bugs. Feel free
to test it, I am happy about any bug reports. 

Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2005-10-31 08:25:57 UTC
As Gunnar said, we're working on it. Here's a preview of what's to come:

$ time emerge =gallery-2.0.1
<snip>
real    3m39.900s
user    1m34.233
sys     0m27.388s

This is on a P3 733MHz, which previously took >1 hr to install gallery.

Stay tuned.
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2005-11-20 10:12:51 UTC
It's not a bug - it's a consequence of having written the first version in bash.

I've added webapp-config v1.50 to Portage.  It is a rewrite in Python, and
performs much better as a result.

Best regards,
Stu
Comment 6 Ryan Olf 2005-11-21 17:52:09 UTC
Excellent work. v1.50 works one million times faster.  Less than a second, literally.