MySQL version 5.1 comes with an alternative, faster InnoDB implementation (called "InnoDB Plugin"). Switching is easy: Stop your mysqld with...

Possible Reason 1: parallel_tests - running more processes than features If you run old versions of parallel_tests with more...

For performance improvements (and to remove the need for eager loading), the ActsAsTaggableOn gem supports caching your tag lists directly...

Forms with many inputs (600+ in my case) become extremely unresponsive on an iPad, up to the point where it...

makandra dev
blog.jquery.com

Two new methods on and off are the new way of declaring event handlers. bind, delegate and live area deprecated...

Note: This applies specifically to MySQL. In PostgreSQL for example, this is not an issue. If you care about performance...

The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...

web.archive.org

Single step and slow motion for Cucumber scenarios can come in handy, especially in @javascript scenarios. # features/support/examiners.rb AfterStep('@slow_motion...

makandra dev

cURL makes a web request and shows you the response body. You can redirect the response body to /dev/null just...

Date::Performance is a gem that replaces various method in Ruby's Date class with fast C implementations. Unfortunately it...

Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...

VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:

makandra dev

Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...

makandra dev
mysqltuner.pl

This Perl script will run diagnostics on your MySQL database and recommend changes to your MySQL configuration.

When your cucumber features grow massively over time, the test execution can take a lot of time.

You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...

bonsaiden.github.com

JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language. It gives...

When you need to insert many records into the same table, performance may become an issue. What you can do...

web.archive.org

The speed searching for makandra notes in Firefox can be improved by following these steps: Download the Firefox-Add-on...

When working with large Sass files you will notice that the first request after a change to a Sass file...

So you are comparing two Time objects in an RSpec example, and they are not equal, although they look equal...

When you use the send_file method to send a local file to the browser, you can save resources on...

Update: This trick probably isn't very useful anymore in Ruby 2.x. The Ruby GC has improved a lot...

makandra dev

Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11