Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: [Patch] Making city report list faster
Home

[Freeciv-Dev] Re: [Patch] Making city report list faster

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Making city report list faster
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Mon, 10 Jun 2002 16:00:41 +0200

On Mon, Jun 10, 2002 at 03:28:17PM +0200, Raimar Falke wrote:
> On Mon, Jun 10, 2002 at 02:05:54PM +0200, Christian Knoke wrote:
> > On Sun, Jun 09, 2002 at 09:47:53PM +0200, Raimar Falke wrote:
> > > 
> > > This patch should avoid make the city report dialog a bit faster.
> > 
> > I took some time measures, all handstopped.
> > 
> > Base: CVS 10 JUNE 2002 on 200 Mhz K6-2 w/ fast PCI graphic
> > 
> > Patch: disable_cityrep_update_till2
> > 
> > Game: 86 cities about size 8
> > 
> > Action: changing cities from within city report, all cities
> > 
> >                                CVS unpatched   disable2-patch
> > 
> > select all, Improvm to Unit:   30 sec.          8 sec.
> > change all, Improvm to Units:  23 sec.         15 sec.
> > select all, change CMA:        62 sec.         35 sec.
> 
> Can you please test the attached patch? It will also freeze the
> chatline.

                               CVS unpatched  disable2-patch disable3-patch

select all, Improvm to Unit:   30 sec.         8 sec.         2.5 sec.
change all, Improvm to Units:  23 sec.        15 sec.         2.0 sec.
select all, change CMA:        62 sec.        35 sec.        35   sec.

Note that the column headers flicker when changing CMA.

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


[Prev in Thread] Current Thread [Next in Thread]