Skip to content

carterjfulcher/tinyprofiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyprofiler

Tiny Profiler is a sub 200 line profiling utility that records teletry from your app, provides metrics and a flame graph to help debug latency and throughput.

Installation

pip install tinyprofiler

Usage

from tinyprofiler import Observer

observer = Observer()

@observer.profile()
def your_function():
  # do something

img