Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created April 13, 2009 22:42
Show Gist options
  • Select an option

  • Save methodmissing/94798 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/94798 to your computer and use it in GitHub Desktop.
213-138-232-223:matzruby lourens$ sudo ./instrument/compile_and_lex.d -c "./ruby instrument/compile_and_lex.rb"
ELAPSED TIME DISTRIBUTION,
lex
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0
value ------------- Distribution ------------- count
2048 | 0
4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 60
8192 |@@@@ 6
16384 | 0
compile instrument/compile_and_lex.rb 2
value ------------- Distribution ------------- count
524288 | 0
1048576 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
2097152 | 0
___ OVERLAP TIMES: ___ ______ ELAPSED ______
METHOD FILE LINE COUNT AVG(us) SUM(us)
lex 00000000000000000000000 66 7 470
compile instrument/compile_and_l 00000000000000000000002 1 1735 1735
# sudo ./instrument/compile_and_lex.d -c "./ruby instrument/compile_and_lex.rb"
module A
def to_s
super + "A"
end
end
class B
def to_s
"B"
end
end
class C < B
include A
def to_s
super + "C"
end
public :to_s
end
b = B.new
b.extend A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment