Created
November 8, 2011 19:45
-
-
Save diakopter/1348913 to your computer and use it in GitHub Desktop.
example profiler output
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
c:\Users\mwilson\src\6model\lua\compiler>luajit profiler.lua y.lua | |
RakudoRuntime.lua:402:finally 15792 | |
returns.finally = function(catch, _fn) | |
RakudoRuntime.lua:352:try 10528 | |
function try(fn, ...) | |
RakudoRuntime.lua:362 10528 | |
local ok = {pcall(function() return fn(unpack(real_args)) end)} | |
RakudoRuntime.lua:338:getlocals 10528 | |
local getlocals = function(func) | |
RakudoRuntime.lua:324:resolve 10528 | |
E.resolve = function(exception) | |
RakudoRuntime.lua:376:except 10528 | |
returns.except = function(catch, _fn) | |
RakudoRuntime.lua:2598 9859 | |
function Ops.get_lex(TC, Name) | |
RakudoRuntime.lua:236:create 9164 | |
function List.create (count) | |
RakudoRuntime.lua:1428 6516 | |
function Lexpad.new (SlotNames) | |
RakudoRuntime.lua:1929 6176 | |
function Ops.unbox_int (TC, Boxed) | |
RakudoRuntime.lua:970 6176 | |
function P6int:get_int (TC, Object) | |
RakudoRuntime.lua:564 5753 | |
function SharedTable:Invoke (TC, Obj, Cap) | |
RakudoRuntime.lua:26:table_clone 5681 | |
function table_clone (target) | |
RakudoRuntime.lua:1371 5681 | |
function Context.new (StaticCodeObject, Caller, Capture) | |
RakudoRuntime.lua:378 5264 | |
if type(catch) == "string" and not _fn then return funct | |
ion(fn) return returns.except(catch, fn) end end | |
RakudoRuntime.lua:1273 5264 | |
RakudoCodeRef[1] = RakudoCodeRef.new; | |
local SpecialInvoke = function (TCi, Obj, Cap) | |
RakudoRuntime.lua:404 5264 | |
if type(catch) == "string" and not _fn then return funct | |
ion(fn) return returns.finally(catch, fn) end end | |
RakudoRuntime.lua:958 4022 | |
function P6int:defined (TC, O) | |
RakudoRuntime.lua:810 3744 | |
function Instance.new (STable) | |
RakudoRuntime.lua:1305 3741 | |
function CaptureHelper.FormWith (PosArgs, NamedArgs, FlattenSpec) | |
RakudoRuntime.lua:834 3741 | |
function P6capture:instance_of (TC, WHAT) | |
RakudoRuntime.lua:241:createFrom 3690 | |
function List.createFrom (list) | |
RakudoRuntime.lua:2110:capture_outer 3365 | |
function Ops.capture_outer(TC, Block) | |
RakudoRuntime.lua:928 3219 | |
function Instance.new (STable) | |
RakudoRuntime.lua:954 3217 | |
function P6int:instance_of (TC, WHAT) | |
RakudoRuntime.lua:1878 3216 | |
MultiDispatch.MultiDispatcher = MultiDispatcher;function Ops.box_int (TC | |
, Value, To) | |
RakudoRuntime.lua:966:set_int 3216 | |
function P6int:set_int (TC, Object, Value) | |
RakudoRuntime.lua:1693:FindBestCandidate 2011 | |
function MultiDispatcher.FindBestCandidate (TC, DispatchRoutine, Cap | |
ture) | |
RakudoRuntime.lua:1657:PositionalsToTypeCacheIDs 2011 | |
function DispatchCache.PositionalsToTypeCacheIDs (Positionals) | |
RakudoRuntime.lua:2131:multi_dispatch_over_lexical_candidates 2011 | |
function Ops.multi_dispatch_over_lexical_candidates(TC) | |
RakudoRuntime.lua:1584:Lookup 2005 | |
function DispatchCache:Lookup (Positionals) | |
RakudoRuntime.lua:528 1424 | |
function SharedTable:FindMethod (TC, Obj, Name, Hint) | |
RakudoRuntime.lua:1407:newplain 1239 | |
function Context.newplain () | |
RakudoRuntime.lua:2624 1114 | |
function Ops.bind_lex(TC, Name, Value) | |
RakudoRuntime.lua:1258 1028 | |
function Instance.new (STable) | |
RakudoRuntime.lua:2472:logical_not_int 1028 | |
function Ops.logical_not_int(TC, x) | |
RakudoRuntime.lua:1980:equal_ints 1027 | |
function Ops.equal_ints(TC, x, y) | |
NQPSetting.lua:7822 1023 | |
try{ | |
function () | |
NQPSetting.lua:7845:_fn 1023 | |
}.finally(){ | |
function (catchClass, exceptions, exc) | |
NQPSetting.lua:7820 1023 | |
try{ | |
function () | |
NQPSetting.lua:7814 1023 | |
blocks[448] = function (TC, Block, Capture) | |
NQPSetting.lua:2368 1001 | |
try{ | |
function () | |
RakudoRuntime.lua:2020:greater_than_ints 1001 | |
function Ops.greater_than_ints(TC, x, y) | |
NQPSetting.lua:2360:multi_dispatch_over_lexical_candidates 1001 | |
blocks[120] = function (TC, Block, Capture) | |
NQPSetting.lua:2232:_fn 1001 | |
}.finally(){ | |
function (catchClass, exceptions, exc) | |
NQPSetting.lua:2389:_fn 1001 | |
}.finally(){ | |
function (catchClass, exceptions, exc) | |
NQPSetting.lua:2366 1001 | |
try{ | |
function () | |
NQPSetting.lua:2214 1001 | |
try{ | |
function () | |
NQPSetting.lua:2206 1001 | |
blocks[107] = function (TC, Block, Capture) | |
NQPSetting.lua:2212 1001 | |
try{ | |
function () | |
NQPSetting.lua:4262:_fn 1000 | |
}.finally(){ | |
function (catchClass, exceptions, exc) | |
RakudoRuntime.lua:2482:sub_int 1000 | |
function Ops.sub_int(TC, x, y) | |
NQPSetting.lua:4102:_fn 1000 | |
}.finally(){ | |
function (catchClass, exceptions, exc) | |
NQPSetting.lua:4082 1000 | |
try{ | |
function () | |
NQPSetting.lua:4230:multi_dispatch_over_lexical_candidates 1000 | |
blocks[239] = function (TC, Block, Capture) | |
NQPSetting.lua:4084 1000 | |
try{ | |
function () | |
NQPSetting.lua:4238 1000 | |
try{ | |
function () | |
NQPSetting.lua:4076 1000 | |
blocks[226] = function (TC, Block, Capture) | |
NQPSetting.lua:4236 1000 | |
try{ | |
function () | |
RakudoRuntime.lua:1285 834 | |
function RakudoCodeRef:instance_of (TC, WHAT) | |
RakudoRuntime.lua:1359:BuildStaticBlockInfo 834 | |
function CodeObjectUtility.BuildStaticBlockInfo (Code, Outer, LexNames, | |
BlockName) | |
RakudoRuntime.lua:2751:Bind 584 | |
function SignatureBinder.Bind (TC, C, Capture) | |
RakudoRuntime.lua:1317:GetPositional 555 | |
function CaptureHelper.GetPositional (Capture, Pos) | |
RakudoRuntime.lua:252:Add 517 | |
function List:Add (item) | |
RakudoRuntime.lua:2672 478 | |
function Parameter.new (Type, VariableName, VariableLexpadPosition, | |
Name, Flags, Definedness, DefaultValue) | |
RakudoRuntime.lua:1201 443 | |
function Instance.new (STable) | |
RakudoRuntime.lua:1912 438 | |
function Ops.box_str (TC, Value, To) | |
RakudoRuntime.lua:1225 438 | |
function P6str:instance_of (TC, WHAT) | |
RakudoRuntime.lua:1239:set_str 438 | |
function P6str:set_str (TC, Object, Value) | |
RakudoRuntime.lua:2708 414 | |
function Signature.new (Parameters) | |
RakudoRuntime.lua:1243 407 | |
function P6str:get_str (TC, Object) | |
RakudoRuntime.lua:1941 407 | |
function Ops.unbox_str (TC, Boxed) | |
RakudoRuntime.lua:637 245 | |
KnowHOWMeths.find_method = CodeObjectUtility.WrapNativeMethod( | |
function (TC, Ignored, Cap) | |
RakudoRuntime.lua:2116:new_closure 192 | |
function Ops.new_closure(TC, Block) | |
RakudoRuntime.lua:1530 164 | |
function Handler.new (Type, HandleBlock) | |
RakudoRuntime.lua:2315:get_how 149 | |
function Ops.get_how (TC, Obj) | |
RakudoRuntime.lua:985 146 | |
function Instance.new (STable) | |
RakudoRuntime.lua:1007 143 | |
function P6list:instance_of (TC, WHAT) | |
RakudoRuntime.lua:1345 123 | |
function CaptureHelper.Nil (TC) | |
RakudoRuntime.lua:1865:IsNarrowerType 120 | |
function MultiDispatcher.IsNarrowerType (TC, A, B) | |
RakudoRuntime.lua:1339:GetPositionalAsString 102 | |
function CaptureHelper.GetPositionalAsString (Capture, Pos) | |
RakudoRuntime.lua:629 102 | |
KnowHOWMeths.add_method = CodeObjectUtility.WrapNativeMethod( | |
function (TC, Ignored, Cap) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment