Skip to content

Instantly share code, notes, and snippets.

ruby 1.9.3dev (2010-05-11 trunk 27724) [i386-mingw32]
1) Failure:
test_last_error(DL::TestCFunc) [C:/dev/ruby/downloads/ruby_trunk_no_patches/test/dl/test_cfunc.rb:69]:
Expected 0 to be nil.
2) Error:
test_sinf(DL::TestFunc):
DL::DLError: unknown symbol "sinf"
C:/dev/ruby/downloads/ruby_trunk_no_patches/test/dl/test_func.rb:25:in `[]'
ruby 1.9.3dev (2010-05-11 trunk 27724) [i386-mingw32]
1) Failure:
test_last_error(DL::TestCFunc) [C:/dev/ruby/downloads/ruby_trunk_no_patches/test/dl/test_cfunc.rb:69]:
Expected 0 to be nil.
2) Error:
test_sinf(DL::TestFunc):
DL::DLError: unknown symbol "sinf"
C:/dev/ruby/downloads/ruby_trunk_no_patches/test/dl/test_func.rb:25:in `[]'
1.9.1
209 tests, 543 assertions, 4 failures, 13 errors, 0 pendings, 0 omissions, 0 notifications
91.866% passed
rake aborted!
1.8.6:
209 tests, 567 assertions, 1 failures, 8 errors
rake aborted!
gcc -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/external_libs/libltdl -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include
-pipe -Wall -Wno-deprecated -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -c -o vm/exception.o vm/exception.cpp 2>&1
In file included from vm/shared_state.hpp:12,
from vm/vm.hpp:19,
from vm/builtin/object.hpp:6,
from vm/builtin/exception.hpp:6,
from vm/exception.cpp:1:
vm/symboltable.hpp:10:29: tr1/unordered_map: No such file or directory
In file included from vm/shared_state.hpp:12,
from vm/vm.hpp:19,
C:\dev\ruby\downloads\ruby_trunk>ruby -v
ruby 1.9.3dev (2010-06-03 trunk 28150) [i386-mingw32]
Finished in 544.959598 seconds.
1) Failure:
test_to_s(DL::TestCFunc) [C:/dev/ruby/downloads/ruby_trunk/test/dl/test_cfunc.rb:52]:
to_s should be tainted
C:\dev\ruby\downloads\ruby_trunk>ruby -v
ruby 1.9.3dev (2010-06-03 trunk 28150) [i386-mingw32]
7767 tests, 1849170 assertions, 12 failures, 11 errors, 49 skips
Finished in 544.959598 seconds.
1) Failure:
test_to_s(DL::TestCFunc) [C:/dev/ruby/downloads/ruby_trunk/test/dl/test_cfunc.rb:52]:
@rdp
rdp / gist:433110
Created June 10, 2010 14:53
patch to the RBS to make it use native driver for the benchmarks where available, instead of the just "ruby"
diff --git a/rakelib/bench.rake b/rakelib/bench.rake
index faa4a5a..81c1386 100644
--- a/rakelib/bench.rake
+++ b/rakelib/bench.rake
@@ -6,6 +6,7 @@
# updates are done manually to ensure stability.
#
# see utils/README for more information
+require 'rbconfig'
start = Time.now
a = Thread.new { for i in 1..100000000 do; end; puts 't1d'}
for i in 1..100000000 do; end
puts 't2d'
a.join
puts Time.now - start
BAILOUT = 16
MAX_ITERATIONS = 1000
class Bench1
def initialize
puts "Rendering..."
for y in -39..39
print "\n"
for x in -39..39
@rdp
rdp / some trivial rails benchmarks
Created June 21, 2010 19:04
sqlite rails bench (windows, 1.9)
http://github.com/acangiano/ruby-benchmark-suite
C:\dev\ruby\old\ruby-benchmark-suite\benchmarks\rails>ruby -r ..\..\utils\fake_bench.rb bm_substruct_request_root.rb
database appears initialized
Warming up once
GET /
10387 ms, 1 requests, 0 req/sec
Benchmarking 1x