aboutsummaryrefslogtreecommitdiff
path: root/test/Other
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2011-12-16 13:09:10 +0000
committerManuel Klimek <klimek@google.com>2011-12-16 13:09:10 +0000
commit76f13017fc67b35f10b61e05c13f3643b714fccf (patch)
treeedbd357bc27be562fbd44b9114dae1bd99c1e40f /test/Other
parentdb21f4c187816b03d7b30d0d238f71cbd8a0a9a7 (diff)
Adds a JSON parser and a benchmark (json-bench) to catch performance regressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/json-bench-test.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Other/json-bench-test.ll b/test/Other/json-bench-test.ll
new file mode 100644
index 0000000000..d4e689b2a8
--- /dev/null
+++ b/test/Other/json-bench-test.ll
@@ -0,0 +1,5 @@
+; RUN: json-bench --verify --info-output-file=- | FileCheck %s
+
+; CHECK: Fast: Parsing
+; CHECK: Fast: Loop
+