diff --git a/README.rst b/README.rst index 56e8010..b507263 100644 --- a/README.rst +++ b/README.rst @@ -41,8 +41,23 @@ Samples: prpfimp --html "import multiprocessing" -Results -------- +Pretty HTML reports +------------------- + +if you run prpfimp with --html key you will get pretty html output + +.. code-block:: + + profimp "import collections" + + +.. image:: doc/source/images/collections_import_trace.png + :alt: American Gothic + :width: 650 px + + +Raw JSON Results +---------------- In output you will see something like: diff --git a/doc/source/images/collections_import_trace.png b/doc/source/images/collections_import_trace.png new file mode 100644 index 0000000..a8d0fca Binary files /dev/null and b/doc/source/images/collections_import_trace.png differ diff --git a/samples/collections.html b/samples/collections.html new file mode 100644 index 0000000..68b79a8 --- /dev/null +++ b/samples/collections.html @@ -0,0 +1,284 @@ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
LevelImport lineDuration
+
+
+ + + + diff --git a/samples/heatclient.html b/samples/heatclient.html new file mode 100644 index 0000000..5be73c7 --- /dev/null +++ b/samples/heatclient.html @@ -0,0 +1,4811 @@ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
LevelImport lineDuration
+
+
+ + + + diff --git a/samples/keystoneclient.html b/samples/keystoneclient.html new file mode 100644 index 0000000..8077a73 --- /dev/null +++ b/samples/keystoneclient.html @@ -0,0 +1,12760 @@ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
LevelImport lineDuration
+
+
+ + + + diff --git a/samples/multiprocessing.html b/samples/multiprocessing.html new file mode 100644 index 0000000..2fe9bc1 --- /dev/null +++ b/samples/multiprocessing.html @@ -0,0 +1,751 @@ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
LevelImport lineDuration
+
+
+ + + + diff --git a/samples/novaclient.html b/samples/novaclient.html new file mode 100644 index 0000000..f2d1d69 --- /dev/null +++ b/samples/novaclient.html @@ -0,0 +1,4811 @@ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
LevelImport lineDuration
+
+
+ + + + diff --git a/samples/simplejson.html b/samples/simplejson.html new file mode 100644 index 0000000..eb80501 --- /dev/null +++ b/samples/simplejson.html @@ -0,0 +1,809 @@ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
LevelImport lineDuration
+
+
+ + + + diff --git a/samples/sqlalchemy.html b/samples/sqlalchemy.html new file mode 100644 index 0000000..904d62a --- /dev/null +++ b/samples/sqlalchemy.html @@ -0,0 +1,3861 @@ + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
LevelImport lineDuration
+
+
+ + + +