Repository navigation
Conversation
psiha
force-pushed
the
feat/size-report
branch
from
November 3, 2026 23:29
998fdf7 to
121fae3
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request due to rate limiting. Please try again later. See Usage limits for GitHub Copilot for details.
Adds scripts/sizes-installed.mjs: the size of an entry's packages, the native libraries in them and the server programs installed elsewhere. The runner stores it as a top-level installSize in the result file. Additive: no existing field changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
psiha
force-pushed
the
feat/size-report
branch
from
November 5, 2026 10:10
121fae3 to
0cb4bfb
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the size of the files a system consists of to the result file, as a top-level
installSize:packagesMBandfilesof the entry'snode_modulesnativeMB: each native library or addon of 1 MiB or more in them, by its pathprogramsMB: what is installed outsidenode_modules, such as a database server. An entry lists these inentry.jsonunderprograms(see the header of the script).It counts files, not an exact installed size: a package folder such as
RAMA_PATHcounts only the filesnpm packwould ship, the PostgreSQL server counts its programs plus thelibandsharefolders that belong to them (found the way itsdb.mjsfinds the programs, then on the PATH), a hard-linked file counts once, and a program that lies inside what is already counted is not listed twice.node scripts/sizes-installed.mjs <entry>prints the same object as the run stores, ornullwhere the run stores nothing. Sizes are bytes of file content, in MiB.If the files cannot be read or
entry.jsonis not valid, the run prints a warning, leavesinstallSizeout and goes on.Why
Nothing in the results says how big a system is. Package or binary size is one of the things people ask about when comparing engines.
Schema
Additive. A new top-level key, left out when nothing is found. The website reads only the fields it already used.
entry.jsongains an optionalprogramslist. A result from an older runner has noinstallSize.How it was checked
On a Linux box: a small script checks that hard links count once, a program inside
node_modulesor a repeated one is left out, and a malformedentry.jsonor an unreadable folder gives an error and not a partial result.duckdb-tablesafternpm installlists its packages and the twolibduckdb.so, and a run with--tests L1on the 10m dataset writes the same object into the result file.RAMA_PATHpointing at a package folder lists that package.Not checked:
postgres-tableswith the server installed,clickhouse-tables, other platforms.🤖 Generated with Claude Code