diff options
| -rw-r--r-- | _config.yml | 2 | ||||
| -rw-r--r-- | _log/vcs-1.md | 12 | ||||
| -rw-r--r-- | assets/css/main.css | 11 |
3 files changed, 16 insertions, 9 deletions
diff --git a/_config.yml b/_config.yml index 3a2b528..a327ffb 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ -title: "Log" +title: "Journal" baseurl: "" # keep empty for root or subpath like /blog author: diff --git a/_log/vcs-1.md b/_log/vcs-1.md index 8fce6ff..58cb896 100644 --- a/_log/vcs-1.md +++ b/_log/vcs-1.md @@ -80,7 +80,7 @@ Performed on T490 (i7-10510U, OpenBSD 7.8) against git v2.51.0: Small repo: -``` +<pre class="pre-no-style"> ============================================================= BENCHMARK: 200 files @ 20 depth ============================================================= @@ -128,11 +128,11 @@ Page faults | Maj:0 / Min:0 | Maj:0 / Min:0 Inodes | 347 | 397 Repo size | 4212 KB | 3496 KB ------------------------------------------------------------- -``` +</pre> Larger repo: -``` +<pre class="pre-no-style"> ============================================================= BENCHMARK: 5000 files @ 50 depth ============================================================= @@ -180,11 +180,11 @@ Page faults | Maj:0 / Min:0 | Maj:0 / Min:0 Inodes | 5264 | 5342 Repo size | 91620 KB | 70592 KB ------------------------------------------------------------- -``` +</pre> ### Impact of commits over time -``` +<pre class="pre-no-style"> ============================================================= REBASE BENCHMARK: 1000 files (100 commits) CONDITIONS: Depth=2, Files Mod=5%, Change=50% @@ -247,7 +247,7 @@ Repo size | 20864 KB | 37008 KB ------------------------------------------------------------- TOTAL URN REBASES: 273 -``` +</pre> Git wins on speed and memory. Cold start is the exception — urn's add + commit beats git there. Git's zlib compression wins on initial disk usage. diff --git a/assets/css/main.css b/assets/css/main.css index 7ef24e5..0e5b959 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -32,8 +32,15 @@ pre, code { color: #ffb300; } -pre { - margin-bottom: 2rem; +.pre-no-style { + display: block; + border: none; + padding: 1em; + background: none; + color: inherit; + overflow-x: auto; + scrollbar-width: none; + -ms-overflow-style: none; } pre::-webkit-scrollbar { |
