Posts tagged with ‘speed’

 

  • Archives

  • Categories

This always annoys me. Mac OS X’s Terminal’s prompt not loading promptly.

Sometimes it is something to do with Apple system logs. You can clear them through this:

sudo rm -f /private/var/log/asl/*

It works for me and I’m a happy user again, now the prompt in Terminal starts quickly when I start a new Terminal tab. Hope it helps.

 

Two top grandmasters, Maxim Dlugy and Hikaru Nakamura, battle it out in a 1-minute blitz game after the U.S. Championship. These guys are amazing. They play chess so quickly.

Speed Chess Game

I hardly know chess and pretty much suck at games that require me to think. Who wants to play snake and ladders with me?

 

I haven’t been generous enough to spend money on higher RAM for my blogs. I started to notice slow downs in the blog recent, particularly caused by a particular plugin that does related posts. I found out by checking on slow queries log. Here’s how to get MySQL to log slow queries:

If you are using Ubuntu of Debian-based operating systems, it’s found in /etc/mysql/my.cnf. You may need to use

sudo nano /etc/mysql/my.cnf

Press CTRL + W, that’s search in nano. Find “slow” for the section for logging slow queries.

# Here you can see queries with especially long duration
#log_slow_queries        = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes

I uncommented “log_slow_queries” and “long_query_time”. I put long_query_time to 8. That requires a bit of experimentation. It depends on your environment.

I run the following command to check the slow queries:

sudo cat /var/log/mysql/mysql-slow.log

After you change the configuration in my.cnf, you need to restart. You can do so using:

sudo /etc/init.d/mysql restart

Hope it helps.

 

Firefox’s address bar, also known as the Awesome Bar, stores all sorts of awesome information in a SQLite database. The SQLite database slowly starts getting fragments and the Awesome Bar just isn’t as awesome if it gets all laggy. To solve this, you can vacuum the SQLite database that Awesome Bar used.

Go to Tools, then Error Console. And copy the following:

Components.classes[ "@mozilla.org/browser/nav-history-service;1" ].getService( Components.interfaces.nsPIPlacesDatabase ).DBConnection.executeSimpleSQL( "VACUUM" );

And paste and click on Evaluate:

Vaccuming Firefox in Error Console

Vaccuming Firefox in Error Console

The browser probably freezes for a few seconds and the address bar feels faster.

[via MozillaLinks]

 

Opera 10 has been released, with some turbo charge technology. Opera Turbo, a new compression technology that solves the pain of slow connections.

The craftsmanship under the hood

Browsing speed is a combination of many factors. We fine-tuned our overall speed, making Opera faster and smoother on resource-intensive pages such as Gmail. Opera 10 is 40% faster in page loading than Opera 9.6 … and that is before you activate Opera Turbo. Opera is designed not only to be light and fast, but also smart. Our adaptive memory management is optimized to work with your machine, conserving memory if your computer has less RAM and utilizing more memory to enhance performance if your computer has memory to spare.

Meet Odd & Even who have been working dag og natt to help Opera fine-tune Opera Turbo before the release of Opera 10.

Odd & Even Compressing Web Pages

Get opera at http://www.opera.com/

 

In this short video Kris Madden shows you how to read faster. The trick, he says, is to repeatedly say “AEIOU” or “one, two, three, four,” as you read. This prevents you from vocalizing the written words with your larynx. Once you train yourself, you can stop uttering “AEIOU,” and you will be able to read much faster than before, or so he says. (from BoingBoing)

How to speed read

Also check out Derren Brown’s blog.

 

Let’s face it, Firefox isn’t exactly the fastest browser around. In Linux it’s worse, in fact, Windows Firefox through Wine in Linux is faster than Linux Firefox.

Tuxradar benchmark Firefox 3.5 Beta 4′s performance and the results are very optimistic.

I use Firefox and Opera in Ubuntu and I prefer Opera in terms of speed but it just never felt quite like a native application in Ubuntu. Firefox just doesn’t appear as responsive sometimes.

 

WordPress powered and Django inspired.
Love and elephants come after.
RSS: Posts and comments.