{"action":"created","issue":{"url":"https://api.github.com/repos/Theano/Theano/issues/624","labels_url":"https://api.github.com/repos/Theano/Theano/issues/624/labels{/name}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/624/comments","events_url":"https://api.github.com/repos/Theano/Theano/issues/624/events","html_url":"https://github.com/Theano/Theano/issues/624","id":4288688,"number":624,"title":"Make Theano tests run faster","user":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Theano/Theano/labels/CCW","name":"CCW","color":"f7c6c7"},{"url":"https://api.github.com/repos/Theano/Theano/labels/Low%20Priority","name":"Low Priority","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Theano/Theano/milestones/3","html_url":"https://github.com/Theano/Theano/milestones/0.7","labels_url":"https://api.github.com/repos/Theano/Theano/milestones/3/labels","id":112020,"number":3,"title":"0.7","description":"","creator":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":65,"state":"open","created_at":"2012-04-25T19:38:54Z","updated_at":"2015-03-30T13:25:42Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2012-04-25T20:07:43Z","updated_at":"2015-04-14T18:43:24Z","closed_at":null,"body":"It would be good to have Theano tests in default mode run in ~5 minutes. Currently this take 30 minutes for the CPU tests.\n\n1) Identify witch tests take time to run.( profiling script is done)\n\nThis can be done manually, but we could modify \"bin/theano-nose\" with the \"--batch=1\" option do to so automatically. This will be very useful as this make it automatic. to `theano-nose` add the option --time-profile. In that mode, it also set `--batch=1`, then run all tests and print the sorted list of tests with there run time. Also check in file theano/tests/run_tests_in_batch.py.\nMake sure generate an output which also indicates which test is running faster.\nCorrespondences betweeen ids and names might be found on nosetests website.\n\n2) Make slow tests run faster."},"comment":{"url":"https://api.github.com/repos/Theano/Theano/issues/comments/93014716","html_url":"https://github.com/Theano/Theano/issues/624#issuecomment-93014716","issue_url":"https://api.github.com/repos/Theano/Theano/issues/624","id":93014716,"user":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T18:43:24Z","updated_at":"2015-04-14T18:43:24Z","body":"We should time with nosetests --with-timelimit (nosetests-timelimit pluging). Otherwise, we have bad timming,as otherwise we start a new process for each test, that will load the cache. The first tests have a mostly empty cache, but the last one have a big cache."}}