0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
vendor
/
afarkas
/
html5shiv
/
test
/
[
Home
]
File: perf.2.html
<!doctype html> <html> <head> <meta charset="utf-8"> <title>HTML5 Shiv</title> <link rel="stylesheet" href="style.css"> <script src="../src/html5shiv-printshiv.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js"></script> </head> <body> <div id="time"></div> <section>This sentence is in a green box <mark>with these words highlighted</mark>.</section> <script> function addDom(){ document.createElement('div'); document.createDocumentFragment(); } var time = document.getElementById('time'); var cur = new Date().getTime(); for(var i = 0; i < 10000; i++){ addDom(); } time.innerHTML = new Date().getTime() - cur; </script> <body> </html>