My Recent Pastes (353 and counting)

Pastes by brixen (353 and counting)

Pages:

Below are the 15 most recent pasties by brixen.

February 24, 2009
5:23PM EDT
by brixen

gauss:stackfull brian$ bin/rbx -rrubygems -rextlib -e 'p 1'
A syntax error has occured:
    /Users/brian/devel/stackfull/gems/1.8/gems/extlib-0.9.10/lib/extlib/lazy_array.rb:8: syntax error, unexpected ',', expecting '='
    near line /Users/brian/devel/stackfull/gems/1.8/gems/extlib-0.9.10/lib/extlib/lazy_array.rb:8, column 38

February 21, 2009
12:28AM EDT
by brixen

brixen@elle:~/devel/stackfull$ rake bench VM=jruby_fast
(in /home/brixen/devel/stackfull)
Running Ruby Benchmark Suite
  Writing report to benchmark/results/rbs/RBS-jruby_fast-20-02-2009-1959.yaml
  Running bm_app_factorial.rb

February 20, 2009
9:36PM EDT
by brixen

  Running bm_so_concatenate.rb
Error: Your application used more memory than the safety cap of 500m.
Specify -J-Xmx####m to increase it (#### = cap size in MB).
Specify -w for full OutOfMemoryError stack trace
  Running bm_so_count_words.rb

February 20, 2009
8:48PM EDT
by brixen

brixen@elle:~/devel/stackfull$ PATH=$PATH:~/jdk1.6.0_12/bin/:~/devel/jruby/bin/ JAVA_OPTS=-server rake bench:file VM=jruby FILE=benchmark/rbs/core-features/bm_app_fib.rb
(in /home/brixen/devel/stackfull)
/home/brixen/devel/stackfull/benchmark/utils/timeout -t 300 jruby /home/brixen/devel/stackfull/benchmark/utils/bench.rb benchmark/rbs/core-features/bm_app_fib.rb 5 /home/brixen/devel/stackfull/benchmark/results/rbs/RBS-jruby-20-02-2009-1745.yaml > /dev/null
RUBY_ENGINE jruby
JAVA_OPTS -server -client -Djruby.memory.max=500m -Djruby.stack.max=1024k -Xmx500m -Xss1024k

February 20, 2009
8:18PM EDT
by brixen

## first run command
/home/brixen/devel/stackfull/benchmark/utils/timeout -t 300 jruby /home/brixen/devel/stackfull/benchmark/utils/bench.rb benchmark/rbs/core-features/bm_app_fib.rb 5 /home/brixen/devel/stackfull/benchmark/results/rbs/RBS-jruby-20-02-2009-1715.yaml > /dev/null

## results

February 18, 2009
7:16PM EDT
by brixen

gauss:rubyspec brian$ multiruby ../mspec/bin/mspec-run language/super_spec.rb 

VERSION = mri_1_9
CMD     = ~/.multiruby/install/mri_1_9/bin/ruby ../mspec/bin/mspec-run language/super_spec.rb

February 18, 2009
7:16PM EDT
by brixen

gauss:rubyspec brian$ git diff
diff --git a/language/super_spec.rb b/language/super_spec.rb
index b5d13cd..1803f9f 100644
--- a/language/super_spec.rb
+++ b/language/super_spec.rb

February 18, 2009
1:33PM EDT
by brixen

diff --git a/vm/builtin/autoload.cpp b/vm/builtin/autoload.cpp
index 010c122..62d3ee7 100644
--- a/vm/builtin/autoload.cpp
+++ b/vm/builtin/autoload.cpp
@@ -1,4 +1,6 @@

February 17, 2009
6:25PM EDT
by brixen

## default.mspec
require 'spec/custom/utils/script'

class MSpecScript
  # An ordered list of the directories containing specs to run

February 17, 2009
5:38PM EDT
by brixen

## master on elle

---
name: benchmark/rbs/core-features/bm_app_fib.rb
parameters:

February 16, 2009
3:10PM EDT
by brixen

## vanilla MRI 1.8.6p114 on OS X
gauss:core-features brian$ cat ../../results/rbs/RBS-ruby-16-02-2009-1118.yaml---
name: benchmark/nrbs/core-features/bm_app_fib.rb
parameters:
- 20

February 13, 2009
2:02AM EDT
by brixen

gauss:stackfull brian$ bin/mspec ci -fs language/constants
rubinius 0.10.0 (ruby 1.8.6) (fb8ca82ed 12/31/2009) [i686-apple-darwin9.6.0]

Literal (A::X) constant resolution
- raises a NameError if no constant is defined in the search path

February 12, 2009
1:56AM EDT
by brixen

diff --git a/lib/compiler/bytecode.rb b/lib/compiler/bytecode.rb
index 2d9bc85..9fcc3c4 100644
--- a/lib/compiler/bytecode.rb
+++ b/lib/compiler/bytecode.rb
@@ -605,6 +605,23 @@ class Compiler

February 11, 2009
8:35PM EDT
by brixen

## ruby
autoload :A, 'auto.rb'

class A
  def b

February 11, 2009
6:14PM EDT
by brixen

## stackfull takes % of stackless time to run

>> 657.5/7.351  # current vm2_poly_method
=> 89.4436131138621
>> 606.6/7.351  # initial vm2_poly_method

Next page

Previous page