Skip to content

The goal of this project is to provide a bare-bones benchmark of two popular approaches for dynamically insertion of elements in the DOM vs the DocumentFragment API.

Notifications You must be signed in to change notification settings

rodrigoalvesvieira/DOM-Insertion-Benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

DOM-Insertion-Benchmarks

The goal of this project is to provide a bare-bones benchmark of two popular approaches for dynamically insertion of elements in the DOM vs the DocumentFragment API.

The test

Create one div for every one of the three approaches. Have an anchor (a) be inserted into that div 40k times and compare which one is faster.

Results

In a nutshell....

Results(Results for 40k elements.)

About

The goal of this project is to provide a bare-bones benchmark of two popular approaches for dynamically insertion of elements in the DOM vs the DocumentFragment API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages