git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296553
91177308-0d34-0410-b5e6-
96231b3b80d8
desc = '''Generate HTML output to visualize optimization records from the YAML files
generated with -fsave-optimization-record and -fdiagnostics-show-hotness.
-The tools requires PyYAML and Pygments Python packages.
-
-For faster parsing, you may want to use libYAML with PyYAML.'''
+The tools requires PyYAML and Pygments Python packages.'''
import yaml
# Try to use the C parser.
try:
from yaml import CLoader as Loader
except ImportError:
+ print("For faster parsing, you may want to install libYAML for PyYAML")
from yaml import Loader
import functools