Browse Source

Create test_cpp_1.sh

blueloveTH 3 years ago
parent
commit
367858365a
1 changed files with 8 additions and 0 deletions
  1. 8 0
      test_cpp_1.sh

+ 8 - 0
test_cpp_1.sh

@@ -0,0 +1,8 @@
+g++ -o pocketpy src/main.cpp --std=c++17 -pg -O1 -pthread -Wno-literal-suffix
+
+./pocketpy tests/1.py
+
+gprof pocketpy gmon.out > gprof.txt
+
+#gprof pocketpy | gprof2dot | dot -Tsvg -o output.svg
+rm gmon.out