No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.eslintrc
.gitignore
.node-version
README.md
package-lock.json
package.json
postcss.config.js
webpack.config.babel.js

README.md

document fragment rendering

$ yarn
$ yarn start

mode: 0

create 2000 row Table Ave Time: 180-240ms (first loading)

  • use document.createDocumentFragment()
  • use document.cloneNode()
  • not use document.querySelectorAll()

mode: 1 (slowly)

create 2000 row Table Ave Time: 1700-2000ms (first loading)

  • not use document.createDocumentFragment()
  • not use document.cloneNode()
  • use document.querySelectorAll()