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
void something(int*,int,int,int); | |
int blah(int* vals) { | |
int a = vals[0]; | |
int b = vals[1]; | |
int c = vals[0]; | |
something(vals,a,b,c); | |
int d = vals[1]; |
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
sark :: git/rbx-master » ruby ~/testbox/time_run.rb bin/rbx benchmark/yarv/bm_vm1_*.rb | |
time bin/rbx benchmark/yarv/bm_vm1_block.rb | |
16.26 real 15.94 user 0.13 sys | |
time bin/rbx benchmark/yarv/bm_vm1_const.rb | |
4.04 real 3.87 user 0.05 sys | |
time bin/rbx benchmark/yarv/bm_vm1_ensure.rb | |
3.48 real 3.34 user 0.05 sys | |
time bin/rbx benchmark/yarv/bm_vm1_ivar.rb | |
5.80 real 5.68 user 0.06 sys | |
time bin/rbx benchmark/yarv/bm_vm1_ivar_set.rb |
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
--- | |
- - :pop | |
- :push_local | |
- - :set_local | |
- :pop | |
- - :send_stack | |
- :pop | |
- - :goto | |
- :push_nil | |
- - :push_literal |
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
require 'time' | |
git = ARGV.shift | |
svn = ARGV.shift | |
class Git2SVN | |
def initialize(git, svn) | |
@git = git | |
@svn = svn | |
@repo = File.expand_path File.join(@svn, "repo") |
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
............................................................................................................................chunks=26 | |
block 0x80140c, holes=0 objects=350 object_bytes=21328 frag=0.650879 | |
block 0x801524, holes=0 objects=345 object_bytes=19596 frag=0.598022 | |
block 0x80163c, holes=0 objects=356 object_bytes=22656 frag=0.691406 | |
block 0x801754, holes=0 objects=334 object_bytes=21140 frag=0.645142 | |
block 0x80186c, holes=0 objects=406 object_bytes=21564 frag=0.658081 | |
block 0x801984, holes=0 objects=450 object_bytes=21412 frag=0.653442 | |
block 0x801a9c, holes=0 objects=411 object_bytes=21424 frag=0.653809 | |
block 0x801bb4, holes=0 objects=402 object_bytes=20968 frag=0.639893 | |
block 0x801ccc, holes=0 objects=433 object_bytes=21368 frag=0.6521 |
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
require "rubygems" | |
$:.push File.join("scratch", "rack-router", "lib") | |
require "rack/router" | |
class HelloApp | |
def call(env) | |
[200, {}, "Hello #{env["PATH_INFO"]}"] | |
end | |
end |
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
10.754149 0.000000 10.754149 ( 10.754107) | |
% cumulative self self total | |
time seconds seconds calls ms/call ms/call name | |
---------------------------------------------------------- | |
7.79 10.36 0.05 10001 0.00 1.04 #toplevel | |
7.28 9.69 0.03 10000 0.00 0.97 Rack::Router::Routable#call | |
7.27 9.67 0.05 50000 0.00 0.19 Hash#each_item | |
7.21 9.59 0.01 10000 0.00 0.96 Array#each | |
7.20 9.58 0.01 10000 0.00 0.96 Rack::Router::Routable#call {} | |
7.16 9.53 0.03 10000 0.00 0.95 Rack::Router::Route#handle |
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
sark :: git/rbx » ruby benchmark/rubinius/squeeze.rb | |
0.140000 0.000000 0.140000 ( 0.145140) | |
sark :: git/rbx » bin/rbx benchmark/rubinius/squeeze.rb | |
8.524932 0.000000 8.524932 ( 8.524940) |
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
#0 0x957b2901 in __s2b_D2A () | |
#1 0x00011ffc in ruby_strtod (s00=0x2cb7d00 "57262152889751597425762.57804", se=0xbffcb654) at strtod.c:515 | |
#2 0x000e54d1 in rubinius::String::to_double (this=0x146f684, state=0x1100d70) at vm/builtin/string.cpp:286 | |
#3 0x000e5506 in rubinius::String::to_f (this=0x146f684, state=0x1100d70) at vm/builtin/string.cpp:253 | |
#4 0x001055eb in float_from_bstring (state=0x1100d70, str=0x2cbf910) at vm/parser/grammar_runtime.cpp:55 | |
#5 0x00107dd5 in rubinius::parser::syd_add_to_parse_tree (state=0x1100d70, parse_state=0x2cb7e00, ary=0x146f4a4, n=0x17af370, locals=0x0) at vm/parser/grammar_runtime.cpp:810 | |
#6 0x0010749c in rubinius::parser::syd_add_to_parse_tree (state=0x1100d70, parse_state=0x2cb7e00, ary=0x146f3b4, n=0x17af384, locals=0x0) at vm/parser/grammar_runtime.cpp:638 | |
#7 0x00106c39 in rubinius::parser::syd_add_to_parse_tree (state=0x1100d70, parse_state=0x2cb7e00, ary=0x146f2c4, n=0x17af3c0, locals=0x0) at vm/parser/grammar_runtime.cpp:476 | |
#8 0x0010749c in rubinius::parser::s |
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
Value* pos = ConstantInt::get(Type::Int32Ty, 0); | |
Value* stack_0 = GetElementPtrInst::Create(stk, pos, "", bb); | |
new StoreInst(ret, stack_0, false, bb); | |
Assertion failed: ((Alignment & (Alignment-1)) == 0 && "Alignment must be power of 2!"), function RoundUpAlignment, file /Users/evanphx/svn/llvm/include/llvm/Target/TargetData.h, line 249. | |
#0 0x957f0e42 in __kill () | |
#1 0x957f0e34 in kill$UNIX2003 () | |
#2 0x9586323a in raise () | |
#3 0x9586f679 in abort () |