Skip to content

Commit 410f1ea

Browse files
committed
Lower amount of functions
1 parent 6672a42 commit 410f1ea

4 files changed

+232
-8
lines changed

Diff for: .github/workflows/linux_godot4_GL3_Normal.yml

+58-2
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,10 @@ jobs:
525525
run: |
526526
echo "" > settings.txt
527527
528-
echo "number_of_function_repeats: 30" >> settings.txt
528+
echo "number_of_function_repeats: 6" >> settings.txt
529529
echo "use_parent_methods: true" >> settings.txt
530530
echo "test_one_class_multiple_times: true" >> settings.txt
531+
echo "how_many_times_test_one_class: 2" >> settings.txt
531532
532533
- name: Run Project One By one, very big amount of functions
533534
run: |
@@ -575,8 +576,63 @@ jobs:
575576
run: |
576577
echo "" > settings.txt
577578
578-
echo "number_of_function_repeats: 20" >> settings.txt
579+
echo "number_of_function_repeats: 3" >> settings.txt
580+
echo "add_to_tree: true" >> settings.txt
581+
echo "use_parent_methods: true" >> settings.txt
582+
echo "test_one_class_multiple_times: true" >> settings.txt
583+
echo "how_many_times_test_one_class: 2" >> settings.txt
584+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
585+
586+
- name: Run Project One By one, very big amount of functions, Add to tree
587+
run: |
588+
for i in {0..50}; do echo "" >> project_results.txt; done;
589+
echo "======================================== One By one, very big amount of functions, Add to tree" 2>&1 | tee sanitizers_log.txt
590+
UBSAN_OPTIONS=suppressions=suppressions.supp DRI_PRIME=0 timeout -v 1260 xvfb-run ./godot.linuxbsd.editor.dev.x86_64.san FunctionExecutor.tscn 900 --audio-driver Dummy --rendering-driver opengl3 --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
591+
tail -n 200 sanitizers_log.txt >> project_results.txt
592+
593+
if [ -f "results.txt" ]; then
594+
if [ -f "results_end.txt" ]; then
595+
for i in {0..50}; do echo "" >> t.txt; done;
596+
cat "results.txt" "t.txt" "results_end.txt" > "temp.txt"
597+
mv "temp.txt" "results_end.txt"
598+
else
599+
cp "results.txt" "results_end.txt"
600+
fi
601+
fi
602+
603+
if [ -f "memory_usage.txt" ]; then
604+
if [ -f "memory_usage_end.txt" ]; then
605+
for i in {0..50}; do echo "" >> t.txt; done;
606+
cat "memory_usage.txt" "t.txt" "memory_usage_end.txt" > "temp.txt"
607+
mv "temp.txt" "memory_usage_end.txt"
608+
else
609+
cp "memory_usage.txt" "memory_usage_end.txt"
610+
fi
611+
fi
612+
613+
if [ -f "timer.txt" ]; then
614+
if [ -f "timer_end.txt" ]; then
615+
for i in {0..50}; do echo "" >> t.txt; done;
616+
cat "timer.txt" "t.txt" "timer_end.txt" > "temp.txt"
617+
mv "temp.txt" "timer_end.txt"
618+
else
619+
cp "timer.txt" "timer_end.txt"
620+
fi
621+
fi
622+
623+
- name: Configure Project Data
624+
run: |
625+
echo "" > settings.txt
626+
cp project.godot.old project.godot
627+
628+
- name: Configure Project Data
629+
run: |
630+
echo "" > settings.txt
631+
632+
echo "number_of_function_repeats: 2" >> settings.txt
579633
echo "use_parent_methods: true" >> settings.txt
634+
echo "how_many_times_test_one_class: 2" >> settings.txt
635+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
580636
581637
- name: Run Project Multiple classes, very big amount of functions
582638
run: |

Diff for: .github/workflows/linux_godot4_VulkanMobile_Normal.yml

+58-2
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,10 @@ jobs:
525525
run: |
526526
echo "" > settings.txt
527527
528-
echo "number_of_function_repeats: 30" >> settings.txt
528+
echo "number_of_function_repeats: 6" >> settings.txt
529529
echo "use_parent_methods: true" >> settings.txt
530530
echo "test_one_class_multiple_times: true" >> settings.txt
531+
echo "how_many_times_test_one_class: 2" >> settings.txt
531532
532533
- name: Run Project One By one, very big amount of functions
533534
run: |
@@ -575,8 +576,63 @@ jobs:
575576
run: |
576577
echo "" > settings.txt
577578
578-
echo "number_of_function_repeats: 20" >> settings.txt
579+
echo "number_of_function_repeats: 3" >> settings.txt
580+
echo "add_to_tree: true" >> settings.txt
581+
echo "use_parent_methods: true" >> settings.txt
582+
echo "test_one_class_multiple_times: true" >> settings.txt
583+
echo "how_many_times_test_one_class: 2" >> settings.txt
584+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
585+
586+
- name: Run Project One By one, very big amount of functions, Add to tree
587+
run: |
588+
for i in {0..50}; do echo "" >> project_results.txt; done;
589+
echo "======================================== One By one, very big amount of functions, Add to tree" 2>&1 | tee sanitizers_log.txt
590+
VK_ICD_FILENAMES=$(pwd)/vk_swiftshader_icd.json UBSAN_OPTIONS=suppressions=suppressions.supp DRI_PRIME=0 timeout -v 1260 xvfb-run ./godot.linuxbsd.editor.dev.x86_64.san FunctionExecutor.tscn 900 --audio-driver Dummy --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
591+
tail -n 200 sanitizers_log.txt >> project_results.txt
592+
593+
if [ -f "results.txt" ]; then
594+
if [ -f "results_end.txt" ]; then
595+
for i in {0..50}; do echo "" >> t.txt; done;
596+
cat "results.txt" "t.txt" "results_end.txt" > "temp.txt"
597+
mv "temp.txt" "results_end.txt"
598+
else
599+
cp "results.txt" "results_end.txt"
600+
fi
601+
fi
602+
603+
if [ -f "memory_usage.txt" ]; then
604+
if [ -f "memory_usage_end.txt" ]; then
605+
for i in {0..50}; do echo "" >> t.txt; done;
606+
cat "memory_usage.txt" "t.txt" "memory_usage_end.txt" > "temp.txt"
607+
mv "temp.txt" "memory_usage_end.txt"
608+
else
609+
cp "memory_usage.txt" "memory_usage_end.txt"
610+
fi
611+
fi
612+
613+
if [ -f "timer.txt" ]; then
614+
if [ -f "timer_end.txt" ]; then
615+
for i in {0..50}; do echo "" >> t.txt; done;
616+
cat "timer.txt" "t.txt" "timer_end.txt" > "temp.txt"
617+
mv "temp.txt" "timer_end.txt"
618+
else
619+
cp "timer.txt" "timer_end.txt"
620+
fi
621+
fi
622+
623+
- name: Configure Project Data
624+
run: |
625+
echo "" > settings.txt
626+
cp project.godot.old project.godot
627+
628+
- name: Configure Project Data
629+
run: |
630+
echo "" > settings.txt
631+
632+
echo "number_of_function_repeats: 2" >> settings.txt
579633
echo "use_parent_methods: true" >> settings.txt
634+
echo "how_many_times_test_one_class: 2" >> settings.txt
635+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
580636
581637
- name: Run Project Multiple classes, very big amount of functions
582638
run: |

Diff for: .github/workflows/linux_godot4_Vulkan_Normal.yml

+58-2
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,10 @@ jobs:
519519
run: |
520520
echo "" > settings.txt
521521
522-
echo "number_of_function_repeats: 30" >> settings.txt
522+
echo "number_of_function_repeats: 6" >> settings.txt
523523
echo "use_parent_methods: true" >> settings.txt
524524
echo "test_one_class_multiple_times: true" >> settings.txt
525+
echo "how_many_times_test_one_class: 2" >> settings.txt
525526
526527
- name: Run Project One By one, very big amount of functions
527528
run: |
@@ -569,8 +570,63 @@ jobs:
569570
run: |
570571
echo "" > settings.txt
571572
572-
echo "number_of_function_repeats: 20" >> settings.txt
573+
echo "number_of_function_repeats: 3" >> settings.txt
574+
echo "add_to_tree: true" >> settings.txt
575+
echo "use_parent_methods: true" >> settings.txt
576+
echo "test_one_class_multiple_times: true" >> settings.txt
577+
echo "how_many_times_test_one_class: 2" >> settings.txt
578+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
579+
580+
- name: Run Project One By one, very big amount of functions, Add to tree
581+
run: |
582+
for i in {0..50}; do echo "" >> project_results.txt; done;
583+
echo "======================================== One By one, very big amount of functions, Add to tree" 2>&1 | tee sanitizers_log.txt
584+
VK_ICD_FILENAMES=$(pwd)/vk_swiftshader_icd.json UBSAN_OPTIONS=suppressions=suppressions.supp DRI_PRIME=0 timeout -v 1260 xvfb-run ./godot.linuxbsd.editor.dev.x86_64.san FunctionExecutor.tscn 900 --audio-driver Dummy --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
585+
tail -n 200 sanitizers_log.txt >> project_results.txt
586+
587+
if [ -f "results.txt" ]; then
588+
if [ -f "results_end.txt" ]; then
589+
for i in {0..50}; do echo "" >> t.txt; done;
590+
cat "results.txt" "t.txt" "results_end.txt" > "temp.txt"
591+
mv "temp.txt" "results_end.txt"
592+
else
593+
cp "results.txt" "results_end.txt"
594+
fi
595+
fi
596+
597+
if [ -f "memory_usage.txt" ]; then
598+
if [ -f "memory_usage_end.txt" ]; then
599+
for i in {0..50}; do echo "" >> t.txt; done;
600+
cat "memory_usage.txt" "t.txt" "memory_usage_end.txt" > "temp.txt"
601+
mv "temp.txt" "memory_usage_end.txt"
602+
else
603+
cp "memory_usage.txt" "memory_usage_end.txt"
604+
fi
605+
fi
606+
607+
if [ -f "timer.txt" ]; then
608+
if [ -f "timer_end.txt" ]; then
609+
for i in {0..50}; do echo "" >> t.txt; done;
610+
cat "timer.txt" "t.txt" "timer_end.txt" > "temp.txt"
611+
mv "temp.txt" "timer_end.txt"
612+
else
613+
cp "timer.txt" "timer_end.txt"
614+
fi
615+
fi
616+
617+
- name: Configure Project Data
618+
run: |
619+
echo "" > settings.txt
620+
cp project.godot.old project.godot
621+
622+
- name: Configure Project Data
623+
run: |
624+
echo "" > settings.txt
625+
626+
echo "number_of_function_repeats: 2" >> settings.txt
573627
echo "use_parent_methods: true" >> settings.txt
628+
echo "how_many_times_test_one_class: 2" >> settings.txt
629+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
574630
575631
- name: Run Project Multiple classes, very big amount of functions
576632
run: |

Diff for: .github/workflows/linux_godot4_headless_Normal.yml

+58-2
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,10 @@ jobs:
519519
run: |
520520
echo "" > settings.txt
521521
522-
echo "number_of_function_repeats: 30" >> settings.txt
522+
echo "number_of_function_repeats: 6" >> settings.txt
523523
echo "use_parent_methods: true" >> settings.txt
524524
echo "test_one_class_multiple_times: true" >> settings.txt
525+
echo "how_many_times_test_one_class: 2" >> settings.txt
525526
526527
- name: Run Project One By one, very big amount of functions
527528
run: |
@@ -569,8 +570,63 @@ jobs:
569570
run: |
570571
echo "" > settings.txt
571572
572-
echo "number_of_function_repeats: 20" >> settings.txt
573+
echo "number_of_function_repeats: 3" >> settings.txt
574+
echo "add_to_tree: true" >> settings.txt
575+
echo "use_parent_methods: true" >> settings.txt
576+
echo "test_one_class_multiple_times: true" >> settings.txt
577+
echo "how_many_times_test_one_class: 2" >> settings.txt
578+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
579+
580+
- name: Run Project One By one, very big amount of functions, Add to tree
581+
run: |
582+
for i in {0..50}; do echo "" >> project_results.txt; done;
583+
echo "======================================== One By one, very big amount of functions, Add to tree" 2>&1 | tee sanitizers_log.txt
584+
UBSAN_OPTIONS=suppressions=suppressions.supp DRI_PRIME=0 timeout -v 1260 xvfb-run ./godot.linuxbsd.editor.dev.x86_64.san FunctionExecutor.tscn 900 --audio-driver Dummy --headless --path $(pwd) 2>&1 | tee sanitizers_log.txt || true
585+
tail -n 200 sanitizers_log.txt >> project_results.txt
586+
587+
if [ -f "results.txt" ]; then
588+
if [ -f "results_end.txt" ]; then
589+
for i in {0..50}; do echo "" >> t.txt; done;
590+
cat "results.txt" "t.txt" "results_end.txt" > "temp.txt"
591+
mv "temp.txt" "results_end.txt"
592+
else
593+
cp "results.txt" "results_end.txt"
594+
fi
595+
fi
596+
597+
if [ -f "memory_usage.txt" ]; then
598+
if [ -f "memory_usage_end.txt" ]; then
599+
for i in {0..50}; do echo "" >> t.txt; done;
600+
cat "memory_usage.txt" "t.txt" "memory_usage_end.txt" > "temp.txt"
601+
mv "temp.txt" "memory_usage_end.txt"
602+
else
603+
cp "memory_usage.txt" "memory_usage_end.txt"
604+
fi
605+
fi
606+
607+
if [ -f "timer.txt" ]; then
608+
if [ -f "timer_end.txt" ]; then
609+
for i in {0..50}; do echo "" >> t.txt; done;
610+
cat "timer.txt" "t.txt" "timer_end.txt" > "temp.txt"
611+
mv "temp.txt" "timer_end.txt"
612+
else
613+
cp "timer.txt" "timer_end.txt"
614+
fi
615+
fi
616+
617+
- name: Configure Project Data
618+
run: |
619+
echo "" > settings.txt
620+
cp project.godot.old project.godot
621+
622+
- name: Configure Project Data
623+
run: |
624+
echo "" > settings.txt
625+
626+
echo "number_of_function_repeats: 2" >> settings.txt
573627
echo "use_parent_methods: true" >> settings.txt
628+
echo "how_many_times_test_one_class: 2" >> settings.txt
629+
echo "maximum_executed_functions_on_object: 15" >> settings.txt
574630
575631
- name: Run Project Multiple classes, very big amount of functions
576632
run: |

0 commit comments

Comments
 (0)