{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5180","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5180/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5180/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5180/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5180","id":149785122,"number":5180,"title":"Problem of resolving dependencies when use pod update ","user":{"login":"yanzhiwei147","id":5554220,"avatar_url":"https://avatars.githubusercontent.com/u/5554220?v=3","gravatar_id":"","url":"https://api.github.com/users/yanzhiwei147","html_url":"https://github.com/yanzhiwei147","followers_url":"https://api.github.com/users/yanzhiwei147/followers","following_url":"https://api.github.com/users/yanzhiwei147/following{/other_user}","gists_url":"https://api.github.com/users/yanzhiwei147/gists{/gist_id}","starred_url":"https://api.github.com/users/yanzhiwei147/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanzhiwei147/subscriptions","organizations_url":"https://api.github.com/users/yanzhiwei147/orgs","repos_url":"https://api.github.com/users/yanzhiwei147/repos","events_url":"https://api.github.com/users/yanzhiwei147/events{/privacy}","received_events_url":"https://api.github.com/users/yanzhiwei147/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/s1:awaiting%20input","name":"s1:awaiting input","color":"EDCE24"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-20T14:32:19Z","updated_at":"2016-04-20T17:48:30Z","closed_at":null,"body":"# Report\r\n\r\n## What did you do?\r\n\r\n> Use `pod update --no-repo-update`\r\n\r\n## What did you expected to happen?\r\n\r\n> Don't block at `Resolving dependencies of Podfile`\r\n\r\n## What happened instead?\r\n\r\n> I have a huge dependencies tree(about 15 depths),about 260 pcs(I use private pod repo in house).It use long time for resolving dependencies(taking up about 95% of the total time), about 35 minutes,i mind it's a problem.\r\n\r\n## Podfile\r\n\r\n> I use private pod repo in house,and i can't provide it.sorry."},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/212532810","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5180#issuecomment-212532810","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5180","id":212532810,"user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T17:48:30Z","updated_at":"2016-04-20T17:48:30Z","body":"@yanzhiwei147 FYI, here's a intro to ruby-prof since I did the same in the linked CocoaPods/Molinillo#39.\r\n\r\nI added `gem 'ruby-prof'` to my Gemfile and bundled...\r\n\r\nThen ran a script like this:\r\n\r\n```ruby\r\ndef ruby_prof_block\r\n  require 'ruby-prof'\r\n  result = RubyProf.profile do\r\n    yield\r\n  end\r\n\r\n  File.open(\"./graphs/callstack.html\", \"w\") do |file|\r\n    RubyProf::CallStackPrinter.new(result).print(file, :threshold => 0.5, :expansion => 1.0)\r\n  end\r\nend\r\n\r\nruby_prof_block { require 'bundler/setup'}  # whatever you want to profile in the block\r\n```\r\n\r\nSee the output in the graphs directory.\r\n"}}