parent
9ed5fb6d2c
commit
811a7f2863
|
@ -131,7 +131,7 @@ index.html:
|
||||||
<script>
|
<script>
|
||||||
function measure() {
|
function measure() {
|
||||||
console.time('createElement*10000');
|
console.time('createElement*10000');
|
||||||
for (var i=0; i<100000; i++) {
|
for (var i=0; i<10000; i++) {
|
||||||
document.createElement('div');
|
document.createElement('div');
|
||||||
}
|
}
|
||||||
console.timeEnd('createElement*10000');
|
console.timeEnd('createElement*10000');
|
||||||
|
|
Loading…
Reference in New Issue