Hi, I've been experimenting with NodeJS and a lot of libraries built around JavaScript evaluation, performance like time taken for scripts. I just can't seem to find anything that goes in dept to the point of CPU Cycles, and Allocation in RAM. I would like to be able to hand a code block to an analyzer to run it and measure the exact numbers. If I could control that execution too, that would be incredible. Like if I gave it a for loop, every cycle would be yieldable in the main program, so I could find out what changed from one iteration of the code to the next.Some ideas I had on this were making byte emulated javascript interpreters, modifying them to yield between each execution. I'm not sure how I should approach this, and I can't find any libraries for this kind of thing at all.I'm also curious what any of you have worked on, even remotely similar to this. Tell me your story, what have you learned, and what would you like to learn?
Submitted July 09, 2018 at 02:46AM by natesovenator
No comments:
Post a Comment