Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Contributor list on numenta.org takes forever to load #348

Closed
scottpurdy opened this issue Oct 29, 2013 · 5 comments
Closed

Contributor list on numenta.org takes forever to load #348

scottpurdy opened this issue Oct 29, 2013 · 5 comments
Assignees
Milestone

Comments

@scottpurdy
Copy link
Contributor

http://numenta.org/tools/contributors.html

The contributors.html page takes a long time to load the list of contributors. We should speed this up.

@ghost ghost assigned rhyolight and fergalbyrne Nov 8, 2013
@rhyolight
Copy link
Member

@fergalbyrne Are you planning on working on this during Sprint 13? If not, I'm going to assign to myself.

@fergalbyrne
Copy link
Member

Hi Matt,That sounds fine, I know it's been bugging you. I've been snowed under so can't guarantee I'd be able to do it. I'll check it over the weekend and see if I can find the problem, but you go ahead and assign to yourself.

Cheers, Fergal

Sent from Mailbox for iPhone

On Fri, Jan 3, 2014 at 10:49 PM, Matthew Taylor notifications@github.com
wrote:

@fergalbyrne Are you planning on working on this during Sprint 13? If not, I'm going to assign to myself.

Reply to this email directly or view it on GitHub:
#348 (comment)

@fergalbyrne
Copy link
Member

@rhyolight The problem is you're making the ajax call to contribStats every time the page loads. I'm getting a wait of 22sec to load http://issues.numenta.org:8081/contribStats (try loading that on its own in your browser)! You might try running that with cron once a day and saving the results on the server, then load the saved file in the contributor page.

@rhyolight
Copy link
Member

The tooling server is currently stateless, and is like to keep it that way. I'd rather break it up into two Ajax calls. The one that loads the list initially is very fast. Populating the commit stats from through the github API is what takes forever.

@fergalbyrne
Copy link
Member

OK @rhyolight if so, then you should render the list without the github info, then call the second phase on a timeout, having it "decorate" the table once it returns.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants