$30 off During Our Annual Pro Sale. View Details »

Swift compile time is so slow

Masato Oshima
September 16, 2015

Swift compile time is so slow

Masato Oshima

September 16, 2015
Tweet

More Decks by Masato Oshima

Other Decks in Programming

Transcript

  1. Swift compile time is so slow Potatotips #21

  2. Masato Oshima github.com/mpon @_mpon ಢ໦ݝ๕լ܊ग़਎ iOS Developer

  3. νʔϜମ੍

  4. w ΤϯδχΞ͸ਓ w Πϯϑϥʢֻ͚࣋ͪʣ w αʔόʔ w "OESPJE  

    w J04   w ϑϩϯτΤϯυ ॴଐνʔϜͷମ੍
  5. Swift 1.2

  6. %%%υϝΠϯۦಈઃܭ

  7. None
  8. "OESPJE

  9. 7JFX$POUSPMMFS J04 7JFX

  10. 7JFX$POUSPMMFS J04 7JFX

  11. 7JFX$POUSPMMFS J04 7JFX ʮϘλϯΛԡͨ͠ʯͱ͍͏ςετ͸೉͍͠ɻ Ͱ΋ɺϘλϯΛԡͨ͠ͱ͖ͷʮॲཧʯ͸ ςετՄೳ

  12. 7JFX$POUSPMMFS J04 7JFX %FMFHBUF

  13. None
  14. EFMFHBUFͷॲཧ͚ͩ Λ·ͱΊΒΕΔͷͰ Մಡੑ

  15. None
  16. 4UPSZCPBSE 7JFX$POUSPMMFS

  17. ͦΜͳ͜ΜͳͰ ͦΕ΄ͲϠόΠ$POqJDU΋ͳ͘ Ϣχοτςετ΋ॻ͖ͭͭ ίʔυϨϏϡʔ͠ͳ͕Βͷ ϓϧϦΫӡ༻Ͱ ͳΜͱ͔։ൃͰ͖ͯ·͢

  18. ຊ౰ʹʁ

  19. ίϯύΠϧ࣌ؒ ෼ඵ

  20. None
  21. None
  22. None
  23. None
  24. w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w

    ߹ܭߦ਺  w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ
  25. w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w

    ߹ܭߦ਺  w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ
  26. w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w

    ߹ܭߦ਺  w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ
  27. None
  28. $ cat *.swift > God.swift

  29. None
  30. ίϯύΠϧ࣌ؒ ඵ

  31. ͦͷ͔ΘΓɾɾ ΤσΟλ͕ࢮ๢ɾɾ ສߦ͸ແཧ ΍Ͱ

  32. w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w

    ߹ܭߦ਺  w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ
  33. w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w

    ߹ܭߦ਺  w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ
  34. None
  35. ਆͷ͓ಋ͖ͷ΋ͱखಈͰҠಈͨ͠

  36. None
  37. ίϯύΠϧ࣌ؒ ෼ඵ

  38. w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w

    ߹ܭߦ਺  w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ
  39. None
  40. ίϯύΠϧ࣌ؒ ඵ

  41. None
  42. ͱ͸͍͑ɺ ݱ࣮తͰ͸ͳ͍ͷͰ ΋ͬͱ͍͍ํ๏ ڭ͍͑ͯͩ͘͞

  43. None
  44. ,ZPCBTIJYJC

  45. ,ZPCBTIJYJC ΍Δ͔΋ʁʁ