This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ninja log v5 | |
23 83 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/ABIBreak.cpp.o d16a7503c0ab62ee | |
28 83 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/COM.cpp.o 453c524d26bf51ff | |
71 115 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.o 1c01ea7f953fb9eb | |
67 131 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o d793e9d288117e22 | |
55 137 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeCaseFold.cpp.o ee68318ca2c17305 | |
72 139 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o 1b24fa1c0af98155 | |
27 233 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o f138feb071e83fb1 | |
115 235 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/Atomic.cpp.o 5ba25d45dfe9978 | |
39 248 1571337786 lib/Support/CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o f95aff5526bd9d8e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat perf.propeller | |
@a.out.labels | |
Symbols | |
1 2b N_start | |
2 2 N_dl_relocate_static_pie | |
3 0 Nderegister_tm_clones | |
4 0 Nregister_tm_clones | |
5 0 N__do_global_dtors_aux | |
6 0 Nframe_dummy | |
7 3d Nmain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hardware information: | |
OS: 4.15.0-58-generic (uname -r) | |
VERSION="18.04.3 LTS (Bionic Beaver)" | |
GCC: gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) | |
GNU ld (GNU Binutils for Ubuntu) 2.30 | |
$ clang++ -O2 main.cc callee.cc -fpropeller-label -o a.out.labels -fuse-ld=lld | |
$ perf record -e cycles:u -j any,u -- ./a.out.labels 1000000000 2 >& /dev/null | |
$LLVM_DIR/llvm-propeller/create_llvm_prof --format=propeller --binary=./a.out.labels --profile=perf.data --out=perf.propeller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiler LLVM v10.0 (branch: plo-dev, commit id: 2031626e55e6f8cd67aafb53142ada64a97db0d1) | |
Workload 1: webtooling (https://github.com/v8/web-tooling-benchmark) | |
Webtooling is simple to run. Only thing you need is to build node binary (Node.js runtime) | |
node-orignal node-with-propeller with-propeller/orig | |
score (runs/s) 10.15 9.53 0.939 <---- 7% regression in absolute throughput | |
binary-size (Bytes) 66,552,488 75,208,088 1.130 <--- size increased | |
cycles 403,260,331,520 419,827,132,716 1.041 <--- 4% more cycles | |
instructions 701,961,055,882 700,658,118,964 0.998 <--- instructions fairely remained same |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "clang version is: 10" > check_environment | |
if [[ ! -e "stage1/build/CMakeCache.txt" ]]; then mkdir -p stage1/build ; cd stage1/build && cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/mnt/sdb1/upawar/propeller-work/llvm-propeller/plo/stage1/install -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=On -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_USE_LINKER="lld" -DCMAKE_C_COMPILER=/mnt/sdb1/upawar/propeller-work/llvm-propeller/build/bin/clang -DCMAKE_CXX_COMPILER=/mnt/sdb1/upawar/propeller-work/llvm-propeller/build/bin/clang++ -DCMAKE_ASM_COMPILER=/mnt/sdb1/upawar/propeller-work/llvm-propeller/build/bin/clang -DLLVM_ENABLE_PROJECTS="clang;compiler-rt;lld" /mnt/sdb1/upawar/propeller-work/llvm-propeller/llvm; fi | |
-- The C compiler identification is Clang 10.0.0 | |
-- The CXX compiler identification is Clang 10.0.0 | |
-- The ASM compiler identification is unknown | |
-- Found assembler: /mnt/sdb1/upawar/propeller-work/llvm-propeller/build/bin/clang | |
-- Check for working C compiler: /mnt/sdb1/upawar/propeller-work/llvm-propeller/buil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { | |
SafeAreaView, | |
StyleSheet, | |
ScrollView, | |
View, | |
Text, | |
StatusBar, | |
Dimensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/54962925/react-native-error-when-opening-realm-on-more-than-one-screen | |
https://github.com/realm/realm-js/tree/master/examples/ReactExample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00000000012fd660 <Builtins_LoadIC_Megamorphic>: | |
12fd660: f6 c2 01 test $0x1,%dl | |
12fd663: 0f 84 5d 0a 00 00 je 12fe0c6 <Builtins_LoadIC_Megamorphic+0xa66> | |
12fd669: 4c 8b 42 ff mov -0x1(%rdx),%r8 | |
12fd66d: 4d 8b c8 mov %r8,%r9 | |
12fd670: 49 c1 e9 0d shr $0xd,%r9 | |
12fd674: 4d 33 c8 xor %r8,%r9 | |
12fd677: 44 8b 59 07 mov 0x7(%rcx),%r11d | |
12fd67b: 45 8b c9 mov %r9d,%r9d | |
12fd67e: 45 03 cb add %r11d,%r9d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) | |
0.74% 0.19% 0.00% 0.00% 0x28 1 1 1534622 0x7ffff783a29e 1581 1504 625 2450 158 [.] __pthread_mutex_trylock libpthread-2.31.so pthread_mutex_trylock.c:83 0{0,2-39,80,82-119> | |
| | |
---__GI___clone (inlined) | |
start_thread | |
| | |
|--60.97%--runFunc (inlined) | |
| mongo::unique_function<void ()>::operator() (inlined) | |
| call (inlined) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Samples: 41K of event 'cycles', Event count (approx.): 571106932626 | |
Overhead Command Shared Object Symbol | |
9.69% swapper [kernel.vmlinux] [k] acpi_processor_ffh_cstate_ | |
2.07% conn2 mongod [.] __wt_row_search | |
1.86% conn2 libc-2.31.so [.] __memmove_avx_unaligned_er | |
0.97% conn2 [kernel.vmlinux] [k] copy_user_enhanced_fast_st | |
0.94% conn2 mongod [.] __wt_lex_compare_short | |
0.89% conn2 mongod [.] __config_next | |
0.88% conn2 mongod [.] __wt_row_leaf_key.constpro | |
0.87% conn2 mongod [.] __wt_checksum_hw |
OlderNewer