Skip to content

Commit a1939f7

Browse files
committed
docs: drop the explainer diagram and trim the performance section
1 parent b7818e2 commit a1939f7

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/target
22
.DS_Store
3+
/doc

README.fr.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ worker coûte 38 Mo, seize en coûtent 44.
4141
`$_SERVER` ne change presque pas d'une requête à l'autre, donc il est copié depuis une table
4242
de hachage persistante au lieu d'être réenregistré entrée par entrée.
4343

44-
Deux trucs étaient juste des bugs. `php_execute_script` fait un `chdir` aller-retour à chaque
45-
appel, ça coûtait 90 µs par requête. OPcache n'exécutait jamais son hook par requête en mode
46-
worker, donc rien de ce qui était écrit après le boot n'était caché.
47-
4844
## Utilisation
4945

5046
```sh

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ The app is booted before forking. Workers share its heap copy-on-write: one work
4040
`$_SERVER` barely changes between requests, so it is copied from a persistent hashtable
4141
instead of registered entry by entry.
4242

43-
Two things were just bugs. `php_execute_script` chdirs and back on every call, worth 90 µs per
44-
request. OPcache never ran its per-request hook in worker mode, so nothing written after boot
45-
was cached.
46-
4743
## Running it
4844

4945
```sh

0 commit comments

Comments
 (0)