Ruby の懸案事項

Kenta Murata
Kenta MurataCRO at Xica Co., Ltd.
Ruby
                           Kenta Murata
                2011.02.20 Ruby Workshop Sapporo




2011   2   20                                      1
2011   2   20   2
•        a.k.a @mrkn

           • Ruby
           • Ruby
           •
           •                      SE

           •

2011   2   20                          3
AD



2011   2   20        4
2011
2010   2
       3   20
           1    5
Hokuriku.rb x




2011   2   20      6
Hokuriku.rb x

           • 3 20
           •
           • @igaiga555,         (        )

           • @june29,       (                 )

           • @mrkn,        ← it’s me!!!


2011   2   20                                     7
Ruby
                           Kenta Murata
                2011.02.20 Ruby Workshop Sapporo




2011   2   20                                      8
test-all
       • test-all
       •


       •

2011   2   20                  9
ext/

       • ext/extmk.rb
       • make -j 4             ext

       • extmk.rb       -j n         n




2011   2   20                            10
MacRuby      gem

       • gem list   2

       •
       •


2011   2   20             11
• Oniguruma
       • http://firefly.cr.ie.u-ryukyu.ac.jp/~shinya/xhago/
       • Oniguruma
       • http://twitter.com/#!/yukihiro_matz/status/
                35521472273321984



2011   2   20                                               12
SSL/TLS

       • openssl
       •         GnuTLS   CryptoAPI

       •


2011   2   20                         13
readline6
       • readline6     GPL3

       • ruby
       •             libedit

       • libedit       readline
                     readline


2011   2   20                     14
test-all



2011   2   20              15
Ruby
       • Ruby

       •                 +

       • make test-all


2011   2   20                16
@sora_h



2011   2   20             17
2011   2   20   18
2011   2   20   19
4



2011   2   20       20
2011   2   20   21
2011   2   20   22
test-all

                            disk
                process




2011   2   20                        23
test-all
                             workers




                dispatcher




2011   2   20                                 24
OS      Mac OS X 10.6.6



                CPU   2.66 GHz Intel Core i7



                MEM   8GB 1067 MHz DDR3



2011   2   20                                  25
• non parallel
        • make TESTS=’-v -x fiber ruby’ test-all
       • parallel
        • make TESTS=’-v -j<N> -x fiber ruby’ test-all
        • <N>
        •                    1, 2, 3, 5, 8, 13


2011   2   20                                           26
150.0



                112.5



                 75.0



                 37.5



                   0
                        no -j   -j1   -j2   -j3    -j5   -j8   -j13

                        TOTAL          TESTCASES           TESTS/S


2011   2   20                                                         27
3.00



                2.25



                1.50



                0.75



                  0
                       no -j   -j1   -j2   -j3   -j5   -j8   -j13

                  TOTAL        TESTCASES     TESTS/S     ASSERTIONS/S


2011   2   20                                                           28
• @sora_h   test-all

       •
                              4

       • CPU
       •
2011   2   20                     29
2011   2   20   30
•
       •

       • lib/test/*

2011   2   20         31
2011   2   20   32
ext/

       • ext/extmk.rb
       • make -j 4             ext

       • extmk.rb       -j n         n




2011   2   20                            33
MacRuby      gem

       • gem list   2

       •
       •


2011   2   20             34
• Oniguruma
       • http://firefly.cr.ie.u-ryukyu.ac.jp/~shinya/xhago/
       • Oniguruma
       • http://twitter.com/#!/yukihiro_matz/status/
                35521472273321984



2011   2   20                                               35
SSL/TLS

       • openssl
       •         GnuTLS   CryptoAPI

       •


2011   2   20                         36
readline6
       • readline6     GPL3

       • ruby
       •             libedit

       • libedit       readline
                     readline


2011   2   20                     37
Ruby


2011   2   20          38
1 of 38

Recommended

Ruby 1.9.3 の新機能と変更点 by
Ruby 1.9.3 の新機能と変更点Ruby 1.9.3 の新機能と変更点
Ruby 1.9.3 の新機能と変更点Kenta Murata
3.6K views65 slides
ぼくとわたしのVim by
ぼくとわたしのVimぼくとわたしのVim
ぼくとわたしのVimShota Fukumori
1.4K views59 slides
ruby test-all parallel running by
ruby test-all parallel runningruby test-all parallel running
ruby test-all parallel runningShota Fukumori
1.8K views42 slides
Introduction to ATDD with Cucumber and RSpec by
Introduction to ATDD with Cucumber and RSpecIntroduction to ATDD with Cucumber and RSpec
Introduction to ATDD with Cucumber and RSpecKenta Murata
14.1K views48 slides
Float is Legacy by
Float is LegacyFloat is Legacy
Float is LegacyKenta Murata
3.8K views79 slides
The world without the literal notation for floating-point numbers by
The world without the literal notation for floating-point numbersThe world without the literal notation for floating-point numbers
The world without the literal notation for floating-point numbersKenta Murata
1.2K views38 slides

More Related Content

More from Kenta Murata

Let's begin Behavior Driven Development using RSpec by
Let's begin Behavior Driven Development using RSpecLet's begin Behavior Driven Development using RSpec
Let's begin Behavior Driven Development using RSpecKenta Murata
1.6K views87 slides
Rubyをたのしくするために私が考えていること by
Rubyをたのしくするために私が考えていることRubyをたのしくするために私が考えていること
Rubyをたのしくするために私が考えていることKenta Murata
1.9K views97 slides
5分弱で分かる量子ビット by
5分弱で分かる量子ビット5分弱で分かる量子ビット
5分弱で分かる量子ビットKenta Murata
6.8K views32 slides
Rubykaigi2010mrkn bigdecimal by
Rubykaigi2010mrkn bigdecimalRubykaigi2010mrkn bigdecimal
Rubykaigi2010mrkn bigdecimalKenta Murata
1K views52 slides
Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案) by
Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案)Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案)
Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案)Kenta Murata
801 views1 slide
校内勉強会のススメ An encouragement to hold workshops In your school by
校内勉強会のススメ An encouragement to hold workshops In your school校内勉強会のススメ An encouragement to hold workshops In your school
校内勉強会のススメ An encouragement to hold workshops In your schoolKenta Murata
1.6K views50 slides

More from Kenta Murata(13)

Let's begin Behavior Driven Development using RSpec by Kenta Murata
Let's begin Behavior Driven Development using RSpecLet's begin Behavior Driven Development using RSpec
Let's begin Behavior Driven Development using RSpec
Kenta Murata1.6K views
Rubyをたのしくするために私が考えていること by Kenta Murata
Rubyをたのしくするために私が考えていることRubyをたのしくするために私が考えていること
Rubyをたのしくするために私が考えていること
Kenta Murata1.9K views
5分弱で分かる量子ビット by Kenta Murata
5分弱で分かる量子ビット5分弱で分かる量子ビット
5分弱で分かる量子ビット
Kenta Murata6.8K views
Rubykaigi2010mrkn bigdecimal by Kenta Murata
Rubykaigi2010mrkn bigdecimalRubykaigi2010mrkn bigdecimal
Rubykaigi2010mrkn bigdecimal
Kenta Murata1K views
Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案) by Kenta Murata
Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案)Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案)
Ruby における絵文字エンコーディング間の相互変換ダイアグラム (案)
Kenta Murata801 views
校内勉強会のススメ An encouragement to hold workshops In your school by Kenta Murata
校内勉強会のススメ An encouragement to hold workshops In your school校内勉強会のススメ An encouragement to hold workshops In your school
校内勉強会のススメ An encouragement to hold workshops In your school
Kenta Murata1.6K views
Ruby の標準乱数生成器とその改善案 by Kenta Murata
Ruby の標準乱数生成器とその改善案Ruby の標準乱数生成器とその改善案
Ruby の標準乱数生成器とその改善案
Kenta Murata4K views
5分で分かる Measure by Kenta Murata
5分で分かる Measure5分で分かる Measure
5分で分かる Measure
Kenta Murata1.9K views
Measure 単位付き数値ライブラリ by Kenta Murata
Measure 単位付き数値ライブラリMeasure 単位付き数値ライブラリ
Measure 単位付き数値ライブラリ
Kenta Murata1.5K views
北海道関数型言語勉強会@札幌#2のお知らせ by Kenta Murata
北海道関数型言語勉強会@札幌#2のお知らせ北海道関数型言語勉強会@札幌#2のお知らせ
北海道関数型言語勉強会@札幌#2のお知らせ
Kenta Murata770 views
Ruby 拡張モジュール入門 by Kenta Murata
Ruby 拡張モジュール入門Ruby 拡張モジュール入門
Ruby 拡張モジュール入門
Kenta Murata3.6K views

Ruby の懸案事項

  • 1. Ruby Kenta Murata 2011.02.20 Ruby Workshop Sapporo 2011 2 20 1
  • 2. 2011 2 20 2
  • 3. a.k.a @mrkn • Ruby • Ruby • • SE • 2011 2 20 3
  • 4. AD 2011 2 20 4
  • 5. 2011 2010 2 3 20 1 5
  • 7. Hokuriku.rb x • 3 20 • • @igaiga555, ( ) • @june29, ( ) • @mrkn, ← it’s me!!! 2011 2 20 7
  • 8. Ruby Kenta Murata 2011.02.20 Ruby Workshop Sapporo 2011 2 20 8
  • 9. test-all • test-all • • 2011 2 20 9
  • 10. ext/ • ext/extmk.rb • make -j 4 ext • extmk.rb -j n n 2011 2 20 10
  • 11. MacRuby gem • gem list 2 • • 2011 2 20 11
  • 12. • Oniguruma • http://firefly.cr.ie.u-ryukyu.ac.jp/~shinya/xhago/ • Oniguruma • http://twitter.com/#!/yukihiro_matz/status/ 35521472273321984 2011 2 20 12
  • 13. SSL/TLS • openssl • GnuTLS CryptoAPI • 2011 2 20 13
  • 14. readline6 • readline6 GPL3 • ruby • libedit • libedit readline readline 2011 2 20 14
  • 15. test-all 2011 2 20 15
  • 16. Ruby • Ruby • + • make test-all 2011 2 20 16
  • 17. @sora_h 2011 2 20 17
  • 18. 2011 2 20 18
  • 19. 2011 2 20 19
  • 20. 4 2011 2 20 20
  • 21. 2011 2 20 21
  • 22. 2011 2 20 22
  • 23. test-all disk process 2011 2 20 23
  • 24. test-all workers dispatcher 2011 2 20 24
  • 25. OS Mac OS X 10.6.6 CPU 2.66 GHz Intel Core i7 MEM 8GB 1067 MHz DDR3 2011 2 20 25
  • 26. • non parallel • make TESTS=’-v -x fiber ruby’ test-all • parallel • make TESTS=’-v -j<N> -x fiber ruby’ test-all • <N> • 1, 2, 3, 5, 8, 13 2011 2 20 26
  • 27. 150.0 112.5 75.0 37.5 0 no -j -j1 -j2 -j3 -j5 -j8 -j13 TOTAL TESTCASES TESTS/S 2011 2 20 27
  • 28. 3.00 2.25 1.50 0.75 0 no -j -j1 -j2 -j3 -j5 -j8 -j13 TOTAL TESTCASES TESTS/S ASSERTIONS/S 2011 2 20 28
  • 29. • @sora_h test-all • 4 • CPU • 2011 2 20 29
  • 30. 2011 2 20 30
  • 31. • • lib/test/* 2011 2 20 31
  • 32. 2011 2 20 32
  • 33. ext/ • ext/extmk.rb • make -j 4 ext • extmk.rb -j n n 2011 2 20 33
  • 34. MacRuby gem • gem list 2 • • 2011 2 20 34
  • 35. • Oniguruma • http://firefly.cr.ie.u-ryukyu.ac.jp/~shinya/xhago/ • Oniguruma • http://twitter.com/#!/yukihiro_matz/status/ 35521472273321984 2011 2 20 35
  • 36. SSL/TLS • openssl • GnuTLS CryptoAPI • 2011 2 20 36
  • 37. readline6 • readline6 GPL3 • ruby • libedit • libedit readline readline 2011 2 20 37
  • 38. Ruby 2011 2 20 38