Permalink
Browse files

replaced the distribution by a script able to convert a Symfony Stand…

…ard Edition distribution to a Symfony Hello World one
  • Loading branch information...
1 parent 33e546e commit 16ed808eed4fd82f31c1ff767e4c433bb5fdc4c0 @fabpot fabpot committed Aug 22, 2011
View
19 LICENSE
@@ -1,19 +0,0 @@
-Copyright (c) 2004-2011 Fabien Potencier
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
@@ -2,16 +2,9 @@ Symfony Hello World Edition
===========================
Symfony Hello World Edition is the Symfony distribution you want to use when
-doing "Hello World" benchmarks. It is configured to test the raw performance
-of the framework. This is also the distribution used by the Symfony core team
-to ensure that new versions of the framework do not degrade performance.
+doing "Hello World" benchmarks.
-If you got it from Github, you must first install the dependencies by
-executing the following command:
+It consists of one script (`optimize.sh`) that you need to run to get a fresh
+Symfony Standard Edition optimized for raw performance benchmarks.
- git submodule update --init
-
-Then, benchmark Symfony by getting the `/index.php/hello/Symfony` URL.
-
-You can also execute the `./bin/build.sh` script to create a small archive
-with all the needed files.
+Benchmark Symfony by getting the `/index.php/hello/Symfony` URL.
View
@@ -1,25 +0,0 @@
-<?php
-
-use Symfony\Component\HttpKernel\Kernel;
-use Symfony\Component\Config\Loader\LoaderInterface;
-
-class AppKernel extends Kernel
-{
- public function registerBundles()
- {
- return array(
- new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
- new Acme\HelloBundle\AcmeHelloBundle(),
- );
- }
-
- public function registerContainerConfiguration(LoaderInterface $loader)
- {
- $loader->load(__DIR__.'/config.yml');
- }
-
- public function getRootDir()
- {
- return __DIR__;
- }
-}
View
@@ -1,10 +0,0 @@
-<?php
-
-use Symfony\Component\ClassLoader\UniversalClassLoader;
-
-$loader = new UniversalClassLoader();
-$loader->registerNamespaces(array(
- 'Symfony' => __DIR__.'/../vendor/symfony/src',
- 'Acme' => __DIR__.'/../src',
-));
-$loader->register();
Oops, something went wrong.

0 comments on commit 16ed808

Please sign in to comment.