Upgrade to Pro — share decks privately, control downloads, hide ads and more …

本番環境のRailsでYJITをONにしてみた結果

 本番環境のRailsでYJITをONにしてみた結果

ShoheiMitani

July 29, 2023
Tweet

More Decks by ShoheiMitani

Other Decks in Programming

Transcript

  1. Smart, Secure, Mobile Super powered Banking and Living.  ͜ͷൃදʹ͍ͭͯ

    w :+*5ʹ͍ͭͯԿ΋஌Βͳ͍ਓɺ୯ޠ͸ฉ͍ͨ͜ͱ͋Δ͚Ͳத਎ Λ஌Βͳ͍ਓ޲͚ͷ-5 w ͬ͘͟Γͱͨ͠঺հͱɺຊ൪ʹಋೖ͢ΔͨΊͷεςοϓΛղઆ
  2. Smart, Secure, Mobile Super powered Banking and Living.  :+*5ͱ͸

    w4IPQJGZ͕ࣾத৺ͱͳͬͯ։ൃΛͨ͠$3VCZͷ +*5ίϯύΠϥͷҰͭ wಛʹ3VCZPO3BJMTʹয఺Λ౰ͯͯ։ൃ͞Εͨ +*5ίϯύΠϥ
  3. Smart, Secure, Mobile Super powered Banking and Living.  :+*5ͷྺ࢙ͱϝϦοτ

    +*5ίϯύΠϥ w +VTU*O5JNFʢඞཁͳ΋ͷΛඞཁͳλΠϛϯάʣͰίϯύΠϧ ͢Δ͜ͱͰϓϩάϥϜΛߴ଎Խ͢ΔͨΊͷٕज़ w +BWBͷ+7.΍$ͷ/FUϑϨʔϜϫʔΫʹ౥ࡌ͞Ε͍ͯͯɺҰ౓ ࡞੒ͨ͠ίʔυΛෳ਺ͷϓϥοτϑΥʔϜʢ8JOEPXT.BD -JOVY"OEPSPJE04ʜʣͰߴ଎ʹ࣮ߦ͢Δٕज़ͱͯ͠ొ৔
  4. Smart, Secure, Mobile Super powered Banking and Living.  :+*5ͷྺ࢙ͱϝϦοτ

    w ೥ɺ3VCZͰಋೖ ʢ+*5ίϯύΠϥ:"37.+*5ɺ+*5ج൫.+*5*OGSBTUSVDUVSFʣ w :"37໋ྩΛϕʔεʹ+*5ίϯύΠϧ͢Δ͜ͱͰߴ଎ԽΛ࣮ݱ w 3BJMTͰͷύϑΥʔϚϯεʹ͸՝୊͋Γ .+*5
  5. Smart, Secure, Mobile Super powered Banking and Living.  :+*5ͷྺ࢙ͱϝϦοτ

    w 3VCZͰಋೖɺͰ࣮༻ஈ֊ʹ w -##7ʢ-B[Z#BTJD#MPDL7FSTJPOJOHʣͱ͍͏ख๏Λಋೖ͢Δ͜ͱͰߴ ଎Խ w ಈతݴޠͷ࣮ߦ࣌ͷܕݕࠪɾܕਪ࿦Λͳ͘͢Ξϓϩʔν w "DUJWF3FDPSE͕ഒૣ͘ͳΔͳͲͷύϑΥʔϚϯεվળΛ࣮ݱ w 3VTUͰ࣮૷͞Ε͍ͯΔͷͰ3VCZΠϯετʔϧ࣌ʹ3VTU͕ඞཁ :+*5
  6. Smart, Secure, Mobile Super powered Banking and Living.  3BJMTͰͷ༗ޮԽखॱ

     :+*5ͱҰॹʹϏϧυ͞Εͨ3VCZͷΠϯετʔϧ  3BJMTͷىಈ࣌ʹ؀ڥม਺Λઃఆ
  7. Smart, Secure, Mobile Super powered Banking and Living.  :+*5ͱҰॹʹϏϧυ͞Εͨ3VCZͷΠϯετʔϧ

    IUUQTHJUIVCDPNSVCZSVCZQVMM 3VCZ͔ΒSVTUD͕Πϯετʔϧ͞Ε͍ͯΕ͹ :+*5ͷϏϧυ͕ࣗಈతʹߦΘΕΔΑ͏ʹͳͬͨ
  8. Smart, Secure, Mobile Super powered Banking and Living.  ฐࣾʢ#ʣͷ৔߹d%PDLFS

    fi MFd :+*5ͱҰॹʹϏϧυ͞Εͨ3VCZͷΠϯετʔϧ '30.QVCMJDFDSBXTBNB[POMJOVYBNB[POMJOVY &/736#:@7&34*0/ &/73645@500-$)"*/TUBCMF &/73645@)0.&VTSMPDBMMJCSVTU &/7364561@)0.&\3645@)0.&^SVTUVQ &/7$"3(0@)0.&\3645@)0.&^DBSHP &/71"5)\$"3(0@)0.&^CJOVTSMPDBMCVOEMFCJOVTSMPDBMCVOEMFHFNTCJOVTSMPDBMTCJOVTSMPDBMCJOVTSTCJOVTSCJOTCJOCJO ʜ 36/NLEJS\3645@)0.&^DINPE\3645@)0.&^ 36/DVSMQSPUPIUUQTUMTWT4GIUUQTTISVTUVQST\3645@)0.&^SVTUVQTIa DINPE Y\3645@)0.&^SVTUVQTIa \3645@)0.&^SVTUVQTIZEFGBVMUUPPMDIBJO\3645@500-$)"*/^OPNPEJGZQBUI 36/HJUDMPOFIUUQTHJUIVCDPNTTUFQIFOTPOSVCZCVJMEHJUVTSMPDBMTSDSVCZCVJMEa VTSMPDBMTSDSVCZCVJMEJOTUBMMTI 36/SVCZCVJMEW36#:@7&34*0/VTSMPDBM ᶃSVCZͷ0 ff i DJBM*NBHFͷ৔߹͸ҎԼखॱ͸ෆཁ ᶅ3VTUͷΠϯετʔϧ ʢσΟϨΫτϦݖݶ౳͸ͦΕͧΕͷ؀ڥʹ߹ΘͤΔʣ ᶄ3VTUͷόʔδϣϯʹ͸OJHIUMZCFUBTUBCMF͕͋ΔͷͰTUBCMFΛࢦఆ ᶆ3VCZͷΠϯετʔϧ
  9. Smart, Secure, Mobile Super powered Banking and Living.  3BJMTͷىಈ࣌ʹ؀ڥม਺Λઃఆ

    ฐࣾʢ#ʣͷ৔߹dEPDLFSFOUSZQPJOUTId CJOCBTI TFUF ʜ FYQPSU36#:@:+*5@&/"#-& ʜ ࣮ࡍͷίʔυͰ͸؀ڥʢ%&745(130%ʣͰݸผʹࢦఆͰ͖ΔΑ͏ʹ͍ͯ͠Δ
  10. Smart, Secure, Mobile Super powered Banking and Living.  3BJMTͷىಈ࣌ʹ؀ڥม਺Λઃఆ

    $PNNBOE-JOF0QUJPOT FYQPSU36#:015ŠZKJU ZKJU :+*5ͷ༗ޮԽΦϓγϣϯ ZKJUDBMMUISFTIPME/ :+*5ίϯύΠϧͷର৅ͱͳΔϝιουͷݺͼग़͠ճ਺ ZKJUFYFDNFNTJ[F/ ίʔυ($͕ߦΘΕΔϝϞϦফඅͷαΠζ ZKJUTUBUT :+*5࣮ߦʹΑΔ౷ܭऔಘ ZKJUUSBDFFYJUT +*5ίϯύΠϧͷॲཧ͔Βൈ͚ͨ࣌ͷόοΫτϨʔεͷ.BSTIBMμϯϓΛੜ੒͢Δ ZKJUNBYWFSTJPOT/ #BTJD#MPDL͋ͨΓͷόʔδϣϯΛੜ੒͢Δ࠷େ਺ ZKJUHSFFEZWFSTJPOJOH ᩦཉͳόʔδϣχϯάɾϞʔυ
  11. Smart, Secure, Mobile Super powered Banking and Living.  ͓·͚

    34QFDͰͷ:+*5༗ޮԽ 36#:015ZKJUCVOEMFFYFDSTQFDTQFD ˞؀ڥม਺ΛಡΈࠐ·ͳ͍ঢ়ଶͰSTQFDΛ࣮ߦ͢Δ৔߹ʹ͸ɺҎԼͷΑ͏ʹ36#:015Λࢦఆ࣮ͯ͠ߦ͢Ε͹ྑ͍
  12. Smart, Secure, Mobile Super powered Banking and Living.  3BJMTͰͷ༗ޮԽखॱͷ͓͞Β͍

     :+*5ͱҰॹʹϏϧυ͞Εͨ3VCZͷΠϯετʔϧ 3VCZΛΠϯετʔϧ͢Δ؀ڥʹ3VTUΛ͋Β͔͡ΊΠϯετʔϧ  3BJMTͷىಈ࣌ʹ؀ڥม਺Λઃఆ 36#:@:+*5@&/"#-&Λઃఆͯ͠3BJMTΛىಈ
  13. Smart, Secure, Mobile Super powered Banking and Living.  :+*5༗ޮޙͷिؒͷฏۉϨεϙϯελΠϜ

    ύϑΥʔϚϯεൺֱ :+*5ฏۉSTɺ/PO:+*5ฏۉSTఔ౓ѱԽ
  14. Smart, Secure, Mobile Super powered Banking and Living.  աڈճͷ$*ͷ࣮ߦ࣌ؒͷൺֱ

    $*ͷ࣮ߦ࣌ؒ :+*5ฏۉTFDɺ/PO:+*5ฏۉTFDߴ଎Խ