Artifact 25914474fa481567822d887e33369a0fbda28d2c0b9f659cefc6270cb9d9f06f:
- File
internal/manifest/log_noslog.go
-
2026-10-31 13:38:56
— part of check-in
[2abfe81c2a]
on branch spike/wasm-size
— perf(wasm): keep regexp, strings.Replacer and log/slog out of small builds
Spike for a smaller TinyGo engine (html-artifact-publisher). Behaviour on every platform is unchanged:
- repo: table names are checked with a byte loop, not a regexp, so a build that uses no other regexp leaves package regexp out (about 69 KB gzipped in the publisher's engine, with the engine's own two regexps). - fsltype: HTMLize escapes with a byte loop instead of a strings.Replacer (about 15 KB gzipped). - manifest: the package's diagnostics go through logDebug, logInfo and logWarn. By default they call log/slog as before. With the libfossil_noslog build tag they are written to stderr as plain lines and log/slog stays out (about 33 KB gzipped). Tests that assert on slog output need the default build. (user: [email protected], size: 997) [annotate] [blame] [check-ins using]
-
2026-10-31 14:22:49
— part of check-in
[f338cac5ba]
on branch main
— Merge pull request #529 from danmestas/spike/wasm-size
Keep regexp, strings.Replacer and log/slog out of small builds (user: [email protected], size: 997) [annotate] [blame] [check-ins using]
-
2026-10-31 13:38:56
— part of check-in
[2abfe81c2a]
on branch spike/wasm-size
— perf(wasm): keep regexp, strings.Replacer and log/slog out of small builds