title: Is there any simple way to benchmark Python script?
body: <p>Usually I use shell command <code>time</code>. My purpose is to test if data is small, medium, large or very large set, how much time and memory usage will be.</p>
  <p>Any tools for Linux or just Python to do this?</p>