Search

    MENU

    Performance

    The shape of a command.

    Zinn runs when you call it, does its work and exits. These are the numbers for that round trip, and the path they take.

    100 tasks · 1 comment each · CLI 0.44.0 · macOS arm64

    100 tasks · 1 comment each

    p50

    0.12 s

    Peak memory

    82 MB

    Output

    71.5 KB

    Database

    471 KB

    Nodes

    Commands

    What a command costs.

    The 100-task fixture, one comment per task. p50, p95, peak memory and output are measured for all seven commands.

    Commandp50p95Peak memoryOutput
    zinn task list117 ms124 ms81 MB6.6 KB
    zinn task list --json117 ms119 ms82 MB71.5 KB
    zinn task view BNCH-50113 ms115 ms79 MB737 B
    zinn task create157 ms161 ms81 MB66 B
    zinn task move BNCH-50 TODO156 ms159 ms81 MB62 B
    zinn task search amarillo BNCH116 ms117 ms80 MB390 B
    zinn backup155 ms160 ms80 MB140 B

    Project size

    What a bigger board costs.

    The same list command as the board grows. The 100, 1,000 and 10,000-task rows are measured.

    TasksDatabaseList timePeak memoryJSON output
    100471 KB117 ms81 MB71.5 KB
    1,0003.1 MB160 ms93 MB715.9 KB
    10,00029.0 MB3.45 s187 MB7.2 MB

    Storage

    What the database holds.

    Empty database
    123 KB
    Per task
    1.6 KB
    Per comment
    1.3 KB
    At 10,000 tasks
    29.0 MB

    An empty database is 123 KB. A task adds about 1.6 KB and a comment about 1.3 KB. At 10,000 tasks the file is 29.0 MB.

    Method

    What these figures are.

    Measured with CLI 0.44.0 and the packages it installs. Command times are medians of 30 runs, p95 is the nearest rank of those 30, and peak memory is the median per-run peak RSS from hyperfine. Each task has a 40-character title, a 200-character description and one 200-character comment.

    Node timings and install timings are placeholders. Estimated processor energy above idle, on an M4 MacBook Pro. The read flow uses about 0.20 mWh above idle, and Node accounts for 0.06 mWh.