blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound

Preview meta tags from the blog.andrewcantino.com website.

Linked Hostnames

4

Search Engine Appearance

Google

https://blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound

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

https://blog.andrewcantino.com/blog/2010/10/26/rspec-is-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

https://blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound

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
    • title
      Rails RSpec tests are CPU bound · andrew makes things
    • title
      Rails RSpec tests are CPU bound | andrew makes things
    • charset
      UTF-8
    • viewport
      width=device-width, initial-scale=1.0
    • generator
      Jekyll v4.2.0
  • Open Graph Meta Tags

    6
    • og:title
      Rails RSpec tests are CPU bound
    • US country flagog:locale
      en_US
    • og:description
      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.
    • og:url
      https://blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound/
    • og:site_name
      andrew makes things
  • Twitter Meta Tags

    3
    • twitter:card
      summary
    • twitter:site
      @tectonic
    • twitter:creator
      @tectonic
  • Link Tags

    7
    • alternate
      https://blog.andrewcantino.com/feed.xml
    • apple-touch-icon
      /assets/apple-touch-icon.png
    • canonical
      https://blog.andrewcantino.com/blog/2010/10/26/rspec-is-cpu-bound/
    • icon
      /assets/favicon-32x32.png
    • icon
      /assets/favicon-16x16.png

Links

6