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
5 changes: 0 additions & 5 deletions packages/core/e2e-tests/benchmark.mts
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,6 @@ async function main() {
` - ${r.name}: ${r.comparison?.meanDiffPercent?.toFixed(2)}% slower`,
);
});

// Exit with error code if regressions detected
if (process.env.CI === 'true') {
process.exit(1);
}
}

const improvements = comparisons.filter((c) => c.comparison?.isImprovement);
Expand Down
6 changes: 3 additions & 3 deletions packages/core/e2e-tests/benchmarks/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const BENCHMARK_CONFIGS: BenchmarkOptions[] = [
{
name: 'Three.js Real Repository (JS)',
target: 'three-js-project/index.html',
samples: 5,
samples: 7,
warmupRuns: 1,
buildOptions: {
mode: 'production',
Expand All @@ -20,9 +20,9 @@ export const BENCHMARK_CONFIGS: BenchmarkOptions[] = [
},
},
{
name: 'Three.js Real Repository (Native)',
name: 'Three.js Real Repository (V3)',
target: 'three-js-project/index.html',
samples: 5,
samples: 7,
warmupRuns: 1,
buildOptions: {
mode: 'production',
Expand Down
1 change: 0 additions & 1 deletion scripts/benchmarks/check-regressions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if [ -f "$RESULTS_FILE" ]; then
if grep -q "🔴 Regression" "$RESULTS_FILE"; then
echo "❌ Performance regressions detected!"
cat "$RESULTS_FILE"
exit 1
else
echo "✅ No performance regressions detected"
cat "$RESULTS_FILE"
Expand Down
6 changes: 2 additions & 4 deletions scripts/benchmarks/run-benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ if [ -f "$BASELINE_OUTPUT_DIR/baseline-report.json" ]; then
yarn benchmark \
--output="$BASELINE_OUTPUT_DIR" \
--baseline="$BASELINE_OUTPUT_DIR/baseline-report.json" \
--github-comment \
--samples=3
--github-comment
else
echo "🔄 Running benchmarks without baseline..."
yarn benchmark \
--output="$BASELINE_OUTPUT_DIR" \
--github-comment \
--samples=3
--github-comment
fi

cd "$GITHUB_WORKSPACE"
Loading