Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: remove performance tests #6836

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
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
18 changes: 0 additions & 18 deletions .github/workflows/api-performance-test.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/reusable-api-performance-test.yml

This file was deleted.

9 changes: 0 additions & 9 deletions api/.env.performance_test

This file was deleted.

8 changes: 0 additions & 8 deletions api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,6 @@
"vendor/bin/phpunit -d memory_limit=-1 -d --update-snapshots tests/Api/SnapshotTests",
"vendor/bin/phpunit -d memory_limit=-1 -d --update-snapshots tests/Util/ArrayDeepSortTest.php"
],
"performance_test": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit -d memory_limit=-1 -c phpunit.performance_test.xml.dist"
],
"performance_test_update-snapshots": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit -d memory_limit=-1 -d --update-snapshots -c phpunit.performance_test.xml.dist"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
Expand Down
10 changes: 5 additions & 5 deletions api/config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
DoctrineBundle::class => ['all' => true],
ApiPlatformBundle::class => ['all' => true],
NelmioCorsBundle::class => ['all' => true],
WebProfilerBundle::class => ['dev' => true, 'test' => true, 'performance_test' => true],
WebProfilerBundle::class => ['dev' => true, 'test' => true],
MakerBundle::class => ['dev' => true],
DoctrineMigrationsBundle::class => ['all' => true],
MonologBundle::class => ['all' => true],
DebugBundle::class => ['dev' => true, 'test' => true, 'performance_test' => true],
DebugBundle::class => ['dev' => true, 'test' => true],
StofDoctrineExtensionsBundle::class => ['all' => true],
LexikJWTAuthenticationBundle::class => ['all' => true],
NelmioAliceBundle::class => ['dev' => true, 'test' => true, 'performance_test' => true],
FidryAliceDataFixturesBundle::class => ['dev' => true, 'test' => true, 'performance_test' => true],
HautelookAliceBundle::class => ['dev' => true, 'test' => true, 'performance_test' => true],
NelmioAliceBundle::class => ['dev' => true, 'test' => true],
FidryAliceDataFixturesBundle::class => ['dev' => true, 'test' => true],
HautelookAliceBundle::class => ['dev' => true, 'test' => true],
ExerciseHTMLPurifierBundle::class => ['all' => true],
KnpUOAuth2ClientBundle::class => ['all' => true],
SentryBundle::class => ['all' => true],
Expand Down
4 changes: 0 additions & 4 deletions api/config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,3 @@ framework:
when@test:
framework:
test: true

when@performance_test:
framework:
test: true
2 changes: 0 additions & 2 deletions api/config/packages/performance_test/doctrine.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/doctrine_migrations.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/hautelook_alice.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/http_cache.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/mailer.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/monolog.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/nelmio_alice.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/routing.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/validator.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions api/config/packages/performance_test/web_profiler.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions api/config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,25 +72,3 @@ when@test:
cost: 4 # Lowest possible value for bcrypt
time_cost: 3 # Lowest possible value for argon
memory_cost: 10 # Lowest possible value for argon
when@performance_test:
security:
password_hashers:
# By default, password hashers are resource intensive and take time. This is
# important to generate secure password hashes. In tests however, secure hashes
# are not important, waste resources and increase test times. The following
# reduces the work factor to the lowest possible values.
App\Entity\User:
algorithm: auto
cost: 4 # Lowest possible value for bcrypt
time_cost: 3 # Lowest possible value for argon
memory_cost: 10 # Lowest possible value for argon
PasswordResetKey:
algorithm: auto
cost: 4 # Lowest possible value for bcrypt
time_cost: 3 # Lowest possible value for argon
memory_cost: 10 # Lowest possible value for argon
EmailVerification:
algorithm: auto
cost: 4 # Lowest possible value for bcrypt
time_cost: 3 # Lowest possible value for argon
memory_cost: 10 # Lowest possible value for argon
136 changes: 0 additions & 136 deletions api/fixtures/performance_test/activities.yml

This file was deleted.

13 changes: 0 additions & 13 deletions api/fixtures/performance_test/activity-progress-labels.yml

This file was deleted.

7 changes: 0 additions & 7 deletions api/fixtures/performance_test/activityResponsibles.yml

This file was deleted.

11 changes: 0 additions & 11 deletions api/fixtures/performance_test/campCollaborations.yml

This file was deleted.

13 changes: 0 additions & 13 deletions api/fixtures/performance_test/camps.yml

This file was deleted.

Loading