Skip to content

Commit 28a0479

Browse files
committed
feat: atualizar versões dos benchmarks de desempenho para v1.2.0 no CI/CD
1 parent fb803e3 commit 28a0479

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

.github/workflows/benchmark.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Performance Benchmarks v1.1.4
1+
name: Performance Benchmarks v1.2.0
22

33
# Automated performance benchmarks with Docker validation
44
# Validates Array Callable performance and object pooling improvements
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
performance-benchmarks:
2323
runs-on: ubuntu-latest
24-
name: Performance Benchmarks (PHP 8.1) - v1.1.4
24+
name: Performance Benchmarks (PHP 8.1) - v1.2.0
2525

2626
steps:
2727
- name: Checkout code
@@ -43,12 +43,12 @@ jobs:
4343
echo "🚀 Running Core Performance Benchmarks..."
4444
php benchmarks/QuietBenchmark.php
4545
46-
- name: Run Array Callable Performance Tests (v1.1.4)
46+
- name: Run Array Callable Performance Tests (v1.2.0)
4747
run: |
4848
echo "🔥 Running Array Callable Performance Tests..."
4949
php benchmarks/OptimizationBenchmark.php
5050
51-
- name: Run Object Pooling Benchmarks (v1.1.4)
51+
- name: Run Object Pooling Benchmarks (v1.2.0)
5252
run: |
5353
echo "⚡ Running Object Pooling Benchmarks..."
5454
php benchmarks/PoolOptimizationBenchmark.php
@@ -62,10 +62,10 @@ jobs:
6262
run: |
6363
echo ""
6464
echo "========================================="
65-
echo " PERFORMANCE BENCHMARKS - v1.1.4"
65+
echo " PERFORMANCE BENCHMARKS - v1.2.0"
6666
echo "========================================="
6767
echo ""
68-
echo "🏆 v1.1.4 Performance Achievements:"
68+
echo "🏆 v1.2.0 Performance Achievements:"
6969
echo " • Framework Performance: +116% improvement"
7070
echo " • Application Creation: 110,706 ops/sec"
7171
echo " • Array Callable: 28,899 ops/sec"
@@ -87,7 +87,7 @@ jobs:
8787
8888
docker-benchmarks:
8989
runs-on: ubuntu-latest
90-
name: Docker Benchmarks - v1.1.4
90+
name: Docker Benchmarks - v1.2.0
9191
needs: performance-benchmarks
9292

9393
steps:
@@ -118,13 +118,13 @@ jobs:
118118
run: |
119119
echo ""
120120
echo "========================================="
121-
echo " DOCKER BENCHMARKS - v1.1.4"
121+
echo " DOCKER BENCHMARKS - v1.2.0"
122122
echo "========================================="
123123
echo ""
124124
echo "🐳 Docker Environment:"
125-
echo " • Core v1.1.4: port 8080"
126-
echo " • ORM v1.1.4: port 8081"
127-
echo " • ReactPHP v1.1.4: port 8082"
125+
echo " • Core v1.2.0: port 8080"
126+
echo " • ORM v1.2.0: port 8081"
127+
echo " • ReactPHP v1.2.0: port 8082"
128128
echo " • MySQL 8.0: port 3306"
129129
echo " • Redis 7: port 6379"
130130
echo ""

.github/workflows/ci.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: CI/CD Pipeline v1.1.4
1+
name: CI/CD Pipeline v1.2.0
22

33
# Optimized CI/CD using consolidated scripts with automatic version detection
44
# Multi-PHP testing available locally via: ./scripts/testing/test-all-php-versions.sh
5-
# v1.1.4 includes Array Callable tests and performance benchmarks
5+
# v1.2.0 includes Simplicity Edition with CI-optimized performance benchmarks
66

77
on:
88
push:
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
quality-check:
1515
runs-on: ubuntu-latest
16-
name: Quality Validation (PHP 8.1) - v1.1.4
16+
name: Quality Validation (PHP 8.1) - v1.2.0
1717

1818
steps:
1919
- name: Checkout code
@@ -49,16 +49,16 @@ jobs:
4949
echo "🔍 Running consolidated quality validation..."
5050
echo "📋 Using automatic version detection from VERSION file"
5151
echo "💡 Multi-PHP testing done locally via: ./scripts/testing/test-all-php-versions.sh"
52-
echo "🔥 v1.1.4 includes Array Callable tests and performance benchmarks"
52+
echo "🔥 v1.2.0 includes Simplicity Edition with CI-optimized performance benchmarks"
5353
scripts/quality/quality-check.sh || { echo 'Quality check failed'; exit 1; }
5454
55-
- name: Run Array Callable Tests (v1.1.4)
55+
- name: Run Array Callable Tests (v1.2.0)
5656
run: |
5757
echo "🧪 Running Array Callable specific tests..."
5858
vendor/bin/phpunit tests/Unit/Routing/ArrayCallableTest.php --verbose
5959
vendor/bin/phpunit tests/Integration/Routing/ArrayCallableIntegrationTest.php --verbose
6060
61-
- name: Run Performance Benchmarks (v1.1.4)
61+
- name: Run Performance Benchmarks (v1.2.0)
6262
run: |
6363
echo "🚀 Running performance benchmarks..."
6464
php benchmarks/QuietBenchmark.php || echo "Benchmarks completed"
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
echo ""
7878
echo "========================================="
79-
echo " OPTIMIZED CI/CD SUMMARY - v1.1.4"
79+
echo " OPTIMIZED CI/CD SUMMARY - v1.2.0"
8080
echo "========================================="
8181
echo ""
8282
echo "✅ Quality validation completed (PHP 8.1)"
@@ -90,11 +90,12 @@ jobs:
9090
echo " • Version management: ./scripts/release/version-bump.sh"
9191
echo " • Docker tests: docker-compose -f pivotphp-benchmarks/docker-compose-v114.yml up"
9292
echo ""
93-
echo "🏆 v1.1.4 Features:"
94-
echo " • Array Callable Support: \$app->get('/users', [UserController::class, 'index'])"
95-
echo " • Performance: 84,998 ops/sec peak (Core), 19,707 req/sec (ReactPHP)"
96-
echo " • Object Pooling: 100% Request reuse, 99.9% Response reuse"
97-
echo " • Architectural Excellence: PSR-12 100% compliant"
93+
echo "🏆 v1.2.0 Simplicity Edition Features:"
94+
echo " • Simplified Architecture: Simple classes as defaults"
95+
echo " • CI-Optimized Performance: 25K+ ops/sec threshold in CI"
96+
echo " • Automatic OpenAPI/Swagger: ApiDocumentationMiddleware"
97+
echo " • Code Quality Excellence: Zero IDE warnings, PSR-12 100%"
98+
echo " • 100% Backward Compatible: Legacy namespace support"
9899
echo ""
99100
echo "🚀 Cross-Framework Performance (Docker Validated):"
100101
echo " • PivotPHP ReactPHP: 19,707 req/sec (🥇 1st place)"

0 commit comments

Comments
 (0)