My Recent Pastes (891 and counting)
Pastes by headius (891 and counting)
Below are the 15 most recent pasties by headius.
April 04, 2007
1:38PM EDT
by headius
View all 21 lines
Index: src/org/jruby/internal/runtime/RubyNativeThread.java =================================================================== --- src/org/jruby/internal/runtime/RubyNativeThread.java (revision 3383) +++ src/org/jruby/internal/runtime/RubyNativeThread.java (working copy) @@ -32,6 +32,7 @@
April 03, 2007
11:26PM EDT
by headius
View all 68 lines
~/NetBeansProjects/jruby $ JAVA_OPTS="-Djruby.jit.safe=false -server" jruby -C test/bench/bench_method_dispatch.rb ch.rb Control: 100k loops accessing a local variable 100 times 0.133000 0.000000 0.133000 ( 0.133000) 0.032000 0.000000 0.032000 ( 0.033000) 0.018000 0.000000 0.018000 ( 0.018000)
April 03, 2007
6:40PM EDT
by headius
View all 15 lines
~/groovy-1.0 $ JAVA_OPTS="-Xverify:none -server" bin/groovy fib.groovy Took 4442 Took 4079 Took 3859 Took 3873
April 03, 2007
3:25PM EDT
by headius
View all 26 lines
Index: src/org/jruby/exceptions/JumpException.java =================================================================== --- src/org/jruby/exceptions/JumpException.java (revision 3362) +++ src/org/jruby/exceptions/JumpException.java (working copy) @@ -80,6 +80,7 @@
March 30, 2007
5:50PM EDT
by headius
View all 27 lines
public void run() {
runtime.getThreadService().registerNewThread(rubyThread);
ThreadContext context = runtime.getCurrentContext();
context.preRunThread(currentFrame);
March 30, 2007
12:08PM EDT
by headius
View all 18 lines
# scripting.rb include Scriptable x = 'Hello'
March 30, 2007
2:21AM EDT
by headius
View all 38 lines
100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.777000 0.000000 0.777000 ( 0.778000) 0.123000 0.000000 0.123000 ( 0.123000) 0.100000 0.000000 0.100000 ( 0.100000) 0.103000 0.000000 0.103000 ( 0.104000)
March 29, 2007
9:28AM EDT
by headius
View all 111 lines
## jruby SERVER -O test/bench/bench_block_invocation.rb 100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.864000 0.000000 0.864000 ( 0.864000) 0.536000 0.000000 0.536000 ( 0.536000) 0.386000 0.000000 0.386000 ( 0.386000)
March 29, 2007
9:22AM EDT
by headius
View all 74 lines
## jruby SERVER test/bench/bench_block_invocation.rb 100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.870000 0.000000 0.870000 ( 0.870000) 0.535000 0.000000 0.535000 ( 0.535000) 0.392000 0.000000 0.392000 ( 0.392000)
March 29, 2007
1:29AM EDT
by headius
View all 74 lines
~/NetBeansProjects/jruby $ jruby SERVER test/bench/bench_block_invocation.rb 100k loops yielding a fixnum 10 times to a block that just retrieves dvar 0.895000 0.000000 0.895000 ( 0.895000) 0.556000 0.000000 0.556000 ( 0.556000) 0.393000 0.000000 0.393000 ( 0.393000)
March 02, 2007
9:13AM EDT
by headius
View all 10 lines
Ruby JRuby JRuby -C app_fib 8.5230 17.5310 4.5820 app_tak 11.3210 20.9350 5.5940 app_tarai 9.0190 17.9830 5.4550 loop_whileloop 10.1240 19.4100 7.2180
February 22, 2007
9:08AM EDT
by headius
View all 8 lines
1 8.96% 8.96% 12 300136 java.lang.ClassLoader.defineClass1 2 8.21% 17.16% 11 300117 java.lang.ClassLoader.defineClass1 3 6.72% 23.88% 9 300026 java.util.zip.ZipFile.getEntry 4 5.22% 29.10% 7 300120 java.util.zip.Inflater.inflateBytes 5 4.48% 33.58% 6 300143 java.lang.Class.getDeclaredConstructors0
February 17, 2007
1:56AM EDT
by headius
View all 86 lines
control 0.10400000000000001 Array#& 0.669 Array#* (int)
February 16, 2007
7:26PM EDT
by headius
View all 359 lines
NativeException: java.lang.NullPointerException: null
RubyNumeric.java:154:in `org.jruby.RubyNumeric.num2long'
Pack.java:1587:in `org.jruby.util.Pack.pack'
RubyArray.java:2209:in `org.jruby.RubyArray.pack'
null:-1:in `org.jruby.RubyArrayInvokerpack1.call'
