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: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jun 2002 16:31:22 +0200

On Mon, Jun 10, 2002 at 04:00:41PM +0200, Christian Knoke wrote:
> 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.

No also the CMA doesn't cause any updating. The remaining time for the
CMA are client side computation (thinking) and the application at the
server.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Sit, disk, sit. Good boy. Now spin up. Very good. Here's a netscape
  cookie for you. Fetch me some data. Come on, you can do it. No, not that
  data. Bad disk. Bad." 
    -- Calle Dybedahl, alt.sysadmin.recovery

Attachment: disable_cityrep_update_till4.diff
Description: Text document


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