Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!doctype html>
<script src=bliss.js></script>
<script>
onload = function() {
var start = performance.now();
var rows = [];
for (var i = 0; i <= 50000; ++i) {
rows.push($.create({
tag: 'tr',
contents: [
{
tag: 'td',
textContent: i
},
{
tag: 'td',
textContent: 'Hello world'
}
]
}));
}
var table = $.create({
tag: 'table',
hidden: true,
contents: {
tag: 'tbody',
contents: rows
}
});
document.body.appendChild(table);
document.body.appendChild($.create(String(Math.round(performance.now() - start))));
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.