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

  • SEARCH
  • Home
  • 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 6759593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:57:48+00:00 2026-05-26T13:57:48+00:00

I seem to be experiencing varying performance using an HTML5 canvas based on the

  • 0

I seem to be experiencing varying performance using an HTML5 canvas based on the memory size of the page… perhaps the number of images (off-screen canvases) that are loaded. How to I best locate the source of the performance problem? Or does anyone know if in fact there is a performance issue when there’s a lot of data loaded, even if it isn’t all being used at once?

Here’s an example of good performance. I have a relatively simple map. It’s between 700 and 800 KB. You can drag to scroll around this map relatively smoothly.

There’s another file (which you may not want to look at due to its large size).

It’s about 16 MB and contains dozens, maybe on the order of a hundred images/canvases. It draws a smaller view so it should go faster. But it doesn’t. Many of the maps lag quite severely compared to the simpler demo.

I could try to instrument the code to start timing things, but I have not done this in JavaScript before, and could use some help. If there are easier ways to locate the source of performance problems, I’d be interested.

  • 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-26T13:57:49+00:00Added an answer on May 26, 2026 at 1:57 pm

    In Google Chrome and Chromium, you can open the developer tools (tools->developer tools) and then click on “Profiles”. Press the circle at the bottom, let the canvas redraw and then click on the circle again. This gives you a profile that shows how much time was spent where.

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

Sidebar

Related Questions

I'm using Silverlight 4 and I'm experiencing the following problem: First off, the code:
I started using the new Authorization system for apps. I seem to be experiencing
I'm experiencing the same problem in this previous stackoverflow.com post . Specifically, I seem
I seem to experiencing a weird error where my request params seem to be
I'm experiencing a little bugger using the fancybox jquery plugin. I want to use
I'm fairly new to OpenGL, and I seem to be experiencing some difficulties. I've
I'm currently experiencing problems with static content - most noticeably jQuery datepicker images, but
I seem to be experiencing jaggies ( jagged pixelation, black in this case )
I seem to be experiencing a very unusual issue with the RichTextBox control, programming
I am creating a simple 2D OpenGL application but I seem to be experiencing

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.