Emacs repository benchmark: bzr and git

Jonathan Corbet corbet at lwn.net
Tue Mar 18 18:41:04 GMT 2008


dhruva <dhruvakm at gmail.com> wrote:

> How do I get rid of cache if I have to restart the tests? I plan to
> analyze the '--lsprof' output to see if there is different code path
> and the so called hot/cold cache making any difference.

Assuming you're running on a Linux kernel:

	# sync
	# echo 3 > /proc/sys/vm/drop_caches

That dumps everything which does not require writeback, leaving you with
a quite cold cache.

jon



More information about the bazaar mailing list