You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-22Lines changed: 27 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ Benchmarking on components like template engines or ORM/Database libraries is ou
18
18
-[Benchmarking Policy](#benchmarking-policy)
19
19
-[How to Benchmark](#how-to-benchmark)
20
20
-[Commands](#commands)
21
+
-[Donate](#🍔-donate)
21
22
-[References](#references)
22
23
-[License](#license)
23
24
@@ -71,17 +72,17 @@ These are my benchmarks, not yours. **I encourage you to run on your (production
71
72
72
73
## Benchmarking Policy
73
74
74
-
This is `master` branch.
75
+
This is for the `main` branch.
75
76
76
-
*Install a framework via `composer` according to the official documentation.
77
-
*Use the default configuration.
78
-
*Consider minimum changes to run the benchmark.
79
-
*Don't remove any components/configurations even if there be no use for them.
80
-
*Have a `controller` class for the `Hello World`, considering the default template of a controller of your framework.
81
-
*Turn off `debug` mode and set environment to `production` mode.
82
-
*Run the general optimization in your production environment, like `--optimize-autoloader` for the composer.
77
+
*Frameworks installed via `composer` according to their official documentation.
78
+
*Used the default configuration.
79
+
*Considering the minimum changes on frameworks to run the benchmark.
80
+
*Didn't remove any components/configurations even if there is no use for them.
81
+
*We have a `controller` class to get the `Hello World` for each, based on the default template of each framework.
82
+
*Turned off the `debug` mode and set the environment to `production` mode.
83
+
*Considered general optimization for the production environment, like `--optimize-autoloader` for the composer.
83
84
84
-
Some frameworks are optimized more than others, so some people may think using default configuration is not fair. The dept of optimizing a framework depends on the developer's experience too, so it's the rabbit hole and there is no point in it. I think the default configuration of frameworks is a good starting point to get ranking.
85
+
Some frameworks are optimized more than others, so some people may think using default configuration is not fair. The dept of optimizing a framework depends on the experiences of the developer too, so it's the rabbit hole and there is no point in it. I think the default configuration of frameworks is a good starting point to get ranking.
85
86
86
87
If you find something wrong in my code, feel free to send a PR. But please note optimizing for the "Hello World" is not acceptable! Building the fastest `Hello World` application is not the goal of this project.
87
88
@@ -90,23 +91,26 @@ If you find something wrong in my code, feel free to send a PR. But please note
90
91
91
92
If you want to have benchmarks on `PHP extension frameworks` like Phalcon, you need to install the extension first based on its own documentation.
92
93
93
-
1- Download & install the library into your localhost:
0 commit comments