phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
@ -12,7 +12,7 @@ rm -f perf_test_*.txt
|
||||
# 動的版(現在)
|
||||
echo "1️⃣ 動的版 (dynamic-file feature 有効)"
|
||||
echo -n " 実行時間: "
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.nyash > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.hako > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
rm -f perf_test_*.txt
|
||||
|
||||
# 静的版ビルド
|
||||
@ -24,7 +24,7 @@ cargo build --release --no-default-features -j32 > /dev/null 2>&1
|
||||
echo ""
|
||||
echo "2️⃣ 静的版 (FileBox組み込み)"
|
||||
echo -n " 実行時間: "
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.nyash > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.hako > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
rm -f perf_test_*.txt
|
||||
|
||||
# 複数回測定
|
||||
@ -34,7 +34,7 @@ echo ""
|
||||
echo "動的版:"
|
||||
for i in {1..5}; do
|
||||
echo -n " Run $i: "
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.nyash > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.hako > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
rm -f perf_test_*.txt
|
||||
done
|
||||
|
||||
@ -45,7 +45,7 @@ echo ""
|
||||
echo "静的版:"
|
||||
for i in {1..5}; do
|
||||
echo -n " Run $i: "
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.nyash > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
{ time RUST_LOG=error ./target/release/nyash local_tests/benchmark_filebox_simple.hako > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'
|
||||
rm -f perf_test_*.txt
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user