summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-09-01 12:01:10 -0700
committerDylan Baker <dylan@pnwbakers.com>2016-09-09 13:39:18 -0700
commitd0f6d81adfb7f6f0cef76d5e7b96c3ad3e408dde (patch)
tree8b4e29586eed426e8d7d500df36ad624d5e05afd /README
parentc3a6865fe19967ce304a3c8ba3e7e6bc4edb64fe (diff)
framework: Add support for jsonstreams
This commit adds support in the json backend for using an external library that I wrote called jsonstreams. It's a pretty self-explanatory library, and for piglit has several advantages. First, I've measured a consistent 10-15 second speed up for running the quick profile. Second, it *vastly* reduces the amount of memory piglit needs to write the final JSON document out. This is not implemented as a separate backend because the way that piglit's backend are implemented only one backend can handle a specific file extension. While this can be worked around by setting the extension to something like '.junit.xml' that doesn't really make sense here, since they are writing the same format, just using different means. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 2 insertions, 0 deletions
diff --git a/README b/README
index b8b0c89b3..23ae46352 100644
--- a/README
+++ b/README
@@ -44,6 +44,8 @@ Optionally, you can install the following:
- lxml. An accelerated python xml library using libxml2 (http://lxml.de/)
- simplejson. A fast C based implementation of the python json library.
(https://simplejson.readthedocs.org/en/latest/)
+ - jsonstreams. A JSON stream writer for python.
+ (https://jsonstreams.readthedocs.io/en/stable/)
For Python 2.x you can install the following to add features, these are
unnecessary for python3: