Skip to content

Commit 139a1dd

Browse files
authored
Merge pull request #22 from 8fold/comparisons
update: Packet size-related details
2 parents 668e3ad + 61814fd commit 139a1dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,18 @@ These results are from February 26th, 2024:
8989

9090
|Configuration |Average time in milliseconds |Median time in milliseconds |Transfer size in kilobytes |
9191
|:---|---:|---:|---:|
92-
|1 |0.0399683 |0.0017415 |2.7kb |
93-
|2 |0.0953241 |0.0160480 |1.99kb |
94-
|3 |1.6026525 |1.4603320 |1.82kb |
95-
|4 |1.7849769 |1.7918970 |1.74kb |
96-
|5 |8.9957415 |8.8755520 |1.74kb |
92+
|1 |0.0399683 |0.0017415 |2.7 |
93+
|2 |0.0953241 |0.0160480 |1.99 |
94+
|3 |1.6026525 |1.4603320 |1.82 |
95+
|4 |1.7849769 |1.7918970 |1.74 |
96+
|5 |8.9957415 |8.8755520 |1.74 |
9797

9898
Things worth noting (as rough interpretations):
9999

100100
1. PHP being used as a template engine has a negligible impact on speed.
101101
2. Using `require_once` without PSR-4 autoloading decreases speed by roughly 1.5 milliseconds; however, once the code is made available, very little additional cost seems to be present.
102102
3. Using PSR-4 decreases speed by roughly 6 milliseconds; however, ensures everything is present and available.
103-
4. Using PHP HTML Build Document + Element resulted in 1 kilobyte in packet size.
103+
4. Using PHP HTML Build Document and Element resulted in 1 kilobyte in packet size. (Increased processing time in milliseconds most likely offset by decreased download time.)
104104

105105
## Details
106106

0 commit comments

Comments
 (0)