← Back to team overview

launchpad-dev team mailing list archive

Re: AJAX log

 

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

On 04/06/2011 08:18 AM, Huw Wilkins wrote:
> Hello Launchpad,
> 
> As part of the work to expose areas where Launchpad is slow I recently
> added a log of AJAX events and their times. You can see this log next to
> the logout button, titled 'AJAX Log'.
> 
> If you open the log you'll get a summary of each event; the time taken,
> the status code and a link to OOPS if there was one. I plan to add the
> URL of the AJAX event once that information becomes available.

Who actually sees this? Everyone logged in, members of the Launchpad
team? (I do see it, but both of those apply to me)

> 
> This log automatically captures AJAX events so you do not need to do
> anything to make it work with your existing or future AJAX code.
> 
> The aim is to have all AJAX events take a maximum time of one second. At
> the moment quite a few of our AJAX requests are already under this
> threshold, but our roundtrips and larger queries can sometimes be
> significantly higher.
> 
> The log is there to help us notice when our requests are slow. So keep
> an eye out as you're using Launchpad and get to fixing!
> 
> Cheers,
> 
> Huw

I can go to that dropdown and see a red:
  Time: 1.10 seconds
   ID: 0, status: 200 (Ok)

I don't see a way to do anything about it, or any links to more details
about what AJAX query is ID: 0.

So while it seems like a start to something useful, it doesn't yet
actually convey anything actionable. (I don't think I could submit a bug
report that you could do something with.)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2cP38ACgkQJdeBCYSNAAMzzwCdFAxNW7Qn1a48d+8LE9CwDck/
cYgAnieVSGoWQr4fMYdcqGYN5MnshTK9
=Gbwp
-----END PGP SIGNATURE-----



Follow ups

References