-
-
Save boris-spas/11de7f284f10ab4a77cebe3b85632901 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.ShowTiers=true primes.js | |
----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Sampling Histogram. 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. | |
T0: Percent of time spent in interpreter. | |
T1: Percent of time spent in code compiled by tier 1 compiler. | |
T2: Percent of time spent in code compiled by tier 2 compiler. | |
----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Thread[main,5,main] | |
Name || Total Time | T0 | T1 | T2 || Self Time | T0 | T1 | T2 || Location | |
----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
isPrime || 7280ms 93.3% | 0.7% | 0.5% | 98.8% || 7280ms 93.3% | 0.7% | 0.5% | 98.8% || primes.js~2-9:26-161 | |
accept || 500ms 6.4% | 2.0% | 0.0% | 98.0% || 500ms 6.4% | 2.0% | 0.0% | 98.0% || primes.js~35-46:596-902 | |
DivisibleByFilter || 10ms 0.1% | 100.0% | 0.0% | 0.0% || 10ms 0.1% | 100.0% | 0.0% | 0.0% || primes.js~29-47:471-904 | |
findPrime || 7260ms 93.1% | 0.6% | 1.1% | 98.3% || 10ms 0.1% | 0.0% | 0.0% | 100.0% || primes.js~11-20:164-329 | |
next || 510ms 6.5% | 5.9% | 3.9% | 90.2% || 0ms 0.0% | 0.0% | 0.0% | 0.0% || primes.js~55-61:1020-1220 | |
:program || 7800ms 100.0% | 100.0% | 0.0% | 0.0% || 0ms 0.0% | 0.0% | 0.0% | 0.0% || primes.js~1-73:0-1488 | |
---------------------------------------------------------------------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment