[iOS Sim Debug] ASSERTION FAILED: m_downloads.isEmpty() Layout Test http/tests/websoc...
[WebKit-https.git] / PerformanceTests / StitchMarker / folly.sh
1 #!/bin/bash
2
3 set -e
4 set -u
5 set -x
6
7 FLAGS="-Os -std=c++14 -fvisibility=hidden -Wno-deprecated-declarations"
8 INCLUDES="-I./folly/ -I./folly/double-conversion/ -I./folly/glog/src/ -I./folly/gtest/googletest/include/ -I./folly/gtest/googletest/"
9
10 DEPENDENCIES="
11              ./folly/double-conversion/double-conversion/bignum-dtoa.cc
12              ./folly/double-conversion/double-conversion/bignum.cc
13              ./folly/double-conversion/double-conversion/cached-powers.cc
14              ./folly/double-conversion/double-conversion/diy-fp.cc
15              ./folly/double-conversion/double-conversion/double-conversion.cc
16              ./folly/double-conversion/double-conversion/fast-dtoa.cc
17              ./folly/double-conversion/double-conversion/fixed-dtoa.cc
18              ./folly/double-conversion/double-conversion/strtod.cc
19              ./folly/folly/Assume.cpp
20              ./folly/folly/Benchmark.cpp
21              ./folly/folly/Conv.cpp
22              ./folly/folly/Demangle.cpp
23              ./folly/folly/Format.cpp
24              ./folly/folly/FormatTables.cpp
25              ./folly/folly/Random.cpp
26              ./folly/folly/ScopeGuard.cpp
27              ./folly/folly/SharedMutex.cpp
28              ./folly/folly/String.cpp
29              ./folly/folly/concurrency/CacheLocality.cpp
30              ./folly/folly/detail/Futex.cpp
31              ./folly/folly/detail/MallocImpl.cpp
32              ./folly/folly/detail/StaticSingletonManager.cpp
33              ./folly/folly/detail/ThreadLocalDetail.cpp
34              ./folly/folly/experimental/AsymmetricMemoryBarrier.cpp
35              ./folly/folly/portability/Memory.cpp
36              ./folly/folly/test/DeterministicSchedule.cpp
37              ./folly/glog/src/logging.cc
38              ./folly/glog/src/raw_logging.cc
39              ./folly/glog/src/utilities.cc
40              ./folly/glog/src/vlog_is_on.cc
41 "
42
43 GTEST="
44       ./folly/gtest/googletest//src/gtest-filepath.cc
45       ./folly/gtest/googletest/src/gtest-port.cc
46       ./folly/gtest/googletest/src/gtest-printers.cc
47       ./folly/gtest/googletest/src/gtest-test-part.cc
48       ./folly/gtest/googletest/src/gtest.cc
49 "
50
51 GTEST_MAIN=./folly/gtest/googletest/src/gtest_main.cc
52
53 # concurrency/test/AtomicSharedPtrPerformance.cpp uses libstdc++ internals, ignore it.
54
55 xcrun clang++ -o CacheLocalityBenchmark ./folly/folly/concurrency/test/CacheLocalityBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES
56 xcrun clang++ -o FlatCombiningBenchmark ./folly/folly/experimental/flat_combining/test/FlatCombiningBenchmark.cpp $GTEST $GTEST_MAIN $FLAGS $INCLUDES $DEPENDENCIES
57
58 xcrun clang++ -o HazptrBench-Amb-Tc ./folly/folly/experimental/hazptr/bench/HazptrBench-Amb-Tc.cpp $GTEST $FLAGS $INCLUDES $DEPENDENCIES
59 xcrun clang++ -o HazptrBench-NoAmb-NoTc ./folly/folly/experimental/hazptr/bench/HazptrBench-NoAmb-NoTc.cpp $GTEST $FLAGS $INCLUDES $DEPENDENCIES
60 xcrun clang++ -o HazptrBench-OneDomain ./folly/folly/experimental/hazptr/bench/HazptrBench-OneDomain.cpp $GTEST $FLAGS $INCLUDES $DEPENDENCIES
61 xcrun clang++ -o HazptrBench-NoAmb-Tc ./folly/folly/experimental/hazptr/bench/HazptrBench-NoAmb-Tc.cpp $GTEST $FLAGS $INCLUDES $DEPENDENCIES
62
63 # FIXME These use urcu but I commented it out. That's a shame, we should test RCU. The rest of these tests are otherwise useful.
64 xcrun clang++ -o ReadMostlySharedPtrBenchmark ./folly/folly/experimental/test/ReadMostlySharedPtrBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES
65 xcrun clang++ -o RefCountBenchmark ./folly/folly/experimental/test/RefCountBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES
66
67 xcrun clang++ -o BatonBenchmark ./folly/folly/test/BatonBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES
68 xcrun clang++ -o CallOnceBenchmark ./folly/folly/test/CallOnceBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES
69 xcrun clang++ -o ConcurrentSkipListBenchmark ./folly/folly/test/ConcurrentSkipListBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES
70 xcrun clang++ -o ProducerConsumerQueueBenchmark ./folly/folly/test/ProducerConsumerQueueBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES
71 xcrun clang++ -o ThreadLocalBenchmark ./folly/folly/test/ThreadLocalBenchmark.cpp $FLAGS $INCLUDES $DEPENDENCIES