-
-
Save boris-spas/7723aa588ed7d50beb47d41a41274dd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$GRAALVM_HOME/bin/js --cpusampler --cpusampler.Output=calltree primes.js | |
---------------------------------------------------------------------------------------------- | |
Sampling Call Tree. Recorded 780 samples with period 10ms. Missed 0 samples. | |
Self Time: Time spent on the top of the stack. | |
Total Time: Time spent somewhere on the stack. | |
---------------------------------------------------------------------------------------------- | |
Name || Total Time || Self Time || Location | |
---------------------------------------------------------------------------------------------- | |
:program || 7800ms 100.0% || 0ms 0.0% || primes.js~1-73:0-1488 | |
findPrime || 7440ms 95.4% || 40ms 0.5% || primes.js~11-20:164-329 | |
isPrime || 7400ms 94.9% || 7400ms 94.9% || primes.js~2-9:26-161 | |
next || 320ms 4.1% || 0ms 0.0% || primes.js~55-61:1020-1220 | |
accept || 320ms 4.1% || 320ms 4.1% || primes.js~35-46:596-902 | |
isPrime || 40ms 0.5% || 40ms 0.5% || primes.js~2-9:26-161 | |
---------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment