DEV Community

Discussion on: Performance measurement of JavaScript solutions to common algorithmic questions (part 1)

Collapse
 
nestedsoftware profile image
Nested Software

Thanks for the interesting article! I am just wondering, for the second example, which code does the orange "fast" graph correspond to? Also, did you happen to graph the memory usage? I think that would be useful along with showing the speed.

Collapse
 
detunized profile image
Dmitry Yakimenko

The orange is my own "fast" version (the last code sample). I tried to measure memory, but I couldn't get anything reasonable from node. The numbers didn't seem to change. Maybe, I'll get to it again when I have time.

Collapse
 
nestedsoftware profile image
Nested Software

Ah - thanks! That makes sense.