In the middle of the desert you can say anything you want

07 Jun 2023

Timing stuff in jupyter

Difference between %time and %%time in Jupyter Notebook - Stack Overflow

  • when measuring execution time, %time refers to the line after it, %%time refers to the entire cell
  • As we remember1:
    • real/wall the ‘consensus reality’ time
    • user: the process CPU time
      • time it did stuff
    • sys: the operating system CPU time due to system calls from the process
      • interactions with CPU system r/w etc.
Nel mezzo del deserto posso dire tutto quello che voglio.