{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-core/issues/1956","labels_url":"https://api.github.com/repos/rspec/rspec-core/issues/1956/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-core/issues/1956/comments","events_url":"https://api.github.com/repos/rspec/rspec-core/issues/1956/events","html_url":"https://github.com/rspec/rspec-core/issues/1956","id":73429052,"number":1956,"title":"RSpec 3.2 optimisation","user":{"login":"florrain","id":2470945,"avatar_url":"https://avatars.githubusercontent.com/u/2470945?v=3","gravatar_id":"","url":"https://api.github.com/users/florrain","html_url":"https://github.com/florrain","followers_url":"https://api.github.com/users/florrain/followers","following_url":"https://api.github.com/users/florrain/following{/other_user}","gists_url":"https://api.github.com/users/florrain/gists{/gist_id}","starred_url":"https://api.github.com/users/florrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florrain/subscriptions","organizations_url":"https://api.github.com/users/florrain/orgs","repos_url":"https://api.github.com/users/florrain/repos","events_url":"https://api.github.com/users/florrain/events{/privacy}","received_events_url":"https://api.github.com/users/florrain/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T20:52:57Z","updated_at":"2015-05-06T02:59:31Z","closed_at":"2015-05-06T02:59:31Z","body":"Hello,\r\n\r\nJust switched from RSpec 3.0 to 3.2 and I'm astonished by the huge optimisation. The suite running time of my project went from 10min to 6min! This is local.\r\n\r\nOne thing is that I didn't notice the optimisation on a remote Jenkins. The running time is exactly the same. I was wondering if it because of the hardware specs of the machine? (single-cpu, low memory, ...) and what do you recommend to improve the performance in terms of environment setup?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/rspec/rspec-core/issues/comments/99301525","html_url":"https://github.com/rspec/rspec-core/issues/1956#issuecomment-99301525","issue_url":"https://api.github.com/repos/rspec/rspec-core/issues/1956","id":99301525,"user":{"login":"JonRowe","id":162976,"avatar_url":"https://avatars.githubusercontent.com/u/162976?v=3","gravatar_id":"","url":"https://api.github.com/users/JonRowe","html_url":"https://github.com/JonRowe","followers_url":"https://api.github.com/users/JonRowe/followers","following_url":"https://api.github.com/users/JonRowe/following{/other_user}","gists_url":"https://api.github.com/users/JonRowe/gists{/gist_id}","starred_url":"https://api.github.com/users/JonRowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonRowe/subscriptions","organizations_url":"https://api.github.com/users/JonRowe/orgs","repos_url":"https://api.github.com/users/JonRowe/repos","events_url":"https://api.github.com/users/JonRowe/events{/privacy}","received_events_url":"https://api.github.com/users/JonRowe/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T02:59:31Z","updated_at":"2015-05-06T02:59:31Z","body":"It's hard to say what could be causing the lack of additional performance on your CI box, it could be many things. One thing I've noticed in the past is that cheaper CPUs can lack features making Ruby in general slower (lack of out of order execution in particular being a real bottleneck) so it could be your CPU isn't beefy enough (cores won't matter because Ruby is in general single threaded) or you could be maxing out your Ram on CI still but your local machine now has breathing room with reduced allocations. Another factor could be that your CI environment uses a convential hard drive where as many laptops now use SSD.\r\n\r\nIn short, there are two many variables here to comment :)"}}