how_we_measure
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
how_we_measure [2020/12/19 20:03] – [Measuring with smem] senioradmin | how_we_measure [2021/01/16 22:35] (current) – [Measuring with smem] senioradmin | ||
---|---|---|---|
Line 15: | Line 15: | ||
The programming language is a strong indicator - a program which was programmed in a language that translate directly to machine code, made by a compiler will be more efficient and lightweight as a program which was programmed in a language which bust be run by an interpreter or bytecode interpreter. | The programming language is a strong indicator - a program which was programmed in a language that translate directly to machine code, made by a compiler will be more efficient and lightweight as a program which was programmed in a language which bust be run by an interpreter or bytecode interpreter. | ||
- | An even stronger indicator is memory usage. So we will measure the memory usage oa a program to give clear recommendations. we do this by using the program [[https:// | + | An even stronger indicator is memory usage. So we will measure the memory usage of a program to give clear recommendations. we do this by using the program [[https:// |
===== Measuring with smem ===== | ===== Measuring with smem ===== | ||
- | When it comes to memory measurement there are different terms with different meanings. Most standard Unix tools are reporting the " | + | When it comes to memory measurement there are different terms with different meanings. Most standard Unix tools are reporting the " |
- | The " | + | The " |
- | The " | + | The " |
- | We will measure all programs under the same condition, by running as few as background processes as possible and only those which are needed for the program - obviously we have to run X11 to measure the memory usage for a graphical program which runs under X11. | + | We will measure all programs under the same condition |
how_we_measure.1608408219.txt.gz · Last modified: 2020/12/19 20:03 by senioradmin