
blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound
Preview meta tags from the blog.andrewcantino.com website.
Linked Hostnames
4Search Engine Appearance
Rails RSpec tests are CPU bound
Today I experimented with running a large Rails RSpec test suite on a RAM disk. My hope was that by hosting either the MySQL server or the Rails project directory on the RAM disk, the test execution would be significantly increased. If this were the case, I would feel (more) compelled to buy a certain new device with a solid-state disk drive. Unfortunately, while I now have some slick scripts to bring up a RAM disk with either my Rails project or MySQL running on it, the improvements were on the order of 10 seconds over a 10 minute test run (the load time of Rails). Thus, it is clear that these tests are CPU bound, not disk IO bound, and a SSD wouldn’t help.
Bing
Rails RSpec tests are CPU bound
Today I experimented with running a large Rails RSpec test suite on a RAM disk. My hope was that by hosting either the MySQL server or the Rails project directory on the RAM disk, the test execution would be significantly increased. If this were the case, I would feel (more) compelled to buy a certain new device with a solid-state disk drive. Unfortunately, while I now have some slick scripts to bring up a RAM disk with either my Rails project or MySQL running on it, the improvements were on the order of 10 seconds over a 10 minute test run (the load time of Rails). Thus, it is clear that these tests are CPU bound, not disk IO bound, and a SSD wouldn’t help.
DuckDuckGo

Rails RSpec tests are CPU bound
Today I experimented with running a large Rails RSpec test suite on a RAM disk. My hope was that by hosting either the MySQL server or the Rails project directory on the RAM disk, the test execution would be significantly increased. If this were the case, I would feel (more) compelled to buy a certain new device with a solid-state disk drive. Unfortunately, while I now have some slick scripts to bring up a RAM disk with either my Rails project or MySQL running on it, the improvements were on the order of 10 seconds over a 10 minute test run (the load time of Rails). Thus, it is clear that these tests are CPU bound, not disk IO bound, and a SSD wouldn’t help.
General Meta Tags
9- titleRails RSpec tests are CPU bound · andrew makes things
- titleRails RSpec tests are CPU bound | andrew makes things
- charsetUTF-8
- viewportwidth=device-width, initial-scale=1.0
- generatorJekyll v4.2.0
Open Graph Meta Tags
6- og:titleRails RSpec tests are CPU bound
og:locale
en_US- og:descriptionToday I experimented with running a large Rails RSpec test suite on a RAM disk. My hope was that by hosting either the MySQL server or the Rails project directory on the RAM disk, the test execution would be significantly increased. If this were the case, I would feel (more) compelled to buy a certain new device with a solid-state disk drive. Unfortunately, while I now have some slick scripts to bring up a RAM disk with either my Rails project or MySQL running on it, the improvements were on the order of 10 seconds over a 10 minute test run (the load time of Rails). Thus, it is clear that these tests are CPU bound, not disk IO bound, and a SSD wouldn’t help.
- og:urlhttps://blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound/
- og:site_nameandrew makes things
Twitter Meta Tags
3- twitter:cardsummary
- twitter:site@tectonic
- twitter:creator@tectonic
Link Tags
7- alternatehttps://blog.andrewcantino.com/feed.xml
- apple-touch-icon/assets/apple-touch-icon.png
- canonicalhttps://blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound/
- icon/assets/favicon-32x32.png
- icon/assets/favicon-16x16.png
Links
6- http://www.apple.com/macbookair
- https://andrewcantino.com
- https://blog.andrewcantino.com
- https://blog.andrewcantino.com/blog/2010/08/22/revolutionary
- https://blog.andrewcantino.com/blog/2010/11/06/command-line-accounting-with-ledger-and-reckon