2
Queue Perfomance in JavaScript
source link: https://www.echojs.com/news/38860
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Queue Perfomance in JavaScripttracker1 11 days ago.
Code: https://github.com/tracker1/queue-testing This is in reference to another post: https://www.echojs.com/news/38820 I made a comment in error, but was curious how bad it could be, so wrote a couple different queue implementations and did a little performance testing. In case anyone else is interested in doing a little one-off performance testing in JS this should act as an example. I didn't take the time to get memory profiles, which would help for a couple other bits of information, but couldn't get memory usage working via perf, and snagging the free memory was very inconsistent to say the least. Just putting it out there, in case the example(s) help anyone.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK