Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Default profile for local testing. Other profiles are layered on top.
[profile.default]
# We do not run `ram_blowup_regression` by default as it's very slow
default-filter = "not test(ram_blowup_regression)"

[profile.ci]
# Do not cancel the test run on the first failure.
Expand All @@ -15,4 +17,4 @@ default-filter = "all()"
# fail fast to kick from merge queue faster.
fail-fast = true
# Disable fuzzing to avoid flakiness
default-filter = "not (package(noir_ast_fuzzer_fuzz) or test(arb_program_freqs_in_expected_range))"
default-filter = "not test(ram_blowup_regression) or not (package(noir_ast_fuzzer_fuzz) or test(arb_program_freqs_in_expected_range))"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tx_effects_hash_input = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
return = "0xdb0b87402b48f922326751cce8c963a7f32f92928409dce7790ad72e65eee4"
12 changes: 7 additions & 5 deletions test_programs/memory_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ PARSE_MEMORY=$(realpath "$(dirname "$0")/parse_memory.sh")


# Tests to be profiled for memory report
tests_to_profile=("execution_success/workspace" "execution_success/regression_4709" "compile_success_no_bug/ram_blowup_regression" "execution_success/global_var_regression_entry_points")
tests_to_profile=("workspace" "regression_4709" "ram_blowup_regression" "global_var_regression_entry_points")

current_dir=$(pwd)
base_path="$current_dir"
base_path="$current_dir/execution_success"

# If there is an argument that means we want to generate a report for only the current directory
if [ "$1" == "1" ]; then
Expand All @@ -24,8 +24,8 @@ FIRST="1"
FLAGS=${FLAGS:- ""}
echo "[" > memory_report.json

for test_path in ${tests_to_profile[@]}; do
cd $base_path/$test_path
for test_name in ${tests_to_profile[@]}; do
cd $base_path/$test_name

if [ $FIRST = "1" ]
then
Expand All @@ -34,7 +34,9 @@ for test_path in ${tests_to_profile[@]}; do
echo " ," >> $current_dir"/memory_report.json"
fi

test_name=$(basename $test_path)
if [ "$1" == "1" ]; then
test_name=$(basename $current_dir)
fi

COMMAND="compile --force --silence-warnings $FLAGS"
if [ "$2" == "1" ]; then
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading