Performance:Leak Tools: Difference between revisions

Line 151: Line 151:
==== Valgrind ====
==== Valgrind ====


[http://valgrind.org/ Valgrind] is a free tool for Linux and Mac that detects various kinds of memory-related errors at runtime, including leaks. Valgrind is used as part of Mozilla's continuous integration testing, though the coverage isn't great because Valgrind is slow.
[http://valgrind.org/ Valgrind] is a free tool for Linux and Mac that detects various kinds of memory-related errors at runtime, including leaks. Documentation on how to use it with Mozilla code is [https://developer.mozilla.org/en-US/docs/Mozilla/Testing/Valgrind here]. Valgrind is used as [https://developer.mozilla.org/en-US/docs/Valgrind_test_job part] of Mozilla's continuous integration testing, though the coverage isn't great because Valgrind is slow.


==== LSAN ====
==== LSAN ====
Confirmed users
1,345

edits