{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5546","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5546/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5546/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5546/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5546","id":161316374,"number":5546,"title":"Slow local path'd pod install integration when path falls outside the project's directory ","user":{"login":"mattyohe","id":197446,"avatar_url":"https://avatars.githubusercontent.com/u/197446?v=3","gravatar_id":"","url":"https://api.github.com/users/mattyohe","html_url":"https://github.com/mattyohe","followers_url":"https://api.github.com/users/mattyohe/followers","following_url":"https://api.github.com/users/mattyohe/following{/other_user}","gists_url":"https://api.github.com/users/mattyohe/gists{/gist_id}","starred_url":"https://api.github.com/users/mattyohe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattyohe/subscriptions","organizations_url":"https://api.github.com/users/mattyohe/orgs","repos_url":"https://api.github.com/users/mattyohe/repos","events_url":"https://api.github.com/users/mattyohe/events{/privacy}","received_events_url":"https://api.github.com/users/mattyohe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-20T23:10:19Z","updated_at":"2016-06-20T23:59:10Z","closed_at":null,"body":"* [x] I've read and understood the [*CONTRIBUTING guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md). 🌈\r\n\r\n# Report\r\n\r\n## What did you do?\r\n`pod install` with a locally `:path`'d dependency\r\n\r\n## What did you expect to happen?\r\nThe operation should complete in a timely manner.\r\n\r\n## What happened instead?\r\nIntegration of a single pod (Alamofire) took upwards of 15-20 seconds.\r\n\r\n## Further Information\r\nThis first appeared as I attempted to fork and fix a public podspec. I noticed that integration was taking much too long as compared to integration with a remotely hosted podspec. Below in `Project that demonstrates the issue` I have included a link to a project that times different integrations.\r\n\r\nSide note: I see that I have a few cocoapods plugins installed as well, I'm not sure if these are causing issues, but I will disable them and report back.\r\n\r\n## CocoaPods Environment\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 1.0.1\r\n        Ruby : ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]\r\n    RubyGems : 2.4.5\r\n        Host : Mac OS X 10.11.4 (15E65)\r\n       Xcode : 7.3.1 (7D1014)\r\n         Git : git version 2.8.4\r\nRuby lib dir : /Users/mattyohe/.rubies/2.2.2/lib\r\nRepositories : CocoaPods-InternalSpecs - git@github.com:XXXXXXX/CocoaPods-InternalSpecs.git @ 904b4fc11f1904920f24fc20fc21feafcd5a145e\r\n               master - https://github.com/CocoaPods/Specs.git @ 5d21b9faddef22a13ebdc99f0866b7d71e06b899\r\n               XXXXXXX - https://github.com/XXXXXXX/XXXXXXX-cocoapods.git @ 574c6f6a756024c66aeb2364abdcbdc814fff9bb\r\n```\r\n\r\n### Installation Source\r\n\r\n```\r\nExecutable Path: /Users/mattyohe/.gem/ruby/2.2.2/bin/pod\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-deintegrate    : 1.0.0\r\ncocoapods-no-dev-schemes : 1.0.0\r\ncocoapods-plugins        : 1.0.0\r\ncocoapods-search         : 1.0.0\r\ncocoapods-stats          : 1.0.0\r\ncocoapods-trunk          : 1.0.0\r\ncocoapods-try            : 1.0.0\r\nslather                  : 2.2.1\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\ntarget 'SlowIntegration' do\r\n    use_frameworks!\r\n    #pod 'Alamofire'\r\n    pod 'Alamofire', path: '/Users/mattyohe/Desktop/Alamofire.podspec.json'\r\nend\r\n```\r\n\r\n## Project that demonstrates the issue\r\nhttps://github.com/mattyohe/SlowIntegration\r\n\r\nThis project contains the script I was running to output integration, and also to time each method of integration. That script is at the root of the repo titled `time_integration.sh` and it shows output in each different integration case with the time to integrate appended.\r\n\r\nhttps://github.com/mattyohe/SlowIntegration/blob/remote-podspec/output.txt - 2.862s ✅\r\nhttps://github.com/mattyohe/SlowIntegration/blob/expand-home/output.txt - 25.952s 😭\r\nhttps://github.com/mattyohe/SlowIntegration/blob/same-relative-dir/output.txt - 1.680s ✅\r\nhttps://github.com/mattyohe/SlowIntegration/blob/explicit-folder/output.txt - 19.309s 😭\r\n\r\nNote in each of these, the only things changing are the location of the podspec. The two fastest runs being the remote podspec, and when the podspec was in the same relative directory as the project."},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/227304674","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5546#issuecomment-227304674","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5546","id":227304674,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T23:59:10Z","updated_at":"2016-06-20T23:59:10Z","body":"The two slow examples were only a few seconds each for me.\r\n\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 1.0.1\r\n        Ruby : ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]\r\n    RubyGems : 2.6.4\r\n        Host : Mac OS X 10.11.5 (15F34)\r\n       Xcode : 7.3 (7D175)\r\n         Git : git version 2.8.1\r\nRuby lib dir : /Users/segiddins/.rubies/2.3.1/lib\r\nRepositories : artsy - https://github.com/artsy/Specs.git @ 74555e9d6a1aeceddf675c2cc1fa8f9e0b740d34\r\n               buithuyen - https://github.com/buithuyen/Specs.git @ a6e6fe0cef7644fe55139842bf8529013f9821dc\r\n               calgaryscientific - https://github.com/calgaryscientific/pureweb-ios-cocoapods @ e2d88e911e4939ba44fe0396a3d7ece90aa91eff\r\n               eyeem - https://github.com/eyeem/CocoaPods-Specs.git @ e5d20deb9c06d8557bec7bb8659155ac41313f96\r\n               master - https://github.com/CocoaPods/Specs.git @ cb9196193ca889c6af166c7d6440a2c49f331cd5\r\n               unityappstudio - https://github.com/unityappstudio/Specs.git @ 4c5d9046d47906df7b3bafa6641cb4e752f057a7\r\n```\r\n\r\n### Installation Source\r\n\r\n```\r\nExecutable Path: /Users/segiddins/Development/Rainforest/CocoaPods/bin/pod\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-deintegrate  : 1.0.0\r\ncocoapods-dependencies : 1.0.0.beta.1\r\ncocoapods-plugins      : 1.0.0\r\ncocoapods-search       : 1.0.0\r\ncocoapods-stats        : 1.0.0\r\ncocoapods-trunk        : 1.0.0\r\ncocoapods-try          : 1.0.0\r\ncocoapods_debug        : 0.1.0\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\ntarget 'SlowIntegration' do\r\n    use_frameworks!\r\n    #pod 'Alamofire'\r\n    pod 'Alamofire', path: '/Users/segiddins/Desktop/Alamofire.podspec.json'\r\nend\r\n```\r\n\r\n"}}
{"actor":{"display_login":"segiddins"}}