Skip to content

Instantly share code, notes, and snippets.

@donaldh
Created August 13, 2014 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donaldh/1f4449171070ce390e20 to your computer and use it in GitHub Desktop.
Save donaldh/1f4449171070ce390e20 to your computer and use it in GitHub Desktop.
Compiling CORE.setting with -Xint -Xprof
java -Xint -Xprof ... perl6 --setting=NULL --ll-exception --optimize=3 --target=jar --stagestats --output=CORE.setting.jar gen/jvm/CORE.setting
Stage start : 0.001
Stage parse : 693.906
Stage syntaxcheck: 0.001
Stage ast : 0.001
Stage optimize : 45.487
Stage jast : 290.698
Stage classfile : 45.951
Stage jar : 0.000
Flat profile of 1081.67 secs (90932 total ticks): main
Interpreted + native Method
35.7% 0 + 32453 java.lang.Class.isInstance
6.9% 6282 + 0 java.util.HashMap.inflateTable
5.8% 5297 + 0 org.perl6.nqp.sixmodel.reprs.VMArrayInstance.set_size_internal
4.1% 0 + 3696 java.lang.Object.clone
4.1% 3693 + 0 org.perl6.nqp.runtime.Ops.runNFA
3.3% 2992 + 0 org.perl6.nqp.runtime.CallFrame.<init>
2.4% 0 + 2212 java.lang.Object.getClass
1.6% 1498 + 0 java.util.HashMap.hash
1.6% 1466 + 0 org.perl6.nqp.runtime.IndyBootstrap.lexotic_o_noa
1.6% 1444 + 0 org.perl6.nqp.sixmodel.reprs.VMArrayInstance_i.set_size_internal
1.3% 1168 + 0 sun.invoke.util.ValueConversions.array
1.2% 1131 + 0 java.util.Arrays.copyOfRange
1.1% 1003 + 0 sun.invoke.util.ValueConversions.array
1.1% 958 + 0 org.perl6.nqp.runtime.CallSiteDescriptor.explodeFlattening
1.0% 922 + 0 java.util.HashMap.getEntry
0.8% 764 + 0 java.util.ArrayList.remove
0.8% 0 + 752 java.lang.System.arraycopy
0.7% 657 + 0 org.perl6.nqp.runtime.Ops.istrue
0.7% 596 + 0 java.lang.String.toCharArray
0.6% 587 + 0 org.perl6.nqp.runtime.IndyBootstrap.lexotic_i_noa
0.6% 577 + 0 java.lang.AbstractStringBuilder.<init>
0.5% 0 + 489 java.lang.Object.hashCode
0.5% 452 + 0 java.util.ArrayList.elementData
0.5% 446 + 0 java.util.ArrayList.add
0.5% 430 + 0 java.util.ArrayList.ensureExplicitCapacity
100.0% 49831 + 41101 Total interpreted (including elided)
indexOf called for 0 stables, 0 objects, 0 coderefs
Flat profile of 1081.67 secs (90932 total ticks): Timer-0
Thread-local ticks:
100.0% 90932 Blocked (of total)
Global summary of 1081.67 seconds:
100.0% 91217 Received ticks
0.3% 279 Received GC ticks
0.0% 6 Other VM operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment