[ANN] TCS 1.9.3-p231 experimental build

56 views
Skip to first unread message

Jon

unread,
May 27, 2012, 3:56:46 PM5/27/12
to theco...@googlegroups.com
TCS Ruby 1.9.3 => MRI 1.9.3 performance optimizations for Windows and
*nix users.

This is primarily a maintenance release to get the latest MRI 1.9.3
backports. The Fenix optimizations (aka smokin' requires on Windows)
continue to be integrated and enabled by default. Yura's optimizations
(require speedups, Hash, and backported 2.0.0 GC for *nix systems)
also remain integrated.

As there have been no reported Fenix-related issues, and the ruby-core
tests continue to pass on both Windows and *nix, I'm retiring the
`fenix\ruby_1_9_3` (e15806e) and `fileload_ok/ruby_1_9_3` (eab4d19)
patch branches originally used to enable optional Fenix support from
an external module. These two patch branches have been subsumed by the
`win-file/ruby_1_9_3` patch branch maintained by Hiroshi.

Windows users can download the binary archive
`tcs-ruby193_require_fenix_gc_hash_20120527.7z` built from the
https://github.com/thecodeshop/ruby/tree/tcs-ruby_1_9_3 branch from
https://github.com/thecodeshop/ruby/wiki/Downloads

*nix users can get started with the TCS improvements by using RVM or rbenv

https://github.com/thecodeshop/ruby/wiki/FAQ#wiki-rvm
https://github.com/thecodeshop/ruby/wiki/FAQ#wiki-rbenv


=== Notable Updates from Previous Release ===

* Official ruby-core 1.9.3 backports as of ruby_1_9_3@35794.
Especially important for
Windows users is r35783 (2b8e9ec) which fixes a segmentation fault
that occurs when
using EventMachine dependent gems such as Thin.
* Zlib 1.2.7 (Windows binary)
* libffi 3.0.11 (Windows binary)
* OpenSSL 1.0.0j (Windows binary)
* RubyGems 1.8.24 (Windows binary)

previous release:
http://groups.google.com/group/thecodeshop/browse_thread/thread/2bcd99e84099059c


=== Build Recipe Summary ===

git checkout tcs-ruby_1_9_3
git reset --hard codeshop/ruby_1_9_3
git rebase winstat/ruby_1_9_3
git rebase st_opt/ruby_1_9_3
git rebase win-file/ruby_1_9_3
git rebase cached-lp/ruby_1_9_3
git rebase sorted-lf/ruby_1_9_3
git rebase backport-gc/ruby_1_9_3
rake ruby19 local=C:\Users\Jon\Documents\RubyDev\ruby-git dkver=mingw-32-4.6.2
# run tests


=== Built and Tested On ===

* Win7 32bit/MinGW 4.6.2 (1)
* Win7 32bit/Windows SDK 7.1 (2)
* Arch 3.3.7 32bit/GCC 4.7.0 (3)

(1) make test && make test-all TESTS='openssl fiddle psych zlib io json
mkmf pathname stringio erb fileutils ruby/test_io.rb ruby/test_io_m17n.rb
ruby/test_file.rb' [ 1 bogus failure => test_constants(OpenSSL::TestConfig) ]
(2) nmake test
(3) make test && make test-all [ 2 bogus version string failures, 2
WEBrick failures ]


=== Rails 3.2.3 (Win7 32bit) Startup Time Comparison ===
# `rails new rails-empty`

C:\rails-empty>ruby --version
ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
C:\rails-empty>timer ruby script\rails r "puts %Q{$: = %s\n$\" = %s} %
[ $LOAD_PATH.size, $LOADED_FEATURES.size ]"
$: = 57
$" = 751
real 7.627
system 5.787
user 1.778


C:\rails-empty>ruby --version
ruby 1.9.3p231 (2012-05-25 revision 35794) [i386-mingw32]
C:\rails-empty>timer ruby script\rails r "puts %Q{$: = %s\n$\" = %s} %
[ $LOAD_PATH.size, $LOADED_FEATURES.size ]"
$: = 57
$" = 756
real 7.700
system 5.647
user 1.965


C:\rails-empty>ruby --version
tcs-ruby 1.9.3p231 (2012-05-25, TCS patched 2012-05-27) [i386-mingw32]
C:\rails-empty>timer ruby script\rails r "puts %Q{$: = %s\n$\" = %s} %
[ $LOAD_PATH.size, $LOADED_FEATURES.size ]"
$: = 57
$" = 756
real 1.997
system 1.123
user 0.826



Jon

---
Fail fast. Fail often. Fail publicly. Learn. Adapt. Repeat.
http://thecodeshop.github.com | http://jonforums.github.com/
twitter: @jonforums
Reply all
Reply to author
Forward
0 new messages