Skip to content

Instantly share code, notes, and snippets.

View hosiawak's full-sized avatar

Karol Hosiawa hosiawak

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hosiawak on github.
  • I am hosiawak (https://keybase.io/hosiawak) on keybase.
  • I have a public key ASDsQLbWDgviO_U4JShCQ_q0QHMnSJiX_OnEqaofGLrmyAo

To claim this, I am signing this object:

# Ubuntu Server Quick Install
# by Dustin Kirkland <kirkland@ubuntu.com>
# * Documentation: http://bit.ly/uquick-doc
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/splash boolean false
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i console-setup/variantcode string
d-i netcfg/get_nameservers string
karol@brenta:~/projects/personal/rubinius (master) $ ./bin/benchmark benchmark/real_world/bench_red_black_tree.rb
=== bin/rbx ===
#delete
Error in benchmark/real_world/bench_red_black_tree.rb:
An exception occurred
undefined method `color' on nil:NilClass. (NoMethodError)
Backtrace:
Kernel(NilClass)#color (method_missing) at kernel/delta/kernel.rb:81
RedBlackTree#delete_fixup at benchmark/real_world/bench_red_black_tree.rb:292
[BUG] cross-thread violation on rb_gc()
(null)
Abort trap: 6
karol@brenta:~/projects/personal/rubinius (master) $ ruby-head --version
ruby 2.0.0dev (2013-02-18) [x86_64-darwin12.2.1]
karol@brenta:~/projects/personal/rubinius (master) $ ./bin/benchmark -t ./bin/rbx -t ^ruby-head benchmark/core/float/
Found rvm-managed ruby: ruby-head
=== ./bin/rbx ===
Float + Float => Float
39644327.2 (±1.9%) i/s - 197996600 in 4.996082s (cycle=147100)
Float + Fixnum => Float
39234682.7 (±1.3%) i/s - 196176456 in 5.000912s (cycle=199976)
Float + Bignum => Float
karol@brenta:~/projects/personal/rubinius (master) $ ./bin/benchmark -t ./bin/rbx -t ^jruby-head benchmark/core/float/
Found rvm-managed ruby: jruby-head
=== ./bin/rbx ===
Float + Float => Float
39686069.1 (±1.8%) i/s - 198278330 in 4.997819s (cycle=150782)
Float + Fixnum => Float
39260502.9 (±1.3%) i/s - 196248960 in 4.999449s (cycle=204426)
Float + Bignum => Float
17241576.8 (±1.4%) i/s - 86161361 in 4.998290s (cycle=186901)
Float <=> Float 61874317.8 (±2.2%) i/s - 309180168 in 4.999567s (cycle=203676)
karol@brenta:~/projects/personal/rubinius (master) $ ./bin/benchmark -t ./bin/rbx -t ^maglev-head -t ^jruby-head -t ^ruby-2.0.0-preview1 -t ^ruby-1.8.7-p248 benchmark/octane/bench_raytrace.rb
Found rvm-managed ruby: maglev-head
Found rvm-managed ruby: jruby-head
Found rvm-managed ruby: ruby-2.0.0-preview1
Found rvm-managed ruby: ruby-1.8.7-p248
=== ./bin/rbx ===
#render_scene 527.3 (±3.0%) i/s - 2640 in 5.011487s (cycle=33)
=== /Users/karol/.rvm/rubies/maglev-head/bin/ruby ===
#render_scene 191.0 (±1.6%) i/s - 969 in 5.074275s (cycle=19)
=== /Users/karol/.rvm/rubies/jruby-head/bin/ruby ===
#ifdef HAVE_GETGRENT
static VALUE
setup_group(grp)
struct group *grp;
{
VALUE mem;
char **tbl;
mem = rb_ary_new();
tbl = grp->gr_mem;
=== bin/rbx ===
decoding protobuf 87862.7 (±4.8%) i/s - 439806 in 5.018943s (cycle=6374)
startup 2.7 (±0.0%) i/s - 81 in 30.146214s (cycle=1)
degree_days 12.2 (±0.0%) i/s - 62 in 5.067835s (cycle=1)
#delete 10.5 (±0.0%) i/s - 53 in 5.055073s (cycle=1)
#add 17.7 (±5.7%) i/s - 89 in 5.039424s (cycle=1)
#search 73.8 (±6.8%) i/s - 372 in 5.067292s (cycle=6)
#inorder_walk 199.9 (±2.0%) i/s - 1007 in 5.039447s (cycle=19)
#rev_inorder_walk 203.2 (±1.5%) i/s - 1026 in 5.050822s (cycle=18)
#minimum 100.0 (±4.0%) i/s - 504 in 5.047642s (cycle=9)
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>