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 7168049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:42:02+00:00 2026-05-28T14:42:02+00:00

I have a framework that generates the DOM of an app completely using document.createElement

  • 0

I have a framework that generates the DOM of an app completely using document.createElement and document.appendChild. Now that the App gets bigger and bigger, I noticed that Chrome needs significantly longer to build the DOM as other Browsers.

So, I created the following performance test:

window.onload = function(){
    var now = new Date().getTime();
    for(var i = 0; i < 10000; i++){
        document.body.appendChild(document.createElement("div"));
    }
    setTimeout(function(){
        console.log(new Date().getTime() - now);
    },0);

}

The results of this test are very interesting:

  • Chrome 16: 700+
  • Firefox 9: 560
  • IE 9: 210
  • Opera 11.60: 51

Chrome took more than 14-times more time to complete than Opera.
And that´s not just a meaningless benchmark! I really can feel this difference in my app.

Is it normal that Chrome is that slow at DOM-operations?
Is there a way to speed it up?

Thanks!

  • 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-28T14:42:03+00:00Added an answer on May 28, 2026 at 2:42 pm

    I think this is normal… .

    The same goes for HTML Objects manipulation (width & height & opacity), especially if you’re using CSS3.

    I programmed a Slideshow (not using jQuery, i hate it) which is working smoothly… in FF, IE, Opera, Safari,… but not Chomre. In Chrome it is unbelievable slow (only in newer Chrome Versions, in old like v12 it was faster).

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

Sidebar

Related Questions

I have an XML document that I generate from an Entity Framework object. The
I have a Compact Framework 2.0 app that consume a WCF service. The data
I have a framework that generates the XML, based on the HTTP request and
I have a framework that loads a lot of child collections from a non-database
I have developed a framework that is used by several teams in our organisation.
We have a pluggable framework that returns ActionResult objects that render things to a
In the Windows applications I work on, we have a custom framework that sits
We have a web application framework that we want to use with Subversion. We've
I have an application on the Compact Framework that has some large embedded resources
I am currently working with some users that do not have the .NET Framework

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.