Skip to content

Instantly share code, notes, and snippets.

View l0gicgate's full-sized avatar

Pierre B. l0gicgate

View GitHub Profile
@l0gicgate
l0gicgate / benchmark-instrumentation.diff
Created September 10, 2026 14:13
Strata PR #765: reproducible preview ownership benchmark and raw measurements
diff --git i/src/ui/preview/tests.rs w/src/ui/preview/tests.rs
index 64c32d6..809bdf0 100644
--- i/src/ui/preview/tests.rs
+++ w/src/ui/preview/tests.rs
@@ -236,6 +236,77 @@ fn replacing_repeated_media_previews_finalizes_previous_widget_trees() {
});
}
+fn benchmark_rss_kib() -> u64 {
+ std::fs::read_to_string("/proc/self/status")
@l0gicgate
l0gicgate / Cargo.lock
Created September 6, 2026 22:57
Strata PR #473 post-review search benchmarks: reproducible harness and raw results
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "aho-corasick"
version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
dependencies = [
@l0gicgate
l0gicgate / pr-286-print-progress.svg
Created September 4, 2026 20:28
Strata PR #286 print progress screenshot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@l0gicgate
l0gicgate / README.md
Created September 4, 2026 14:52
Strata PR #252: Small text-size clipping

Screenshot showing glyph clipping with the original 12px Small text-size setting in Strata PR #252.

@l0gicgate
l0gicgate / README.md
Created September 1, 2026 07:43
Strata #104 visual evidence

Strata issue 104 visual evidence

@l0gicgate
l0gicgate / 0x96f-theme.svg
Created August 31, 2026 22:07
Visual evidence for lgse/strata#76
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@l0gicgate
l0gicgate / README.md
Last active August 31, 2026 12:15
Reference images for lgse/strata issue #41

Strata issue #41 reference images

@l0gicgate
l0gicgate / worker.php
Last active June 16, 2020 02:30
Roadrunner Worker
<?php
declare(strict_types=1);
use DI\Container;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Slim\Factory\AppFactory;
<?php
namespace Application\Middleware;
use PDO;
use Psr\Log\LoggerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
<?php
declare(strict_types = 1);
use Psr\Http\Message\ServerRequestInterface;
use Slim\Exception\HttpInternalServerErrorException;
use Slim\ResponseEmitter;
class ShutdownHandler
{
private ServerRequestInterface $request = null;