cosmopolitan/tool/net/demo
Justine Tunney 80b211e314 Add raw memory visualization tool to redbean
This change introduces a `-W /dev/pts/1` flag to redbean. What it does
is use the mincore() system call to create a dual-screen terminal
display that lets you troubleshoot the virtual address space. This is
useful since page faults are an important thing to consider when using a
forking web server. Now we have a colorful visualization of which pages
are going to fault and which ones are resident in memory.

The memory monitor, if enabled, spawns as a thread that just outputs
ANSI codes to the second terminal in a loop. In order to make this
happen using the new clone() polyfill, stdio is now thread safe.

This change also introduces some new demo pages to redbean. It also
polishes the demos we already have, to look a bit nicer and more
presentable for the upcoming release, with better explanations too.
2022-05-14 04:33:58 -07:00
..
.lua Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
.init.lua Make improvements 2022-04-24 10:06:05 -07:00
.reload.lua Support OnHttpRequest Lua callback 2021-04-24 17:27:12 -07:00
404.html Support OnHttpRequest Lua callback 2021-04-24 17:27:12 -07:00
binarytrees.lua Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
call-lua-module.lua Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
closedsource.lua Add Lua compiler 2021-08-09 13:09:14 -07:00
crashreport.lua Make improvements 2022-04-24 10:06:05 -07:00
fetch.lua Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
index.html Support OnHttpRequest Lua callback 2021-04-24 17:27:12 -07:00
maxmind.lua Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
opensource.lua Add Lua compiler 2021-08-09 13:09:14 -07:00
printpayload.lua Add state assertions to redbean Lua APIs 2021-08-09 15:35:38 -07:00
redbean-form.lua Support OnHttpRequest Lua callback 2021-04-24 17:27:12 -07:00
redbean-xhr.lua Support OnHttpRequest Lua callback 2021-04-24 17:27:12 -07:00
redbean.css Support OnHttpRequest Lua callback 2021-04-24 17:27:12 -07:00
redbean.lua Make improvements 2022-04-24 10:06:05 -07:00
script.lua Make improvements 2022-04-26 16:46:15 -07:00
seekable.txt Support OnHttpRequest Lua callback 2021-04-24 17:27:12 -07:00
sql.lua Tune SQLite build for redbean (#97) 2021-06-10 08:00:08 -07:00
store-asset.lua Add raw memory visualization tool to redbean 2022-05-14 04:33:58 -07:00
unix-dir.lua Make improvements 2022-04-26 16:46:15 -07:00
unix-info.lua Fix some example code 2022-04-29 08:19:09 -07:00
unix-raise.lua Make improvements 2022-04-26 16:46:15 -07:00
unix-rawsocket.lua Make improvements 2022-04-26 16:46:15 -07:00
unix-subprocess.lua Make improvements 2022-04-28 09:57:07 -07:00
unix-webserver.lua Make improvements 2022-04-26 16:46:15 -07:00
virtualbean.html Set up http://redbean.justine.lol/ demo server 2021-04-24 19:49:49 -07:00