Browser API speed?
cjh9 opened this issue · 1 comments
cjh9 commented
What about using this method when in browser?
var wrapper = document.createElement('div');
wrapper.innerHTML = htmlString;
var children = wrapper.children
Is this much slower than these libraries?
AndreasMadsen commented
If you are in the browser. Sure do that. Actually, use a documentFragment
. This is benchmarks for node.js modules.