Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 548901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:07:43+00:00 2026-05-13T11:07:43+00:00

I have been playing a web boardgame called Empires at GamesByEmail.com recently. It runs

  • 0

I have been playing a web boardgame called Empires at GamesByEmail.com recently. It runs fine under Windows, but is unusably slow on Linux.

I asked the developer why. He uses Linux, but he does not know. He suspects there are too many DOM elements, but he does not know what to do about fixing the problem.

It’s slow both in Firefox and Google Chrome, so it does not seem to be a browser issue.

I was testing my own site with Firebug and the Page Speed extension, so I thought I’d try it on GamesByEmail. The results are up at ShowSlow. It is actually quite fast from a conventional web development point of view – it’s just broken on Linux.

Please can all you skilled Linux devs check out the game and give us some clues?

http://gamesbyemail.com/Games/Play?475162291

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:07:44+00:00Added an answer on May 13, 2026 at 11:07 am

    @Hogan & @CasualCoder, there’s been some discussion in the back-channels along exactly the lines you mention: That performance suffers as the game progresses due to the large size images used for coloured overlays.
    The game uses:

    • 129 Highlight images (makes territory glow during mouseover)
    • 92 Coloured overlays (shows which player owns the territory)
    • 129 IMG tags for the Pulse effect (repeats of the 129 hilite images).

    =350 IMG tags.

    At the start of the game, the 92 Coloured overlays are 1×1 pixel blank images. The highlights are 1 image per territory, mostly transparent, matching the size of the board, but usually only 1 is visible.

    As the game progresses, the overlay images are replaced by images which show a single territory in red or blue etc. depending on which player owns it. These coloured overlays are the same size as the board, although mostly transparent. At the time we figured these images would render as fast as smaller cropped images (and this seemed to be the case in some of the older IE browsers in windows).

    But, based on some other test result feedback I’ve gotten there seems to be a lot of support that these 947×622 sized overlays are the problem; combined with whichever highlight images are also visible.

    This is a worst case of up to 92 visible IMGs for conquered territories, plus maybe a dozen or so IMGs being pulsed for current empire = 105 947×622(boardsize) stacked images. The concern is that this is causing the extreme slowdowns when moving the mouse around in Linux and Mac browsers.

    I edited my gimp scripts to instead generate the highlights and overlays as tightly cropped as possible, and output offset X and Y data to text file (which I then pasted into the code and use to position the new images relative to top-left corner of board).

    The new implementation seems to be performing better here in my dev environment (am hoping I’m not being too faked out by localhost here). As soon as I can get it online and tested some more I’ll update the comment here.

    Thanks again for the feedback guys, I’m hoping the new cropped graphics address the problem.

    Troy

    Edit: The latest cropped images code for Empires is now online. Just awaiting more general feedback, but so far it seems to feel much more responsive in both Windows FF and Ubuntu FF! Thanks again for the help everyone 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently I have been playing around with the HTTP Proxy in twisted. After much
I've been playing around a bit with the Tornado web server and have come
I am new to web design and development and have been playing around with
I have been playing around with the currency converter web service offered by http://webservicex.net
So I have been playing around with the facebook like button but I have
I have been playing around with a simple application for Windows Phone 7 using
I have been playing with this for a while, but the closest I have
I have been playing with HTML5 Offline web apps and the File API using
I am fairly new to web development & web services. I have been playing
I have been playing with python and different web frameworks. I started with Django,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.