From 42a5dc2649ea19406407a3cc628238d8d3f48ccf Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 27 Feb 2019 17:00:06 -0800 Subject: [PATCH] requirements: Add line_profiler. This library is super useful for doing line-by-line profiling of code paths that we want to be really fast. --- requirements/common.in | 3 +++ requirements/dev.txt | 1 + requirements/prod.txt | 1 + 3 files changed, 5 insertions(+) diff --git a/requirements/common.in b/requirements/common.in index 96f8c8b689..47f8eafe99 100644 --- a/requirements/common.in +++ b/requirements/common.in @@ -78,6 +78,9 @@ httplib2==0.12.0 # Needed for hipchat import hypchat==0.21 +# For doing highly usable Python profiling +line_profiler==2.1.2 + # Needed for inlining the CSS in emails premailer==3.2.0 diff --git a/requirements/dev.txt b/requirements/dev.txt index 68cc1f8fa6..2785c2d3d7 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -90,6 +90,7 @@ jinja2==2.10 jmespath==0.9.3 # via boto3, botocore jsondiff==1.1.1 # via moto jsonpickle==1.1 # via aws-xray-sdk, python-digitalocean +line_profiler==2.1.2 lxml==4.3.0 markdown-include==0.5.1 markdown==3.0.1 diff --git a/requirements/prod.txt b/requirements/prod.txt index c625a68097..d2fe6f3acf 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -64,6 +64,7 @@ ipython-genutils==0.2.0 # via traitlets ipython==6.5.0 jedi==0.13.2 # via ipython jinja2==2.10 +line_profiler==2.1.2 lxml==4.3.0 markdown-include==0.5.1 markdown==3.0.1