1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/utils
Adam Nemet 26f675cbf1 [opt-viewer] Add support for libYAML for faster parsing
This results in a speed-up of over 6x on sqlite3.

Before:

$ time -p /org/llvm/utils/opt-viewer/opt-viewer.py ./MultiSource/Applications/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.opt.yaml html
  real 415.07
  user 410.00
  sys 4.66

After with libYAML:

$ time -p /org/llvm/utils/opt-viewer/opt-viewer.py ./MultiSource/Applications/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.opt.yaml html
  real 63.96
  user 60.03
  sys 3.67

I followed these steps to get libYAML working with PyYAML: http://rmcgibbo.github.io/blog/2013/05/23/faster-yaml-parsing-with-libyaml/

llvm-svn: 286942
2016-11-15 08:40:51 +00:00
..
abtest
bugpoint
count
crosstool
emacs
FileCheck FileCheck: Minor cleanup of the class Pattern 2016-08-26 16:18:40 +00:00
fpcmp
gdb-scripts Fix gdb pretty printers to work with Python 3. 2016-08-05 16:48:31 +00:00
git
git-svn Improve git llvm push to suggest git pull when applying patch fails 2016-11-12 01:17:59 +00:00
jedit
kate
KillTheDoctor
lint
lit [lit] Print negative exit codes on Windows in hex 2016-11-07 21:06:20 +00:00
llvm-build
llvm-lit Fix llvm-lit.in corresponding to r283710. 2016-10-10 23:02:42 +00:00
LLVMVisualizers
Misc
not
opt-viewer [opt-viewer] Add support for libYAML for faster parsing 2016-11-15 08:40:51 +00:00
PerfectShuffle
release Print correct directory in merge script. 2016-11-11 23:26:28 +00:00
TableGen Re-apply r286384, "X86: Introduce the "relocImm" ComplexPattern, which represents a relocatable immediate.", with a fix for 32-bit x86. 2016-11-09 23:53:43 +00:00
Target/ARM
testgen
textmate
unittest [cmake] Export gtest/gtest_main and its dependencies via a special build tree only cmake exports file. 2016-09-09 19:45:34 +00:00
valgrind
vim vim: special case the CHECK prefix 2016-11-03 15:56:06 +00:00
yaml-bench
bisect
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
create_ladder_graph.py
DSAclean.py
DSAextract.py
extract_symbols.py Handle non-inlined clang::Type::getAs specializations in extract_symbols.py 2016-11-14 17:07:09 +00:00
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gxx
llvm.grm
LLVMBuild.txt
llvmdo
llvmgrep
makellvm
prepare-code-coverage-artifact.py [utils] Add a '--unified-report' option to the code coverage prep script 2016-10-26 22:07:39 +00:00
schedcover.py
shuffle_fuzz.py
sort_includes.py
test_debuginfo.pl
update_llc_test_checks.py [X86] Fix test checks script to satisfy pyflakes 2016-11-07 18:08:19 +00:00
update_test_checks.py
UpdateCMakeLists.pl
wciia.py