Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] timing compiles

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Woolley <seth AT tautology.org>
  • To: Alan Ross <alan AT rebeluk.com>
  • Cc: Source Mage - Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] timing compiles
  • Date: Fri, 7 Feb 2003 22:54:01 -0800 (PST)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

check the date on the compile log on the first line
bzcat /var/log/sorcery/compile/whatever | head -1
check the date on the file itself
ls -l /var/log/sorcery/compile/whatever

Take the difference of the two. Make a patch for gaze to do it and submit
it to bugzilla. Or just use it internally and publish it to the email
list.


That should be fairly accurate, down to the minute, about.
Probably some small patch would get it down to the second.
Seth

On Fri, 7 Feb 2003, Alan Ross wrote:

> Perhaps a better solution would be to provide in the grimoire (by some for
> of automation) the time taken to compile relative to a spell in the base
> system. This would perhaps be more informative as I would give an indication
> of compile time for a spell that had not been previously cast.
>
> --alan
>
> ----- Original Message -----
> From: "Jack Bertram" <jack AT jbertram.net>
> To: "Source Mage - Discuss" <sm-discuss AT lists.ibiblio.org>
> Sent: Friday, February 07, 2003 1:30 PM
> Subject: [SM-Discuss] timing compiles
>
>
> > It's just occurred to me that it would be quite interesting to have an
> > idea (before casting a spell) of how long it's going to take to cast.
> > Now, it seems unrealistic to maintain this centrally since everyone
> > compiles on different machines. However, there's no reason why sorcery
> > couldn't time each compile on a local machine and store the elapsed time
> > in a database. Then I'd have a good idea of how long it took to upgrade
> > a spell:
> >
> > Something like:
> >
> > $ gaze time glibc
> >
> > glibc compile time:
> > version time (s)
> > ----------------
> > 2.2.6 89241
> > 2.3.1 91324
> >
> > Then I could expect a new compile to take just over a day.
> >
> > Thoughts?
> >
> > jack
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> >
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

- --
Seth Alan Woolley <seth at tautology.org>, SPAM/UCE is unauthorized
Key id 7BEACC7D = 2978 0BD1 BA48 B671 C1EB 93F7 EDF4 3CDF 7BEA CC7D
Full Key at seth.tautology.org, see www.gnupg.org www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+RKmL7fQ833vqzH0RAlbSAJkBwCitPcdG9TkwT1IqgaBjU/nWhACgxH0i
aQujZ4iVgi14Nc2V7l//ieo=
=Muqr
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.24.

Top of Page