mooeypoo / MediaWiki-ExtensionStatus

An extension to the Special:Version page that points out extensions that require upgrade
9 stars 4 forks source link

extensiv runtime #2

Open DaSchTour opened 11 years ago

DaSchTour commented 11 years ago

reading the gerrit page for every extension with every invocation of the page results in very long runtime for installations with many extensions (test with about 50 extensions does not work)

mooeypoo commented 11 years ago

This will definitely change. I am looking into a complete rehaul of this function; first, I don't need to call subpages, I can simply call the 'summary' page that has all the commit information -- but I am also considering using the glip library, which allows for Git functionality without having to have Git installed.

Thank you for the comment!

mooeypoo commented 11 years ago

The current commit should fix this (or at least help it a lot) -- I redid the entire process for reading the remote commits so it doesn't read multiple daughter-pages. It should significantly improve the speed (though I am still looking for alternatives)

The main problem is that I don't want to revert to using Git, because I want to make sure all users (newbies who download the extensions manually, etc) can benefit from this; for the moment, Gerrit-read is the best solution, but I am definitely considering other possibilities.

If you can help test this on your installation (since it has a lot of extensions) that will be awesome. Thanks again!

reedy commented 11 years ago

See also https://github.com/mooeypoo/MediaWiki-ExtensionStatus/issues/3

Expensive things are not so bad if you cache them! Of course, if you remove multiple unnecessary calls etc

Gerrit does have a ssh based CLI interface too