[Posting] Re: Graphs addition
From:streu
Thread:Graphs addition
Forum:Bugs
In reply to:Re: Graphs addition
Date:Fri, 2013-01-04 22:17 GMT

Also, it seems to have become rather slow. In the old graphs, switching from tab to tab was a breeze. Now it takes 4-5 seconds per tab.

I cannot reproduce that right now. I have just used a denial of service benchmark tool and get 0.2 to 0.4 seconds per tab.

This is a pretty small virtual server, and I don't know who my co-inhabitants of the hardware are and what they do. Maybe someone was crunching a few numbers when you tried it. I'm not entirely satisfied with the performance, too; on the other hand, a dozen users doesn't yet justify renting a "real" server. But that definitively is an option for the future.

I know you are generating them with each request. Is it not more convenient to generate them once after each host, and then just retrieve them after that?

It would in theory be possible to store things-that-have-already-been-generated (the game database has an area for that which is automatically reset each turn). If I'd generate them on each host you'd have to wait until next turn to see the new layout :-)

--Stefan