diff --git a/.gitignore b/.gitignore index e60b5fa..36527ed 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ graph* __pycache__/ files/stats/song files/home_visit_counter +home.html -html/ +html/* !html/thoughts/ +!html/blog diff --git a/changelog b/changelog index f9100cd..197adf1 100644 --- a/changelog +++ b/changelog @@ -31,4 +31,5 @@ 2024-08-19: rewrite .*-info pages, add footer, update home.html, make all* images links 2024-08-20: update my-laptop.html, create my-old-laptop.html 2024-08-27: test new home.html compiled from lisp code. -2024-09-01: switch to for content +2024-09-01: switch to htmlgen for content +2024-09-03: fix issue with changelog; update site-info.html; update style; add thought diff --git a/files/thought-issues.mp4 b/files/thought-issues.mp4 new file mode 100644 index 0000000..4aad1a7 Binary files /dev/null and b/files/thought-issues.mp4 differ diff --git a/html/thoughts/site-improvements b/html/thoughts/site-improvements new file mode 100644 index 0000000..42a703a --- /dev/null +++ b/html/thoughts/site-improvements @@ -0,0 +1,40 @@ + + +this site now uses htmlgen to generate html from common lisp and bash commands at compile time. +this has massively improved loading times on nearly all pages by cutting the number of bash commands that need to be used. +
+~/src/webbed-site λ hyperfine 'curl http://localhost:5002/html/random-thoughts-old.html' -m30 -M30 +Benchmark 1: curl http://localhost:5002/html/random-thoughts-old.html + Time (mean ± σ): 2.654 s ± 0.030 s [User: 0.002 s, System: 0.003 s] + Range (min … max): 2.590 s … 2.728 s 30 runs + +~/src/webbed-site λ hyperfine 'curl http://localhost:5002/html/random-thoughts.html' -m30 -M30 +Benchmark 1: curl http://localhost:5002/html/random-thoughts.html + Time (mean ± σ): 11.4 ms ± 0.8 ms [User: 1.5 ms, System: 2.8 ms] + Range (min … max): 10.2 ms … 13.1 ms 30 runs ++and +
+~/src/webbed-site λ hyperfine 'curl http://localhost:5002/html/natalie-info-old.html' -m30 -M30 +Benchmark 1: curl http://localhost:5002/html/natalie-info-old.html + Time (mean ± σ): 528.3 ms ± 8.4 ms [User: 1.8 ms, System: 2.7 ms] + Range (min … max): 508.3 ms … 545.3 ms 30 runs + +~/src/webbed-site λ hyperfine 'curl http://localhost:5002/html/natalie-info.html' -m30 -M30 +Benchmark 1: curl http://localhost:5002/html/natalie-info.html + Time (mean ± σ): 16.7 ms ± 1.2 ms [User: 1.1 ms, System: 3.2 ms] + Range (min … max): 15.0 ms … 20.6 ms 30 runs ++