Great to see `--dry-run` on the roadmap! One thing I'd love to see is if `proc kill` could show a confirmation table of exactly which PIDs would be targeted before executing, similar to how `terraform plan` works.
3 karma · joined November 22, 2025
I build high-performance simulation engines and deterministic safety infrastructure for AI Agents.
Current Focus: - SilverAI: Deterministic state guardrails for LLM agents on hardware (Python); - SNA: Cloud-native Discrete Event Simulation engine (C#); - go-onedrive: High-perf OneDrive SDK (Go).
Background: .NET Foundation Member. Github: https://github.com/goh-chunlin Blog: https://cuteprogramming.blog
Great to see `--dry-run` on the roadmap! One thing I'd love to see is if `proc kill` could show a confirmation table of exactly which PIDs would be targeted before executing, similar to how `terraform plan` works.
Perhaps you can start with comparing 1,000 individual INSERTs (each with its own COMMIT) vs. 1,000 INSERTs wrapped in a single BEGIN/COMMIT block. This test is particularly interesting for comparing different RDBMS because it reveals how each engine balances data durability (ACID) against performance. You will likely find that some DB have a much higher tax on commits than others, which is a key factor in choosing a DB for a specific use case.
Since you are in C, please make sure to use prepared statements. If you send raw SQL strings, you are partially benchmarking the string parser of the DB rather than the actual data manipulation. Also, remember to "warm up" the DB with a few hundred runs before you start the timer, otherwise, the results will be skewed by the initial disk-to-memory cache loading.
If clock_t is used, normally results will show the database is "blazing fast" because it does not count the time spent waiting for the hard drive to actually save the data.
You may need to look into CLOCK_MONOTONIC. clock_gettime(CLOCK_MONOTONIC, ...) will measure "Wall Clock" time.
Regarding the server mode (swatchify serve): Does the decoding step have a hard memory limit or dimension cap? Since image.Decode expands compressed files into full bitmaps, I am wondering if a large resolution upload (like a 4k print asset) could OOM-kill the container before the downscaler kicks in.