mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-25 23:02:27 +00:00
Mold the redbean binary to minimize page faults
This change brings page faults for precompressed static asset serving down from 27 to 20 (or fewer) after fork. This is more of an art than science. Hopefully Blinkenlights can visualize page faults soon.
This commit is contained in:
parent
2d34819779
commit
e56a9d0e23
14 changed files with 978 additions and 782 deletions
|
@ -185,6 +185,7 @@ int GetZipCfileMode(const uint8_t *);
|
|||
uint64_t GetZipCdirOffset(const uint8_t *);
|
||||
uint64_t GetZipCdirRecords(const uint8_t *);
|
||||
void *GetZipCdirComment(const uint8_t *);
|
||||
uint64_t GetZipCdirSize(const uint8_t *);
|
||||
uint64_t GetZipCdirCommentSize(const uint8_t *);
|
||||
uint64_t GetZipCfileUncompressedSize(const uint8_t *);
|
||||
uint64_t GetZipCfileCompressedSize(const uint8_t *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue