Skip to content

Instantly share code, notes, and snippets.

@tyleha
tyleha / tic-toc-python.md
Last active February 16, 2023 00:38
Building a Matlab-style timing function that can be called with the bare-minimum number of keystrokes and thought.

A Simple Python Timing Function

Overview

# What this gist provides:

tic()
'''code to be timed'''
toc()