|
Packit |
1470ea |
|
|
Packit |
1470ea |
type="guide" style="task"
|
|
Packit |
1470ea |
id="index">
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<info>
|
|
Packit |
1470ea |
<license>
|
|
Packit |
1470ea |
Permission is granted to copy, distribute and/or modify this document
|
|
Packit |
1470ea |
under the terms of the GNU Free Documentation License, Version 1.1 or any
|
|
Packit |
1470ea |
later version published by the Free Software Foundation with no Invariant
|
|
Packit |
1470ea |
Sections, no Front-Cover Texts, and no Back-Cover Texts. You may obtain a
|
|
Packit |
1470ea |
copy of the GNU Free Documentation License from the Free Software
|
|
Packit |
1470ea |
Foundation by visiting <link href="http://www.fsf.org">their Web
|
|
Packit |
1470ea |
site</link> or by writing to: Free Software Foundation, Inc., 51 Franklin
|
|
Packit |
1470ea |
Street, Fifth Floor Boston, MA 02110-1335, USA.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
Many of the names used by companies to distinguish their products and
|
|
Packit |
1470ea |
services are claimed as trademarks. Where those names appear in any
|
|
Packit |
1470ea |
GNOME documentation, and those trademarks are made aware to the members
|
|
Packit |
1470ea |
of the GNOME Documentation Project, the names have been printed in caps
|
|
Packit |
1470ea |
or initial caps.
|
|
Packit |
1470ea |
</license>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<credit type="author copyright">
|
|
Packit |
1470ea |
<years>2004-2005</years>
|
|
Packit |
1470ea |
<name>Callum McKenzie</name>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
<credit type="author copyright">
|
|
Packit |
1470ea |
<years>2004-2005</years>
|
|
Packit |
1470ea |
<name>Robert Love</name>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<desc>Software can be optimized in many ways: for speed, program size, or memory use. This section contains guides and tutorials for optimizing your software.</desc>
|
|
Packit |
1470ea |
</info>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<title>Optimization Guide</title>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<section id="intro" style="2column">
|
|
Packit |
1470ea |
<title>Introduction</title>
|
|
Packit |
1470ea |
This is a brief introduction to optimization, both the hows and
|
|
Packit |
1470ea |
the whys. Details of individual tools and techniques are left for later
|
|
Packit |
1470ea |
articles, but a collection of hints and tricks is provided.
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<section id="massif" style="2column">
|
|
Packit |
1470ea |
<title>Massif</title>
|
|
Packit |
1470ea |
This article describes how to use the <app>Massif</app> heap profiler
|
|
Packit |
1470ea |
with GNOME applications. We describe how to invoke, interpret, and act on
|
|
Packit |
1470ea |
the output of <app>Massif</app>. The <app>Swell Foop</app> game is used as
|
|
Packit |
1470ea |
an example.
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<section id="harm" style="2column">
|
|
Packit |
1470ea |
<title>Harmfulness</title>
|
|
Packit |
1470ea |
Disk seeks are one of the most expensive operations you can possibly
|
|
Packit |
1470ea |
perform. You might not know this from looking at how many of them we
|
|
Packit |
1470ea |
perform, but trust me, they are. Consequently, please refrain from the
|
|
Packit |
1470ea |
following suboptimal behavior:
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
</page>
|