Add script to compile stats
Run it this way: git checkout cmichi-time-native-calls cargo run --release -- purge-chain --dev cargo run --release -- --dev > /tmp/rust_native 2>&1 git checkout cmichi-time-wasm-calls cargo run --release -- purge-chain --dev cargo run --release -- --dev > /tmp/wasmi 2>&1 git checkout cmichi-profile-native-compiled-wasm-2nd-approach cargo run --release -- purge-chain --dev cargo run --release -- --dev > /tmp/wasm2 2>&1 git checkout cmichi-profile-native-compiled-wasm-2nd-approach sed -i '/MEMCHECK(mem, addr, t1);/d' node_runtime.c gcc -fPIC -rdynamic -shared -o libnode_runtime.so node_runtime.c wasm-rt-impl.c cp -f libnode_runtime.so target/release/deps/ cargo run --release -- purge-chain --dev cargo run --release -- --dev > /tmp/wasm2c_wo_bc 2>&1 ./compile-stats.sh
parent
46d93866
Please register or sign in to comment