From 367858365a3d9d69272615373947790fbdfacf37 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 19 Nov 2022 16:12:14 +0800 Subject: [PATCH] Create test_cpp_1.sh --- test_cpp_1.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test_cpp_1.sh diff --git a/test_cpp_1.sh b/test_cpp_1.sh new file mode 100644 index 00000000..de57a2c9 --- /dev/null +++ b/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 \ No newline at end of file