summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/build_perf/html.py')
-rw-r--r--scripts/lib/build_perf/html.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/lib/build_perf/html.py b/scripts/lib/build_perf/html.py
new file mode 100644
index 0000000000..d1273c9c50
--- /dev/null
+++ b/scripts/lib/build_perf/html.py
@@ -0,0 +1,12 @@
+#
+# Copyright (c) 2017, Intel Corporation.
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+"""Helper module for HTML reporting"""
+from jinja2 import Environment, PackageLoader
+
+
+env = Environment(loader=PackageLoader('build_perf', 'html'))
+
+template = env.get_template('report.html')