Speed budgets
Speed is something furca promises, not something it hopes for. Each promise below is a budget: an operation, the kind of repository it is measured on, and how long it may take. The benchmark that measures them is part of the gate - a broken budget fails the build the same way a failing test does - and every release carries the numbers its own build measured on Windows, Linux and macOS.
Promised
Measured on a synthetic repository of 100,000 commits - a mainline with merged feature branches, open branches, tags and commits from slow clocks - and, for the working copy, a synthetic project of 10,000 files.
| What | Repository | Budget |
|---|---|---|
| Open a repository and lay out the first 500 rows of its graph, from every branch and tag, with the commits on them | packed+commit-graph | < 100 ms |
| The same, on a repository without a commit-graph file | packed | measured, not promised |
| Start the desktop app to its window on the screen, in the theme's colours, before anything is read | packed+commit-graph | < 300 ms |
| Start the desktop app with a repository open, to the first frame that shows it: its tab in the title bar, its branches in the left column and the first rows of its graph | packed+commit-graph | measured, not promised |
| Three repositories open in the window, each one read and its whole graph laid out: the memory the app and its webview hold together | packed+commit-graph | < 300 MB, not on Linux |
| Open the first diff in the window - the 5 000-line file the core's budget reads, one line in four rewritten - from asking for it to the frame that shows it side by side and highlighted | packed+commit-graph | < 300 ms |
| A file of a 10 000-file working copy is saved: open the repository, bring the status up to date by that path, and read the file for its row | 10k-files | < 50 ms |
| The same working copy with nothing known about it: every tracked file looked at, the tree walked past an ignored build folder of 5 000 files | 10k-files | measured, not promised |
| Open the change of a 5 000-line file that a commit rewrote one line in four: what the commit changed, both sides of the file, and the hunks between them | packed+commit-graph | < 30 ms |
The same, on a repository without a commit-graph file, on packed: Not promised. Without generation numbers the exact order needs the whole history walked first, and git itself takes as long. The window closes this: it has git write the commit-graph when a repository lacks one.
Start the desktop app with a repository open, to the first frame that shows it: its tab in the title bar, its branches in the left column and the first rows of its graph, on packed+commit-graph: Not promised. Most of it is the system's webview starting, which the window cannot hurry: some 400 ms on the machine the numbers come from, where a page that draws nothing at all paints no sooner. The window is on the screen long before it, and the repository is read while the webview starts.
Three repositories open in the window, each one read and its whole graph laid out: the memory the app and its webview hold together, on packed+commit-graph: Not promised on Linux, where it is measured on a CI machine with no GPU: WebKitGTK draws in software on a virtual display, and that costs most of the number before the window shows anything - some 300 MB with nothing but the left column on the screen. The promise is held where the webview draws as it does on a desktop, and every platform's number is published.
The same working copy with nothing known about it: every tracked file looked at, the tree walked past an ignored build folder of 5 000 files, on 10k-files: Not promised. It is what opening a repository pays, once; a save pays only for the path the watcher names.
Measured
| Release | Platform | Budget | Repository | Median | 90th percentile | Kept |
|---|---|---|---|---|---|---|
| v0.17.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 9.3 ms | 15.8 ms | kept (< 100 ms) |
| v0.17.0 | macos aarch64 | graph-first-500 | packed | 541.9 ms | 646.1 ms | - |
| v0.17.0 | macos aarch64 | status-after-save | 10k-files | 3.3 ms | 4.2 ms | kept (< 50 ms) |
| v0.17.0 | macos aarch64 | status-whole | 10k-files | 47.2 ms | 64.9 ms | - |
| v0.17.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 3.3 ms | 3.9 ms | kept (< 30 ms) |
| v0.17.0 | macos aarch64 | window-on-screen | packed+commit-graph | 223.7 ms | 300.2 ms | kept (< 300 ms) |
| v0.17.0 | macos aarch64 | window-first-repository | packed+commit-graph | 5,398 ms | 6,334.5 ms | - |
| v0.17.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 294 ms | 351 ms | kept (< 300 ms) |
| v0.17.0 | windows x86_64 | window-on-screen | packed+commit-graph | 52.4 ms | 55.1 ms | kept (< 300 ms) |
| v0.17.0 | windows x86_64 | window-first-repository | packed+commit-graph | 817.3 ms | 850.4 ms | - |
| v0.17.0 | windows x86_64 | window-memory | packed+commit-graph | 148.7 MB | 156 MB | kept (< 300 MB) |
| v0.17.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 104 ms | 111 ms | kept (< 300 ms) |
| v0.17.0 | linux x86_64 | window-on-screen | packed+commit-graph | 65.6 ms | 88.1 ms | kept (< 300 ms) |
| v0.17.0 | linux x86_64 | window-first-repository | packed+commit-graph | 733.7 ms | 750.4 ms | - |
| v0.17.0 | linux x86_64 | window-memory | packed+commit-graph | 388.4 MB | 394.3 MB | - |
| v0.17.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 160 ms | 182 ms | kept (< 300 ms) |
| v0.17.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 14.2 ms | 14.6 ms | kept (< 100 ms) |
| v0.17.0 | windows x86_64 | graph-first-500 | packed | 530.7 ms | 535.8 ms | - |
| v0.17.0 | windows x86_64 | status-after-save | 10k-files | 6.7 ms | 7 ms | kept (< 50 ms) |
| v0.17.0 | windows x86_64 | status-whole | 10k-files | 49.1 ms | 52.5 ms | - |
| v0.17.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 5.4 ms | 6 ms | kept (< 30 ms) |
| v0.17.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 5.9 ms | 6 ms | kept (< 100 ms) |
| v0.17.0 | linux x86_64 | graph-first-500 | packed | 438 ms | 446.5 ms | - |
| v0.17.0 | linux x86_64 | status-after-save | 10k-files | 2.7 ms | 2.7 ms | kept (< 50 ms) |
| v0.17.0 | linux x86_64 | status-whole | 10k-files | 49.5 ms | 50.1 ms | - |
| v0.17.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 2.6 ms | 2.6 ms | kept (< 30 ms) |
| v0.16.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 8.8 ms | 12.7 ms | kept (< 100 ms) |
| v0.16.0 | macos aarch64 | graph-first-500 | packed | 587.6 ms | 648.7 ms | - |
| v0.16.0 | macos aarch64 | status-after-save | 10k-files | 5.2 ms | 47.1 ms | kept (< 50 ms) |
| v0.16.0 | macos aarch64 | status-whole | 10k-files | 89.8 ms | 104.1 ms | - |
| v0.16.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 3.6 ms | 4.2 ms | kept (< 30 ms) |
| v0.16.0 | macos aarch64 | window-on-screen | packed+commit-graph | 176.6 ms | 238.3 ms | kept (< 300 ms) |
| v0.16.0 | macos aarch64 | window-first-repository | packed+commit-graph | 4,892.2 ms | 5,711.8 ms | - |
| v0.16.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 291 ms | 354 ms | kept (< 300 ms) |
| v0.16.0 | windows x86_64 | window-on-screen | packed+commit-graph | 49.5 ms | 51.2 ms | kept (< 300 ms) |
| v0.16.0 | windows x86_64 | window-first-repository | packed+commit-graph | 758.6 ms | 774.3 ms | - |
| v0.16.0 | windows x86_64 | window-memory | packed+commit-graph | 146.5 MB | 154.8 MB | kept (< 300 MB) |
| v0.16.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 119 ms | 124 ms | kept (< 300 ms) |
| v0.16.0 | linux x86_64 | window-on-screen | packed+commit-graph | 66.6 ms | 67.5 ms | kept (< 300 ms) |
| v0.16.0 | linux x86_64 | window-first-repository | packed+commit-graph | 748.5 ms | 779.6 ms | - |
| v0.16.0 | linux x86_64 | window-memory | packed+commit-graph | 390.1 MB | 392.8 MB | - |
| v0.16.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 163 ms | 207 ms | kept (< 300 ms) |
| v0.16.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 14.1 ms | 14.3 ms | kept (< 100 ms) |
| v0.16.0 | windows x86_64 | graph-first-500 | packed | 544.3 ms | 552.3 ms | - |
| v0.16.0 | windows x86_64 | status-after-save | 10k-files | 7.1 ms | 7.2 ms | kept (< 50 ms) |
| v0.16.0 | windows x86_64 | status-whole | 10k-files | 52.5 ms | 57.3 ms | - |
| v0.16.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 5.2 ms | 6.1 ms | kept (< 30 ms) |
| v0.16.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 5.5 ms | 5.5 ms | kept (< 100 ms) |
| v0.16.0 | linux x86_64 | graph-first-500 | packed | 441.9 ms | 457.6 ms | - |
| v0.16.0 | linux x86_64 | status-after-save | 10k-files | 2.8 ms | 2.8 ms | kept (< 50 ms) |
| v0.16.0 | linux x86_64 | status-whole | 10k-files | 49.4 ms | 50.1 ms | - |
| v0.16.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 2.5 ms | 2.6 ms | kept (< 30 ms) |
| v0.15.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 6.3 ms | 6.7 ms | kept (< 100 ms) |
| v0.15.0 | macos aarch64 | graph-first-500 | packed | 606.2 ms | 666.4 ms | - |
| v0.15.0 | macos aarch64 | status-after-save | 10k-files | 5.5 ms | 8.5 ms | kept (< 50 ms) |
| v0.15.0 | macos aarch64 | status-whole | 10k-files | 112.3 ms | 130.8 ms | - |
| v0.15.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 5.1 ms | 14.3 ms | kept (< 30 ms) |
| v0.15.0 | macos aarch64 | window-on-screen | packed+commit-graph | 183.6 ms | 270.6 ms | kept (< 300 ms) |
| v0.15.0 | macos aarch64 | window-first-repository | packed+commit-graph | 5,066.1 ms | 5,656.7 ms | - |
| v0.15.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 279 ms | 353 ms | kept (< 300 ms) |
| v0.15.0 | windows x86_64 | window-on-screen | packed+commit-graph | 68.5 ms | 71.2 ms | kept (< 300 ms) |
| v0.15.0 | windows x86_64 | window-first-repository | packed+commit-graph | 1,021.9 ms | 1,051.1 ms | - |
| v0.15.0 | windows x86_64 | window-memory | packed+commit-graph | 145.9 MB | 148.9 MB | kept (< 300 MB) |
| v0.15.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 127 ms | 130 ms | kept (< 300 ms) |
| v0.15.0 | linux x86_64 | window-on-screen | packed+commit-graph | 77 ms | 78.2 ms | kept (< 300 ms) |
| v0.15.0 | linux x86_64 | window-first-repository | packed+commit-graph | 910.3 ms | 944.1 ms | - |
| v0.15.0 | linux x86_64 | window-memory | packed+commit-graph | 393.2 MB | 393.3 MB | - |
| v0.15.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 213 ms | 265 ms | kept (< 300 ms) |
| v0.15.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 13.7 ms | 14.4 ms | kept (< 100 ms) |
| v0.15.0 | windows x86_64 | graph-first-500 | packed | 518 ms | 527.4 ms | - |
| v0.15.0 | windows x86_64 | status-after-save | 10k-files | 7.1 ms | 7.3 ms | kept (< 50 ms) |
| v0.15.0 | windows x86_64 | status-whole | 10k-files | 51.6 ms | 57.7 ms | - |
| v0.15.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 5.5 ms | 6.2 ms | kept (< 30 ms) |
| v0.15.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 6 ms | 6.2 ms | kept (< 100 ms) |
| v0.15.0 | linux x86_64 | graph-first-500 | packed | 505.3 ms | 517.5 ms | - |
| v0.15.0 | linux x86_64 | status-after-save | 10k-files | 3.1 ms | 3.1 ms | kept (< 50 ms) |
| v0.15.0 | linux x86_64 | status-whole | 10k-files | 48.3 ms | 49 ms | - |
| v0.15.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 2.7 ms | 2.8 ms | kept (< 30 ms) |
| v0.14.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 8.1 ms | 14.3 ms | kept (< 100 ms) |
| v0.14.0 | macos aarch64 | graph-first-500 | packed | 513.5 ms | 566.9 ms | - |
| v0.14.0 | macos aarch64 | status-after-save | 10k-files | 4.4 ms | 35 ms | kept (< 50 ms) |
| v0.14.0 | macos aarch64 | status-whole | 10k-files | 91.1 ms | 116.3 ms | - |
| v0.14.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 3.1 ms | 5.3 ms | kept (< 30 ms) |
| v0.14.0 | macos aarch64 | window-on-screen | packed+commit-graph | 213.5 ms | 318.9 ms | kept (< 300 ms) |
| v0.14.0 | macos aarch64 | window-first-repository | packed+commit-graph | 4,934.3 ms | 5,434.6 ms | - |
| v0.14.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 250 ms | 295 ms | kept (< 300 ms) |
| v0.14.0 | windows x86_64 | window-on-screen | packed+commit-graph | 49.9 ms | 51.8 ms | kept (< 300 ms) |
| v0.14.0 | windows x86_64 | window-first-repository | packed+commit-graph | 753.1 ms | 767.7 ms | - |
| v0.14.0 | windows x86_64 | window-memory | packed+commit-graph | 140.6 MB | 146.5 MB | kept (< 300 MB) |
| v0.14.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 102 ms | 110 ms | kept (< 300 ms) |
| v0.14.0 | linux x86_64 | window-on-screen | packed+commit-graph | 75.6 ms | 76.6 ms | kept (< 300 ms) |
| v0.14.0 | linux x86_64 | window-first-repository | packed+commit-graph | 866.2 ms | 882.8 ms | - |
| v0.14.0 | linux x86_64 | window-memory | packed+commit-graph | 384.1 MB | 388.6 MB | - |
| v0.14.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 211 ms | 260 ms | kept (< 300 ms) |
| v0.14.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 15.2 ms | 16.9 ms | kept (< 100 ms) |
| v0.14.0 | windows x86_64 | graph-first-500 | packed | 566.1 ms | 575.1 ms | - |
| v0.14.0 | windows x86_64 | status-after-save | 10k-files | 7.2 ms | 7.6 ms | kept (< 50 ms) |
| v0.14.0 | windows x86_64 | status-whole | 10k-files | 35.4 ms | 37.4 ms | - |
| v0.14.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 6.3 ms | 6.8 ms | kept (< 30 ms) |
| v0.14.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 4.7 ms | 4.9 ms | kept (< 100 ms) |
| v0.14.0 | linux x86_64 | graph-first-500 | packed | 392.9 ms | 401.2 ms | - |
| v0.14.0 | linux x86_64 | status-after-save | 10k-files | 2.5 ms | 2.5 ms | kept (< 50 ms) |
| v0.14.0 | linux x86_64 | status-whole | 10k-files | 40.9 ms | 42.2 ms | - |
| v0.14.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 2.1 ms | 2.2 ms | kept (< 30 ms) |
| v0.13.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 4.9 ms | 5.3 ms | kept (< 100 ms) |
| v0.13.0 | macos aarch64 | graph-first-500 | packed | 305.6 ms | 327.3 ms | - |
| v0.13.0 | macos aarch64 | status-after-save | 10k-files | 3.2 ms | 17.2 ms | kept (< 50 ms) |
| v0.13.0 | macos aarch64 | status-whole | 10k-files | 40 ms | 49 ms | - |
| v0.13.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 2.5 ms | 2.7 ms | kept (< 30 ms) |
| v0.13.0 | macos aarch64 | window-on-screen | packed+commit-graph | 269 ms | 416.2 ms | kept (< 300 ms) |
| v0.13.0 | macos aarch64 | window-first-repository | packed+commit-graph | 4,849.5 ms | 6,630.6 ms | - |
| v0.13.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 229 ms | 280 ms | kept (< 300 ms) |
| v0.13.0 | windows x86_64 | window-on-screen | packed+commit-graph | 52.6 ms | 57.6 ms | kept (< 300 ms) |
| v0.13.0 | windows x86_64 | window-first-repository | packed+commit-graph | 769.5 ms | 847.5 ms | - |
| v0.13.0 | windows x86_64 | window-memory | packed+commit-graph | 136.4 MB | 146.1 MB | kept (< 300 MB) |
| v0.13.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 108 ms | 130 ms | kept (< 300 ms) |
| v0.13.0 | linux x86_64 | window-on-screen | packed+commit-graph | 55.8 ms | 56.9 ms | kept (< 300 ms) |
| v0.13.0 | linux x86_64 | window-first-repository | packed+commit-graph | 570.8 ms | 602.9 ms | - |
| v0.13.0 | linux x86_64 | window-memory | packed+commit-graph | 384.9 MB | 386 MB | - |
| v0.13.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 137 ms | 154 ms | kept (< 300 ms) |
| v0.13.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 13.6 ms | 13.7 ms | kept (< 100 ms) |
| v0.13.0 | windows x86_64 | graph-first-500 | packed | 498.2 ms | 509.6 ms | - |
| v0.13.0 | windows x86_64 | status-after-save | 10k-files | 7.4 ms | 7.7 ms | kept (< 50 ms) |
| v0.13.0 | windows x86_64 | status-whole | 10k-files | 49.1 ms | 51.8 ms | - |
| v0.13.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 6.6 ms | 7.2 ms | kept (< 30 ms) |
| v0.13.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 4.1 ms | 4.1 ms | kept (< 100 ms) |
| v0.13.0 | linux x86_64 | graph-first-500 | packed | 324 ms | 338.2 ms | - |
| v0.13.0 | linux x86_64 | status-after-save | 10k-files | 1.9 ms | 1.9 ms | kept (< 50 ms) |
| v0.13.0 | linux x86_64 | status-whole | 10k-files | 23.7 ms | 24.3 ms | - |
| v0.13.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 1.9 ms | 1.9 ms | kept (< 30 ms) |
| v0.12.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 11.1 ms | 14.6 ms | kept (< 100 ms) |
| v0.12.0 | macos aarch64 | graph-first-500 | packed | 462.6 ms | 522.6 ms | - |
| v0.12.0 | macos aarch64 | status-after-save | 10k-files | 3.4 ms | 6.1 ms | kept (< 50 ms) |
| v0.12.0 | macos aarch64 | status-whole | 10k-files | 64.9 ms | 92.8 ms | - |
| v0.12.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 7.1 ms | 8.7 ms | kept (< 30 ms) |
| v0.12.0 | macos aarch64 | window-on-screen | packed+commit-graph | 224.9 ms | 307.5 ms | kept (< 300 ms) |
| v0.12.0 | macos aarch64 | window-first-repository | packed+commit-graph | 3,800.8 ms | 4,377.5 ms | - |
| v0.12.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 248 ms | 303 ms | kept (< 300 ms) |
| v0.12.0 | windows x86_64 | window-on-screen | packed+commit-graph | 69.7 ms | 85.1 ms | kept (< 300 ms) |
| v0.12.0 | windows x86_64 | window-first-repository | packed+commit-graph | 995.8 ms | 1,143.6 ms | - |
| v0.12.0 | windows x86_64 | window-memory | packed+commit-graph | 134.4 MB | 146.4 MB | kept (< 300 MB) |
| v0.12.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 135 ms | 140 ms | kept (< 300 ms) |
| v0.12.0 | linux x86_64 | window-on-screen | packed+commit-graph | 75.8 ms | 77.6 ms | kept (< 300 ms) |
| v0.12.0 | linux x86_64 | window-first-repository | packed+commit-graph | 799.3 ms | 832.1 ms | - |
| v0.12.0 | linux x86_64 | window-memory | packed+commit-graph | 385.5 MB | 387.6 MB | - |
| v0.12.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 216 ms | 238 ms | kept (< 300 ms) |
| v0.12.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 9.4 ms | 9.7 ms | kept (< 100 ms) |
| v0.12.0 | windows x86_64 | graph-first-500 | packed | 331.8 ms | 337.7 ms | - |
| v0.12.0 | windows x86_64 | status-after-save | 10k-files | 4.4 ms | 4.5 ms | kept (< 50 ms) |
| v0.12.0 | windows x86_64 | status-whole | 10k-files | 28.6 ms | 31.1 ms | - |
| v0.12.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 4.1 ms | 4.3 ms | kept (< 30 ms) |
| v0.12.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 5.5 ms | 5.6 ms | kept (< 100 ms) |
| v0.12.0 | linux x86_64 | graph-first-500 | packed | 432.7 ms | 452.8 ms | - |
| v0.12.0 | linux x86_64 | status-after-save | 10k-files | 2.6 ms | 2.6 ms | kept (< 50 ms) |
| v0.12.0 | linux x86_64 | status-whole | 10k-files | 31.6 ms | 34.1 ms | - |
| v0.12.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 2.8 ms | 2.9 ms | kept (< 30 ms) |
| v0.11.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 9.8 ms | 11.4 ms | kept (< 100 ms) |
| v0.11.0 | macos aarch64 | graph-first-500 | packed | 621.9 ms | 690.9 ms | - |
| v0.11.0 | macos aarch64 | status-after-save | 10k-files | 4.1 ms | 4.7 ms | kept (< 50 ms) |
| v0.11.0 | macos aarch64 | status-whole | 10k-files | 95 ms | 113.4 ms | - |
| v0.11.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 3.2 ms | 5.8 ms | kept (< 30 ms) |
| v0.11.0 | macos aarch64 | window-on-screen | packed+commit-graph | 256.5 ms | 512 ms | kept (< 300 ms) |
| v0.11.0 | macos aarch64 | window-first-repository | packed+commit-graph | 4,912.5 ms | 5,625.9 ms | - |
| v0.11.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 258 ms | 319 ms | kept (< 300 ms) |
| v0.11.0 | windows x86_64 | window-on-screen | packed+commit-graph | 45.9 ms | 51.4 ms | kept (< 300 ms) |
| v0.11.0 | windows x86_64 | window-first-repository | packed+commit-graph | 651.2 ms | 2,138 ms | - |
| v0.11.0 | windows x86_64 | window-memory | packed+commit-graph | 135.9 MB | 136.2 MB | kept (< 300 MB) |
| v0.11.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 86 ms | 94 ms | kept (< 300 ms) |
| v0.11.0 | linux x86_64 | window-on-screen | packed+commit-graph | 73.8 ms | 74.9 ms | kept (< 300 ms) |
| v0.11.0 | linux x86_64 | window-first-repository | packed+commit-graph | 764.2 ms | 788.3 ms | - |
| v0.11.0 | linux x86_64 | window-memory | packed+commit-graph | 376.4 MB | 380.9 MB | - |
| v0.11.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 190 ms | 208 ms | kept (< 300 ms) |
| v0.11.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 11.1 ms | 11.7 ms | kept (< 100 ms) |
| v0.11.0 | windows x86_64 | graph-first-500 | packed | 435.3 ms | 441.5 ms | - |
| v0.11.0 | windows x86_64 | status-after-save | 10k-files | 5.7 ms | 6 ms | kept (< 50 ms) |
| v0.11.0 | windows x86_64 | status-whole | 10k-files | 19.4 ms | 21 ms | - |
| v0.11.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 5.2 ms | 5.4 ms | kept (< 30 ms) |
| v0.11.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 3.5 ms | 3.5 ms | kept (< 100 ms) |
| v0.11.0 | linux x86_64 | graph-first-500 | packed | 295.1 ms | 318 ms | - |
| v0.11.0 | linux x86_64 | status-after-save | 10k-files | 2.2 ms | 2.3 ms | kept (< 50 ms) |
| v0.11.0 | linux x86_64 | status-whole | 10k-files | 34.9 ms | 35.9 ms | - |
| v0.11.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 1.5 ms | 1.6 ms | kept (< 30 ms) |
| v0.10.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 6.7 ms | 7 ms | kept (< 100 ms) |
| v0.10.0 | macos aarch64 | graph-first-500 | packed | 517.3 ms | 563.8 ms | - |
| v0.10.0 | macos aarch64 | status-after-save | 10k-files | 3.5 ms | 6.2 ms | kept (< 50 ms) |
| v0.10.0 | macos aarch64 | status-whole | 10k-files | 20.6 ms | 24.5 ms | - |
| v0.10.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 3.4 ms | 3.8 ms | kept (< 30 ms) |
| v0.10.0 | macos aarch64 | window-on-screen | packed+commit-graph | 290.9 ms | 364.2 ms | kept (< 300 ms) |
| v0.10.0 | macos aarch64 | window-first-repository | packed+commit-graph | 4,979.9 ms | 5,772.1 ms | - |
| v0.10.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 299 ms | 375 ms | kept (< 300 ms) |
| v0.10.0 | windows x86_64 | window-on-screen | packed+commit-graph | 65.1 ms | 68.1 ms | kept (< 300 ms) |
| v0.10.0 | windows x86_64 | window-first-repository | packed+commit-graph | 918.5 ms | 933.4 ms | - |
| v0.10.0 | windows x86_64 | window-memory | packed+commit-graph | 137.6 MB | 147.1 MB | kept (< 300 MB) |
| v0.10.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 136 ms | 162 ms | kept (< 300 ms) |
| v0.10.0 | linux x86_64 | window-on-screen | packed+commit-graph | 62.3 ms | 63.4 ms | kept (< 300 ms) |
| v0.10.0 | linux x86_64 | window-first-repository | packed+commit-graph | 629.6 ms | 673.3 ms | - |
| v0.10.0 | linux x86_64 | window-memory | packed+commit-graph | 375.2 MB | 376 MB | - |
| v0.10.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 154 ms | 167 ms | kept (< 300 ms) |
| v0.10.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 15.2 ms | 17.8 ms | kept (< 100 ms) |
| v0.10.0 | windows x86_64 | graph-first-500 | packed | 527.6 ms | 539.1 ms | - |
| v0.10.0 | windows x86_64 | status-after-save | 10k-files | 7.5 ms | 7.7 ms | kept (< 50 ms) |
| v0.10.0 | windows x86_64 | status-whole | 10k-files | 56 ms | 65.9 ms | - |
| v0.10.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 6.2 ms | 6.4 ms | kept (< 30 ms) |
| v0.10.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 3.4 ms | 3.4 ms | kept (< 100 ms) |
| v0.10.0 | linux x86_64 | graph-first-500 | packed | 246.2 ms | 252.5 ms | - |
| v0.10.0 | linux x86_64 | status-after-save | 10k-files | 1.8 ms | 1.8 ms | kept (< 50 ms) |
| v0.10.0 | linux x86_64 | status-whole | 10k-files | 33 ms | 40.8 ms | - |
| v0.10.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 1.5 ms | 1.5 ms | kept (< 30 ms) |
| v0.9.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 7.2 ms | 10.2 ms | kept (< 100 ms) |
| v0.9.0 | macos aarch64 | graph-first-500 | packed | 550.5 ms | 619.9 ms | - |
| v0.9.0 | macos aarch64 | diff-5000-lines | packed+commit-graph | 3.4 ms | 3.7 ms | kept (< 30 ms) |
| v0.9.0 | macos aarch64 | window-on-screen | packed+commit-graph | 140.9 ms | 237 ms | kept (< 300 ms) |
| v0.9.0 | macos aarch64 | window-first-repository | packed+commit-graph | 3,370 ms | 3,981.6 ms | - |
| v0.9.0 | macos aarch64 | window-diff-5000-lines | packed+commit-graph | 566 ms | 623 ms | - |
| v0.9.0 | windows x86_64 | window-on-screen | packed+commit-graph | 49.4 ms | 52.7 ms | kept (< 300 ms) |
| v0.9.0 | windows x86_64 | window-first-repository | packed+commit-graph | 700.2 ms | 722 ms | - |
| v0.9.0 | windows x86_64 | window-memory | packed+commit-graph | 142.8 MB | 147.7 MB | kept (< 300 MB) |
| v0.9.0 | windows x86_64 | window-diff-5000-lines | packed+commit-graph | 400 ms | 409 ms | - |
| v0.9.0 | linux x86_64 | window-on-screen | packed+commit-graph | 50.4 ms | 51.5 ms | kept (< 300 ms) |
| v0.9.0 | linux x86_64 | window-first-repository | packed+commit-graph | 619.2 ms | 658.1 ms | - |
| v0.9.0 | linux x86_64 | window-memory | packed+commit-graph | 372.7 MB | 373.1 MB | - |
| v0.9.0 | linux x86_64 | window-diff-5000-lines | packed+commit-graph | 468 ms | 472 ms | - |
| v0.9.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 10.6 ms | 11.5 ms | kept (< 100 ms) |
| v0.9.0 | windows x86_64 | graph-first-500 | packed | 404.5 ms | 433.1 ms | - |
| v0.9.0 | windows x86_64 | diff-5000-lines | packed+commit-graph | 5.3 ms | 5.4 ms | kept (< 30 ms) |
| v0.9.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 6.1 ms | 6.3 ms | kept (< 100 ms) |
| v0.9.0 | linux x86_64 | graph-first-500 | packed | 468.2 ms | 482.4 ms | - |
| v0.9.0 | linux x86_64 | diff-5000-lines | packed+commit-graph | 2.3 ms | 2.4 ms | kept (< 30 ms) |
| v0.8.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 6.2 ms | 6.7 ms | kept (< 100 ms) |
| v0.8.0 | macos aarch64 | graph-first-500 | packed | 475.6 ms | 514.6 ms | - |
| v0.8.0 | macos aarch64 | window-on-screen | packed+commit-graph | 144.2 ms | 203.1 ms | kept (< 300 ms) |
| v0.8.0 | macos aarch64 | window-first-repository | packed+commit-graph | 2,676.1 ms | 3,500.2 ms | - |
| v0.8.0 | windows x86_64 | window-on-screen | packed+commit-graph | 47.9 ms | 50.3 ms | kept (< 300 ms) |
| v0.8.0 | windows x86_64 | window-first-repository | packed+commit-graph | 690.1 ms | 761.7 ms | - |
| v0.8.0 | windows x86_64 | window-memory | packed+commit-graph | 114.4 MB | 120.6 MB | kept (< 300 MB) |
| v0.8.0 | linux x86_64 | window-on-screen | packed+commit-graph | 45 ms | 48.6 ms | kept (< 300 ms) |
| v0.8.0 | linux x86_64 | window-first-repository | packed+commit-graph | 507.3 ms | 521.8 ms | - |
| v0.8.0 | linux x86_64 | window-memory | packed+commit-graph | 342.3 MB | 365.9 MB | - |
| v0.8.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 11.3 ms | 11.8 ms | kept (< 100 ms) |
| v0.8.0 | windows x86_64 | graph-first-500 | packed | 369 ms | 376.5 ms | - |
| v0.8.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 3.9 ms | 3.9 ms | kept (< 100 ms) |
| v0.8.0 | linux x86_64 | graph-first-500 | packed | 312.5 ms | 321.1 ms | - |
| v0.7.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 8.9 ms | 12.2 ms | kept (< 100 ms) |
| v0.7.0 | macos aarch64 | graph-first-500 | packed | 345.3 ms | 350.2 ms | - |
| v0.7.0 | macos aarch64 | window-on-screen | packed+commit-graph | 139 ms | 198.5 ms | kept (< 300 ms) |
| v0.7.0 | macos aarch64 | window-first-repository | packed+commit-graph | 2,459.8 ms | 2,659.6 ms | - |
| v0.7.0 | windows x86_64 | window-on-screen | packed+commit-graph | 67.5 ms | 70.6 ms | kept (< 300 ms) |
| v0.7.0 | windows x86_64 | window-first-repository | packed+commit-graph | 724.6 ms | 756.8 ms | - |
| v0.7.0 | windows x86_64 | window-memory | packed+commit-graph | 82 MB | 86.7 MB | kept (< 300 MB) |
| v0.7.0 | linux x86_64 | window-on-screen | packed+commit-graph | 50.4 ms | 51.5 ms | kept (< 300 ms) |
| v0.7.0 | linux x86_64 | window-first-repository | packed+commit-graph | 400.8 ms | 414 ms | - |
| v0.7.0 | linux x86_64 | window-memory | packed+commit-graph | 298.3 MB | 298.4 MB | kept (< 300 MB) |
| v0.7.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 13.6 ms | 13.9 ms | kept (< 100 ms) |
| v0.7.0 | windows x86_64 | graph-first-500 | packed | 519 ms | 530.2 ms | - |
| v0.7.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 5.8 ms | 5.9 ms | kept (< 100 ms) |
| v0.7.0 | linux x86_64 | graph-first-500 | packed | 465.3 ms | 475.2 ms | - |
| v0.6.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 11.1 ms | 13.3 ms | kept (< 100 ms) |
| v0.6.0 | macos aarch64 | graph-first-500 | packed | 508.4 ms | 547.4 ms | - |
| v0.6.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 14.1 ms | 14.4 ms | kept (< 100 ms) |
| v0.6.0 | windows x86_64 | graph-first-500 | packed | 523.7 ms | 538.9 ms | - |
| v0.6.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 3.7 ms | 3.7 ms | kept (< 100 ms) |
| v0.6.0 | linux x86_64 | graph-first-500 | packed | 268.6 ms | 283.5 ms | - |
| v0.5.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 7.2 ms | 11 ms | kept (< 100 ms) |
| v0.5.0 | macos aarch64 | graph-first-500 | packed | 541.1 ms | 603.2 ms | - |
| v0.5.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 13.1 ms | 13.9 ms | kept (< 100 ms) |
| v0.5.0 | windows x86_64 | graph-first-500 | packed | 435.1 ms | 449.5 ms | - |
| v0.5.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 5.7 ms | 5.7 ms | kept (< 100 ms) |
| v0.5.0 | linux x86_64 | graph-first-500 | packed | 456.2 ms | 465.5 ms | - |
| v0.4.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 4.4 ms | 4.5 ms | kept (< 100 ms) |
| v0.4.0 | macos aarch64 | graph-first-500 | packed | 387.8 ms | 414 ms | - |
| v0.4.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 13.1 ms | 13.4 ms | kept (< 100 ms) |
| v0.4.0 | windows x86_64 | graph-first-500 | packed | 523.2 ms | 529.8 ms | - |
| v0.4.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 6.7 ms | 6.8 ms | kept (< 100 ms) |
| v0.4.0 | linux x86_64 | graph-first-500 | packed | 467.2 ms | 473.6 ms | - |
| v0.3.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 4.5 ms | 5.1 ms | kept (< 100 ms) |
| v0.3.0 | macos aarch64 | graph-first-500 | packed | 381.6 ms | 406.7 ms | - |
| v0.3.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 15.3 ms | 15.6 ms | kept (< 100 ms) |
| v0.3.0 | windows x86_64 | graph-first-500 | packed | 566.4 ms | 582.1 ms | - |
| v0.3.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 6.2 ms | 6.6 ms | kept (< 100 ms) |
| v0.3.0 | linux x86_64 | graph-first-500 | packed | 471.7 ms | 478.6 ms | - |
| v0.2.0 | macos aarch64 | graph-first-500 | packed+commit-graph | 5.3 ms | 6.1 ms | kept (< 100 ms) |
| v0.2.0 | macos aarch64 | graph-first-500 | packed | 493.3 ms | 541.5 ms | - |
| v0.2.0 | windows x86_64 | graph-first-500 | packed+commit-graph | 14.2 ms | 14.7 ms | kept (< 100 ms) |
| v0.2.0 | windows x86_64 | graph-first-500 | packed | 585.8 ms | 595.4 ms | - |
| v0.2.0 | linux x86_64 | graph-first-500 | packed+commit-graph | 6.4 ms | 6.4 ms | kept (< 100 ms) |
| v0.2.0 | linux x86_64 | graph-first-500 | packed | 518.8 ms | 523.5 ms | - |
How it is measured
Section titled “How it is measured”The repository is generated, not cloned: the same history on every machine and
every run, built by git fast-import and then left the way git gc leaves a
repository - one pack, packed refs, and a commit-graph file.
Each budget is timed 21 times after 3 warm-up runs, and the median is what the budget is held to; the 90th percentile is published next to it. A run starts from nothing: the repository is opened afresh each time, so the number is what a window pays when it opens a repository, not what a warm cache pays.
A median over the budget is measured once more after a pause before the build fails. A machine that is busy elsewhere slows every run for seconds at a time; a regression stays over the budget on the second try.
How the working copy is measured
Section titled “How the working copy is measured”A second generated repository is a checked-out project of 10 000 files in a hundred folders, with what lies around a real one: an ignored build folder of 5 000 files, and twenty untracked files.
After a save is what the window does when the watcher names a file: open the repository, bring the status it holds up to date by that path, and read the file for its row. Saving the file and reading the status beforehand are not part of the number. This is the promise; it holds because a save looks at what was saved, see ADR 0014. The whole status is the same working copy with nothing known about it, every tracked file looked at and the tree walked. It is what opening a repository pays, once: measured and published, not promised.
How the window is measured
Section titled “How the window is measured”The window’s budgets are measured on the app as tauri build makes it, started
the way a person starts it: a fresh process that opens the repository it had
open. A process cannot see how long it took to be started, so the benchmark
times it from the outside, and the window says when it got to each stage by
writing to a file the benchmark watches.
- On the screen is from the start of the process to the window shown, in the ground of the system’s theme, before the webview inside it has started. This is the promise. The window is made apart from its webview to keep it - see ADR 0011.
- First repository is from the start to the first frame that shows the repository - its tab in the title bar, its branches in the left column and the first rows of its graph. Measured and published, not promised: most of it is the system’s webview starting.
- Both come from the same 21 starts, after three that warm the webview’s profile; the median is the number.
- The first diff is the window opening a change: the repository opens on
the commit
HEADis on with its first file chosen, and the fixture’s newest commit is the one the core’s diff budget reads - a 5 000-line file with one line in four rewritten. It is timed from the window asking for the change to the frame that shows it side by side and highlighted, by the app’s own clock, so how long the process took to start does not touch it. This is a promise of its own beside the core’s: the core reads the change, and the window has everything after that to do on a webview that has only just started. Like the time on the screen, it is measured once more after a pause before the build fails. - Memory is read with three copies of the repository open, each one read and its whole graph laid out, and two seconds to settle: the private working set of the app and of every process under it, the webview’s included - what Task Manager counts on Windows - and the proportional set on Linux, which shares each library among the processes that map it rather than counting it in every one. The median of three, with what each process holds printed beside it. It is not read on macOS, where the webview’s processes are the system’s rather than the app’s, and on Linux it is published but not promised: CI has no GPU there, and WebKitGTK drawing in software on a virtual display is most of the number before the window shows anything.