<script src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.8.1/immutable.min.js"></script>
var list = Immutable.List();
for (var i = 0; i < 100; i++) {
list.push(i);
}
list.toArray();
list.toJS();
list.map(i => list.push(i))
--enable-precise-memory-info
flag.
Test case name | Result |
---|---|
toArray | |
toJS | |
map + push |
This benchmark does not have any results yet. Be the first one to run it!