Abstract
In this chapter we discuss performance optimization libraries which concentrate on memory issues. We first describe the Google Perftool set of tools which include the tcmalloc memory allocation and thread-key based memory allocation library. Perftools also contains a heap-checker and heap-profiler, their usage alongwith examples which are optimized by their usage is shown in this chapter. We compare the performance of perftools memory allocation with APR and the results are presented in this chapter. Another technique for memory optimization is the use of garbage collection. This is included in Java and Common Lisp family of languages, but using the Boehm garbage collector, we also use garbage collection (GC) in C and C++ programs. Examples using Boehm GC are presented in this chapter, and we investigate the impact of GC on performance and memory consumption.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Koranne, S. (2011). Performance Libraries. In: Handbook of Open Source Tools. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-7719-9_7
Download citation
DOI: https://doi.org/10.1007/978-1-4419-7719-9_7
Published:
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4419-7718-2
Online ISBN: 978-1-4419-7719-9
eBook Packages: Computer ScienceComputer Science (R0)