Closed dead-claudia closed 7 years ago
@isiahmeadows yours has bug in not setting the label className - all the labels are always green. otherwise, nice. i think this benchmark needs to move to @localvoid's perf-monitor [1]. it has much better stability and lies less.
@leeoniya Thanks for the catch! I didn't even notice... 😟
Should be fixed now.
Compare yours with mine. The performance is more variable, but it minimizes DOM changes each refresh. In addition, it performs zero node lookups, caching literally every one it modifies, and it modifies the text value directly.
Yep, performance like a mad man. 😄