brixen (owner)

Revisions

gist: 225892 Download_button fork
public
Public Clone URL: git://gist.github.com/225892.git
Embed All Files: show embed
new compiler #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
gauss:rubinius brian$ find spec/ lib/ -name \*.rbc -delete
gauss:rubinius brian$ rake -q build
gauss:rubinius brian$ bin/mspec ci -T -Xint --profile -B full
rubinius 0.13.0-dev (1.8.7 25d5480f 2009-11-06) [i686-apple-darwin9.8.0]
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 
Finished in 159.125813 seconds
 
3002 files, 11341 examples, 35334 expectations, 0 failures, 0 errors
Total running time: 159.131794184s
 
  % cumulative self self total
 time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
   7.82 12.67 12.67 74 171.25 171.25 GC.collect_mature
   7.23 11.72 11.73 2564 4.57 4.57 Rubinius::Channel#receive_timeout
   5.50 8.92 8.92 559 15.95 15.95 GC.collect_young
   3.58 8.97 5.81 84284 0.07 0.11 Rubinius::CompilerNG::StackDepthCalculator#run_from
   2.78 9.13 4.51 4430762 0.00 0.00 String#<<
   2.71 30.11 4.39 1128218 0.00 0.03 Rubinius::CompiledFile::Marshal#marshal
   2.51 5.83 4.07 742659 0.01 0.01 Array::IdentityMap#insert
   2.27 3.68 3.68 174 21.15 21.15 Process.wait_pid_prim
   1.94 13.14 3.15 3621 0.87 3.63 Rubinius::Melbourne#file_to_ast
   1.62 6.02 2.63 1152235 0.00 0.01 Hash#find_entry
   1.60 2.60 2.60 2660 0.98 0.98 Buffer#fill
   1.50 28.87 2.43 2178428 0.00 0.01 Rubinius::CompiledFile::Marshal#marshal {}
   1.38 2.79 2.23 2678521 0.00 0.00 Hash::Entry#match?
   1.21 5.25 1.96 2568139 0.00 0.00 Fixnum#to_s
   1.14 2.37 1.85 2569471 0.00 0.00 Comparable#between?
   1.06 1.45 1.71 5071696 0.00 0.00 Kernel#tainted?
   1.03 5.84 1.66 547689 0.00 0.01 Hash#[]=
   1.02 1.21 1.66 8929099 0.00 0.00 Kernel#kind_of?
   1.01 4.95 1.63 986709 0.00 0.01 Rubinius::Generator#add
   0.99 3.10 1.61 523356 0.00 0.01 Hash#new_entry
   0.95 2.25 1.54 986954 0.00 0.00 Rubinius::InstructionSet.[]
   0.92 29.55 1.48 249233 0.01 0.12 Rubinius::Tuple#each
   0.87 1.75 1.42 1716851 0.00 0.00 Rubinius::Generator#set_label_positions {}
   0.85 1.95 1.38 130950 0.01 0.01 Array#include?
   0.84 0.82 1.35 11242772 0.00 0.00 Array::Iterator#next
   0.82 1.73 1.32 8 165.25 216.51 Array#qsort_block!
   0.82 1.75 1.32 2962727 0.00 0.00 Array#<<
   0.75 0.73 1.21 10030683 0.00 0.00 Symbol#===
   0.74 0.74 1.20 10018299 0.00 0.00 Array::Iterator#item
   0.73 0.91 1.18 5706904 0.00 0.00 Module#===
   0.70 60.66 1.13 2374410 0.00 0.03 #toplevel
   0.66 0.86 1.07 4629011 0.00 0.00 String#append
   0.65 1.05 1.05 6084 0.17 0.17 IO.open_with_mode
   0.62 1.00 1.00 8 125.13 125.13 IO.select_primitive
   0.60 27.42 0.97 2140656 0.00 0.01 Enumerable#each_with_index {}
   0.58 4.55 0.94 1225030 0.00 0.00 Rubinius::Melbourne#process_transforms {}
   0.56 0.89 0.91 444217 0.00 0.00 Regexp#search_region
   0.56 1.83 0.90 1000135 0.00 0.00 String#to_s
   0.55 11.49 0.89 1150366 0.00 0.01 Hash#[]
   0.52 0.73 0.85 2568440 0.00 0.00 Fixnum#based_to_s
   0.51 1.99 0.83 358989 0.00 0.01 String#[]
   0.48 0.47 0.78 6257567 0.00 0.00 Rubinius::Tuple#[]
   0.44 0.87 0.72 991339 0.00 0.00 Array#to_iter
   0.42 0.78 0.68 1220117 0.00 0.00 Hash#key_index
   0.41 0.77 0.66 1442897 0.00 0.00 InstructionSequence#[]
 
7,617 methods omitted
 
7,662 methods called a total of 192,803,710 times
old compiler #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
gauss:rubinius brian$ find spec/ lib/ -name \*.rbc -delete
gauss:rubinius brian$ bin/mspec ci -T -Xint --profile --ast -B full
rubinius 0.13.0-dev (1.8.7 cc8a8bb0 2009-11-06) [i686-apple-darwin9.8.0]
 
Finished in 260.933184 seconds
 
3003 files, 11765 examples, 35760 expectations, 0 failures, 5 errors
Total running time: 261.10022384s
 
  % cumulative self self total
 time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
   6.63 16.92 16.92 96 176.26 176.26 GC.collect_mature
   3.38 8.62 8.62 905 9.53 9.53 GC.collect_young
   3.27 20.09 8.34 3643013 0.00 0.01 Hash#find_entry
   3.24 8.26 8.26 2564 3.22 3.22 Rubinius::Channel#receive_timeout
   2.92 9.30 7.45 9594315 0.00 0.00 Hash::Entry#match?
   2.36 8.66 6.03 1012032 0.01 0.01 Array::IdentityMap#insert
   2.24 38.53 5.73 1429744 0.00 0.03 Array#map!
   2.22 10.11 5.67 84341 0.07 0.12 Compiler::StackDepthCalculator#run_from
   1.86 42.18 4.75 746637 0.01 0.06 Compiler::Node.create
   1.77 28.21 4.53 1192978 0.00 0.02 Rubinius::CompiledFile::Marshal#marshal
   1.71 8.77 4.36 4540058 0.00 0.00 String#<<
   1.45 3.70 3.70 174 21.25 21.25 Process.wait_pid_prim
   1.40 2.22 3.58 29769209 0.00 0.00 Array::Iterator#next
   1.40 8.71 3.57 992883 0.00 0.01 InstructionSequence::Encoder#encode
   1.24 4.50 3.17 233100 0.01 0.02 Array#include?
   1.20 1.87 3.06 25104935 0.00 0.00 Array::Iterator#item
   1.18 4.45 3.02 2233366 0.00 0.00 Rubinius::InstructionSet.[]
   1.15 3.78 2.94 3697988 0.00 0.00 Array#first
   1.11 19.06 2.84 668064 0.00 0.03 Rubinius::SydneyRewriter.sexp_from_array
   1.08 3.41 2.76 4449702 0.00 0.00 Array#to_iter
   1.07 1.64 2.73 22390786 0.00 0.00 Kernel#equal?
   1.06 23.54 2.71 668064 0.00 0.04 Rubinius::SydneyRewriter#rewrite
   1.05 1.96 2.68 14933022 0.00 0.00 Kernel#kind_of?
   0.98 2.49 2.49 9941 0.25 0.25 Buffer#fill
   0.95 26.97 2.41 2254494 0.00 0.01 Rubinius::CompiledFile::Marshal#marshal {}
   0.93 23.06 2.37 3448984 0.00 0.01 Hash#[]
   0.92 1.78 2.36 12192761 0.00 0.00 Module#===
   0.92 3.14 2.35 5278159 0.00 0.00 Array#<<
   0.86 4.10 2.19 190706 0.01 0.02 Array#index
   0.83 5.63 2.13 788478 0.00 0.01 Hash#[]=
   0.77 6.33 1.95 830651 0.00 0.01 Array#initialize
   0.76 5.23 1.94 2624842 0.00 0.00 Fixnum#to_s
   0.75 2.44 1.90 2626181 0.00 0.00 Comparable#between?
   0.74 2.17 1.89 3662191 0.00 0.00 Hash#key_index
   0.73 1.86 1.86 6006 0.31 0.31 String#parse
   0.69 3.70 1.77 857118 0.00 0.00 Rubinius::Tuple#dup
   0.69 42.24 1.76 747695 0.00 0.06 Compiler#convert_sexp
   0.67 1.47 1.71 5221338 0.00 0.00 Kernel#tainted?
   0.64 18.86 1.63 1788811 0.00 0.01 <metaclass>#sexp_from_array {}
   0.57 27.62 1.45 232669 0.01 0.12 Rubinius::Tuple#each
   0.55 69.92 1.40 2375932 0.00 0.03 #toplevel
   0.55 10.24 1.40 1985766 0.00 0.01 InstructionSequence::Encoder#encode_stream {}
   0.53 5.26 1.35 2294936 0.00 0.00 Compiler::Generator#collapse_labels {}
   0.53 1.77 1.34 8 168.02 221.58 Array#qsort_block!
   0.52 1.60 1.34 2521234 0.00 0.00 Kernel#===
 
8,022 methods omitted
 
8,067 methods called a total of 385,635,900 times