-
-
Save boris-spas/2325cf0b0af02ee2b08d142602bb25a3 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 primes-opt.js | |
---------------------------------------------------------------------------------------------- | |
Sampling Histogram. Recorded 40 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. | |
---------------------------------------------------------------------------------------------- | |
Thread[main,5,main] | |
Name || Total Time || Self Time || Location | |
---------------------------------------------------------------------------------------------- | |
accept || 340ms 85.0% || 340ms 85.0% || primes-opt.js~34-45:592-898 | |
isPrime || 60ms 15.0% || 60ms 15.0% || primes-opt.js~2-9:26-161 | |
next || 340ms 85.0% || 0ms 0.0% || primes-opt.js~54-60:1016-1216 | |
:program || 400ms 100.0% || 0ms 0.0% || primes-opt.js~1-74:0-1540 | |
findPrime || 30ms 7.5% || 0ms 0.0% || primes-opt.js~11-19:164-325 | |
---------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment