Snippets tagged “memory-usage”
3 snippets use this tag.
- How to benchmark efficiency of PHP scriptPHP
There are several ways to benchmark the efficiency of a PHP script, including:
- How to find Java Heap Size and Memory Used (Linux)?Java
To find the Java heap size and the amount of memory used on a Linux system, you can use the jstat command and specify the process ID (PID) of the Java process.
- What is the difference between dict.items() and dict.iteritems() in Python2?Python
In Python 2, dict.items() returns a list of the dictionary's key-value pairs, whereas dict.iteritems() returns an iterator over the dictionary's key-value pairs.