Skip to content

Commit cdf5d53

Browse files
committed
Use phpbenchmarks/symfony dependency
1 parent 2e455e6 commit cdf5d53

File tree

23 files changed

+58
-16896
lines changed

23 files changed

+58
-16896
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ You can compare results between Apache Bench and Siege, PHP 5.6 to 7.2 and versi
1414

1515
It's benchmark source code for Symfony 2.7.
1616

17+
You will not find final source code here, as it's in [phpbenchmarks/symfony](https://github.com/phpbenchmarks/symfony/tree/1.0.0) dependency.
18+
1719
You can find how we benchmark it [here](http://www.phpbenchmarks.com/en/benchmark-protocol).
1820

1921
## Symfony 2.7.35

app/AppKernel.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ public function registerBundles()
2525
$bundles = array(
2626
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
2727
new Symfony\Bundle\TwigBundle\TwigBundle(),
28-
// new Symfony\Bundle\SecurityBundle\SecurityBundle(),
29-
// new Symfony\Bundle\AsseticBundle\AsseticBundle(),
30-
// new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
3128
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
3229
);
3330
foreach ($this->bundleClasses as $bundleClass) {

composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"sensio/distribution-bundle": "~4.0",
1919
"sensio/framework-extra-bundle": "^3.0.2",
2020
"incenteev/composer-parameter-handler": "~2.0",
21-
"phpbenchmarks/rest-benchmark-type": "dev-master"
21+
"phpbenchmarks/symfony": "1.0.0"
2222
},
2323
"require-dev": {
2424
"sensio/generator-bundle": "~2.3"
@@ -44,12 +44,6 @@
4444
"config": {
4545
"bin-dir": "bin"
4646
},
47-
"repositories": [
48-
{
49-
"type": "vcs",
50-
"url": "https://github.com/phpbenchmarks/rest-benchmark-type.git"
51-
}
52-
],
5347
"extra": {
5448
"symfony-app-dir": "app",
5549
"symfony-web-dir": "web",

composer.lock

Lines changed: 48 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/.htaccess

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/Bundle/HelloWorldBundle/Controller/HelloWorldController.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/Bundle/HelloWorldBundle/HelloWorldBundle.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/Bundle/HelloWorldBundle/Resources/config/routing.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/Bundle/RestBundle/Controller/RestController.php

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/Bundle/RestBundle/DependencyInjection/CompilerPass/AddTranslationsPass.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)