Skip to content

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.

WhatRepositoryBudget
Open a repository and lay out the first 500 rows of its graph, from every branch and tag, with the commits on thempacked+commit-graph< 100 ms
The same, on a repository without a commit-graph filepackedmeasured, not promised
Start the desktop app to its window on the screen, in the theme's colours, before anything is readpacked+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 graphpacked+commit-graphmeasured, 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 togetherpacked+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 highlightedpacked+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 row10k-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 files10k-filesmeasured, 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 thempacked+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

ReleasePlatformBudgetRepositoryMedian90th percentileKept
v0.17.0macos aarch64graph-first-500packed+commit-graph9.3 ms15.8 mskept (< 100 ms)
v0.17.0macos aarch64graph-first-500packed541.9 ms646.1 ms-
v0.17.0macos aarch64status-after-save10k-files3.3 ms4.2 mskept (< 50 ms)
v0.17.0macos aarch64status-whole10k-files47.2 ms64.9 ms-
v0.17.0macos aarch64diff-5000-linespacked+commit-graph3.3 ms3.9 mskept (< 30 ms)
v0.17.0macos aarch64window-on-screenpacked+commit-graph223.7 ms300.2 mskept (< 300 ms)
v0.17.0macos aarch64window-first-repositorypacked+commit-graph5,398 ms6,334.5 ms-
v0.17.0macos aarch64window-diff-5000-linespacked+commit-graph294 ms351 mskept (< 300 ms)
v0.17.0windows x86_64window-on-screenpacked+commit-graph52.4 ms55.1 mskept (< 300 ms)
v0.17.0windows x86_64window-first-repositorypacked+commit-graph817.3 ms850.4 ms-
v0.17.0windows x86_64window-memorypacked+commit-graph148.7 MB156 MBkept (< 300 MB)
v0.17.0windows x86_64window-diff-5000-linespacked+commit-graph104 ms111 mskept (< 300 ms)
v0.17.0linux x86_64window-on-screenpacked+commit-graph65.6 ms88.1 mskept (< 300 ms)
v0.17.0linux x86_64window-first-repositorypacked+commit-graph733.7 ms750.4 ms-
v0.17.0linux x86_64window-memorypacked+commit-graph388.4 MB394.3 MB-
v0.17.0linux x86_64window-diff-5000-linespacked+commit-graph160 ms182 mskept (< 300 ms)
v0.17.0windows x86_64graph-first-500packed+commit-graph14.2 ms14.6 mskept (< 100 ms)
v0.17.0windows x86_64graph-first-500packed530.7 ms535.8 ms-
v0.17.0windows x86_64status-after-save10k-files6.7 ms7 mskept (< 50 ms)
v0.17.0windows x86_64status-whole10k-files49.1 ms52.5 ms-
v0.17.0windows x86_64diff-5000-linespacked+commit-graph5.4 ms6 mskept (< 30 ms)
v0.17.0linux x86_64graph-first-500packed+commit-graph5.9 ms6 mskept (< 100 ms)
v0.17.0linux x86_64graph-first-500packed438 ms446.5 ms-
v0.17.0linux x86_64status-after-save10k-files2.7 ms2.7 mskept (< 50 ms)
v0.17.0linux x86_64status-whole10k-files49.5 ms50.1 ms-
v0.17.0linux x86_64diff-5000-linespacked+commit-graph2.6 ms2.6 mskept (< 30 ms)
v0.16.0macos aarch64graph-first-500packed+commit-graph8.8 ms12.7 mskept (< 100 ms)
v0.16.0macos aarch64graph-first-500packed587.6 ms648.7 ms-
v0.16.0macos aarch64status-after-save10k-files5.2 ms47.1 mskept (< 50 ms)
v0.16.0macos aarch64status-whole10k-files89.8 ms104.1 ms-
v0.16.0macos aarch64diff-5000-linespacked+commit-graph3.6 ms4.2 mskept (< 30 ms)
v0.16.0macos aarch64window-on-screenpacked+commit-graph176.6 ms238.3 mskept (< 300 ms)
v0.16.0macos aarch64window-first-repositorypacked+commit-graph4,892.2 ms5,711.8 ms-
v0.16.0macos aarch64window-diff-5000-linespacked+commit-graph291 ms354 mskept (< 300 ms)
v0.16.0windows x86_64window-on-screenpacked+commit-graph49.5 ms51.2 mskept (< 300 ms)
v0.16.0windows x86_64window-first-repositorypacked+commit-graph758.6 ms774.3 ms-
v0.16.0windows x86_64window-memorypacked+commit-graph146.5 MB154.8 MBkept (< 300 MB)
v0.16.0windows x86_64window-diff-5000-linespacked+commit-graph119 ms124 mskept (< 300 ms)
v0.16.0linux x86_64window-on-screenpacked+commit-graph66.6 ms67.5 mskept (< 300 ms)
v0.16.0linux x86_64window-first-repositorypacked+commit-graph748.5 ms779.6 ms-
v0.16.0linux x86_64window-memorypacked+commit-graph390.1 MB392.8 MB-
v0.16.0linux x86_64window-diff-5000-linespacked+commit-graph163 ms207 mskept (< 300 ms)
v0.16.0windows x86_64graph-first-500packed+commit-graph14.1 ms14.3 mskept (< 100 ms)
v0.16.0windows x86_64graph-first-500packed544.3 ms552.3 ms-
v0.16.0windows x86_64status-after-save10k-files7.1 ms7.2 mskept (< 50 ms)
v0.16.0windows x86_64status-whole10k-files52.5 ms57.3 ms-
v0.16.0windows x86_64diff-5000-linespacked+commit-graph5.2 ms6.1 mskept (< 30 ms)
v0.16.0linux x86_64graph-first-500packed+commit-graph5.5 ms5.5 mskept (< 100 ms)
v0.16.0linux x86_64graph-first-500packed441.9 ms457.6 ms-
v0.16.0linux x86_64status-after-save10k-files2.8 ms2.8 mskept (< 50 ms)
v0.16.0linux x86_64status-whole10k-files49.4 ms50.1 ms-
v0.16.0linux x86_64diff-5000-linespacked+commit-graph2.5 ms2.6 mskept (< 30 ms)
v0.15.0macos aarch64graph-first-500packed+commit-graph6.3 ms6.7 mskept (< 100 ms)
v0.15.0macos aarch64graph-first-500packed606.2 ms666.4 ms-
v0.15.0macos aarch64status-after-save10k-files5.5 ms8.5 mskept (< 50 ms)
v0.15.0macos aarch64status-whole10k-files112.3 ms130.8 ms-
v0.15.0macos aarch64diff-5000-linespacked+commit-graph5.1 ms14.3 mskept (< 30 ms)
v0.15.0macos aarch64window-on-screenpacked+commit-graph183.6 ms270.6 mskept (< 300 ms)
v0.15.0macos aarch64window-first-repositorypacked+commit-graph5,066.1 ms5,656.7 ms-
v0.15.0macos aarch64window-diff-5000-linespacked+commit-graph279 ms353 mskept (< 300 ms)
v0.15.0windows x86_64window-on-screenpacked+commit-graph68.5 ms71.2 mskept (< 300 ms)
v0.15.0windows x86_64window-first-repositorypacked+commit-graph1,021.9 ms1,051.1 ms-
v0.15.0windows x86_64window-memorypacked+commit-graph145.9 MB148.9 MBkept (< 300 MB)
v0.15.0windows x86_64window-diff-5000-linespacked+commit-graph127 ms130 mskept (< 300 ms)
v0.15.0linux x86_64window-on-screenpacked+commit-graph77 ms78.2 mskept (< 300 ms)
v0.15.0linux x86_64window-first-repositorypacked+commit-graph910.3 ms944.1 ms-
v0.15.0linux x86_64window-memorypacked+commit-graph393.2 MB393.3 MB-
v0.15.0linux x86_64window-diff-5000-linespacked+commit-graph213 ms265 mskept (< 300 ms)
v0.15.0windows x86_64graph-first-500packed+commit-graph13.7 ms14.4 mskept (< 100 ms)
v0.15.0windows x86_64graph-first-500packed518 ms527.4 ms-
v0.15.0windows x86_64status-after-save10k-files7.1 ms7.3 mskept (< 50 ms)
v0.15.0windows x86_64status-whole10k-files51.6 ms57.7 ms-
v0.15.0windows x86_64diff-5000-linespacked+commit-graph5.5 ms6.2 mskept (< 30 ms)
v0.15.0linux x86_64graph-first-500packed+commit-graph6 ms6.2 mskept (< 100 ms)
v0.15.0linux x86_64graph-first-500packed505.3 ms517.5 ms-
v0.15.0linux x86_64status-after-save10k-files3.1 ms3.1 mskept (< 50 ms)
v0.15.0linux x86_64status-whole10k-files48.3 ms49 ms-
v0.15.0linux x86_64diff-5000-linespacked+commit-graph2.7 ms2.8 mskept (< 30 ms)
v0.14.0macos aarch64graph-first-500packed+commit-graph8.1 ms14.3 mskept (< 100 ms)
v0.14.0macos aarch64graph-first-500packed513.5 ms566.9 ms-
v0.14.0macos aarch64status-after-save10k-files4.4 ms35 mskept (< 50 ms)
v0.14.0macos aarch64status-whole10k-files91.1 ms116.3 ms-
v0.14.0macos aarch64diff-5000-linespacked+commit-graph3.1 ms5.3 mskept (< 30 ms)
v0.14.0macos aarch64window-on-screenpacked+commit-graph213.5 ms318.9 mskept (< 300 ms)
v0.14.0macos aarch64window-first-repositorypacked+commit-graph4,934.3 ms5,434.6 ms-
v0.14.0macos aarch64window-diff-5000-linespacked+commit-graph250 ms295 mskept (< 300 ms)
v0.14.0windows x86_64window-on-screenpacked+commit-graph49.9 ms51.8 mskept (< 300 ms)
v0.14.0windows x86_64window-first-repositorypacked+commit-graph753.1 ms767.7 ms-
v0.14.0windows x86_64window-memorypacked+commit-graph140.6 MB146.5 MBkept (< 300 MB)
v0.14.0windows x86_64window-diff-5000-linespacked+commit-graph102 ms110 mskept (< 300 ms)
v0.14.0linux x86_64window-on-screenpacked+commit-graph75.6 ms76.6 mskept (< 300 ms)
v0.14.0linux x86_64window-first-repositorypacked+commit-graph866.2 ms882.8 ms-
v0.14.0linux x86_64window-memorypacked+commit-graph384.1 MB388.6 MB-
v0.14.0linux x86_64window-diff-5000-linespacked+commit-graph211 ms260 mskept (< 300 ms)
v0.14.0windows x86_64graph-first-500packed+commit-graph15.2 ms16.9 mskept (< 100 ms)
v0.14.0windows x86_64graph-first-500packed566.1 ms575.1 ms-
v0.14.0windows x86_64status-after-save10k-files7.2 ms7.6 mskept (< 50 ms)
v0.14.0windows x86_64status-whole10k-files35.4 ms37.4 ms-
v0.14.0windows x86_64diff-5000-linespacked+commit-graph6.3 ms6.8 mskept (< 30 ms)
v0.14.0linux x86_64graph-first-500packed+commit-graph4.7 ms4.9 mskept (< 100 ms)
v0.14.0linux x86_64graph-first-500packed392.9 ms401.2 ms-
v0.14.0linux x86_64status-after-save10k-files2.5 ms2.5 mskept (< 50 ms)
v0.14.0linux x86_64status-whole10k-files40.9 ms42.2 ms-
v0.14.0linux x86_64diff-5000-linespacked+commit-graph2.1 ms2.2 mskept (< 30 ms)
v0.13.0macos aarch64graph-first-500packed+commit-graph4.9 ms5.3 mskept (< 100 ms)
v0.13.0macos aarch64graph-first-500packed305.6 ms327.3 ms-
v0.13.0macos aarch64status-after-save10k-files3.2 ms17.2 mskept (< 50 ms)
v0.13.0macos aarch64status-whole10k-files40 ms49 ms-
v0.13.0macos aarch64diff-5000-linespacked+commit-graph2.5 ms2.7 mskept (< 30 ms)
v0.13.0macos aarch64window-on-screenpacked+commit-graph269 ms416.2 mskept (< 300 ms)
v0.13.0macos aarch64window-first-repositorypacked+commit-graph4,849.5 ms6,630.6 ms-
v0.13.0macos aarch64window-diff-5000-linespacked+commit-graph229 ms280 mskept (< 300 ms)
v0.13.0windows x86_64window-on-screenpacked+commit-graph52.6 ms57.6 mskept (< 300 ms)
v0.13.0windows x86_64window-first-repositorypacked+commit-graph769.5 ms847.5 ms-
v0.13.0windows x86_64window-memorypacked+commit-graph136.4 MB146.1 MBkept (< 300 MB)
v0.13.0windows x86_64window-diff-5000-linespacked+commit-graph108 ms130 mskept (< 300 ms)
v0.13.0linux x86_64window-on-screenpacked+commit-graph55.8 ms56.9 mskept (< 300 ms)
v0.13.0linux x86_64window-first-repositorypacked+commit-graph570.8 ms602.9 ms-
v0.13.0linux x86_64window-memorypacked+commit-graph384.9 MB386 MB-
v0.13.0linux x86_64window-diff-5000-linespacked+commit-graph137 ms154 mskept (< 300 ms)
v0.13.0windows x86_64graph-first-500packed+commit-graph13.6 ms13.7 mskept (< 100 ms)
v0.13.0windows x86_64graph-first-500packed498.2 ms509.6 ms-
v0.13.0windows x86_64status-after-save10k-files7.4 ms7.7 mskept (< 50 ms)
v0.13.0windows x86_64status-whole10k-files49.1 ms51.8 ms-
v0.13.0windows x86_64diff-5000-linespacked+commit-graph6.6 ms7.2 mskept (< 30 ms)
v0.13.0linux x86_64graph-first-500packed+commit-graph4.1 ms4.1 mskept (< 100 ms)
v0.13.0linux x86_64graph-first-500packed324 ms338.2 ms-
v0.13.0linux x86_64status-after-save10k-files1.9 ms1.9 mskept (< 50 ms)
v0.13.0linux x86_64status-whole10k-files23.7 ms24.3 ms-
v0.13.0linux x86_64diff-5000-linespacked+commit-graph1.9 ms1.9 mskept (< 30 ms)
v0.12.0macos aarch64graph-first-500packed+commit-graph11.1 ms14.6 mskept (< 100 ms)
v0.12.0macos aarch64graph-first-500packed462.6 ms522.6 ms-
v0.12.0macos aarch64status-after-save10k-files3.4 ms6.1 mskept (< 50 ms)
v0.12.0macos aarch64status-whole10k-files64.9 ms92.8 ms-
v0.12.0macos aarch64diff-5000-linespacked+commit-graph7.1 ms8.7 mskept (< 30 ms)
v0.12.0macos aarch64window-on-screenpacked+commit-graph224.9 ms307.5 mskept (< 300 ms)
v0.12.0macos aarch64window-first-repositorypacked+commit-graph3,800.8 ms4,377.5 ms-
v0.12.0macos aarch64window-diff-5000-linespacked+commit-graph248 ms303 mskept (< 300 ms)
v0.12.0windows x86_64window-on-screenpacked+commit-graph69.7 ms85.1 mskept (< 300 ms)
v0.12.0windows x86_64window-first-repositorypacked+commit-graph995.8 ms1,143.6 ms-
v0.12.0windows x86_64window-memorypacked+commit-graph134.4 MB146.4 MBkept (< 300 MB)
v0.12.0windows x86_64window-diff-5000-linespacked+commit-graph135 ms140 mskept (< 300 ms)
v0.12.0linux x86_64window-on-screenpacked+commit-graph75.8 ms77.6 mskept (< 300 ms)
v0.12.0linux x86_64window-first-repositorypacked+commit-graph799.3 ms832.1 ms-
v0.12.0linux x86_64window-memorypacked+commit-graph385.5 MB387.6 MB-
v0.12.0linux x86_64window-diff-5000-linespacked+commit-graph216 ms238 mskept (< 300 ms)
v0.12.0windows x86_64graph-first-500packed+commit-graph9.4 ms9.7 mskept (< 100 ms)
v0.12.0windows x86_64graph-first-500packed331.8 ms337.7 ms-
v0.12.0windows x86_64status-after-save10k-files4.4 ms4.5 mskept (< 50 ms)
v0.12.0windows x86_64status-whole10k-files28.6 ms31.1 ms-
v0.12.0windows x86_64diff-5000-linespacked+commit-graph4.1 ms4.3 mskept (< 30 ms)
v0.12.0linux x86_64graph-first-500packed+commit-graph5.5 ms5.6 mskept (< 100 ms)
v0.12.0linux x86_64graph-first-500packed432.7 ms452.8 ms-
v0.12.0linux x86_64status-after-save10k-files2.6 ms2.6 mskept (< 50 ms)
v0.12.0linux x86_64status-whole10k-files31.6 ms34.1 ms-
v0.12.0linux x86_64diff-5000-linespacked+commit-graph2.8 ms2.9 mskept (< 30 ms)
v0.11.0macos aarch64graph-first-500packed+commit-graph9.8 ms11.4 mskept (< 100 ms)
v0.11.0macos aarch64graph-first-500packed621.9 ms690.9 ms-
v0.11.0macos aarch64status-after-save10k-files4.1 ms4.7 mskept (< 50 ms)
v0.11.0macos aarch64status-whole10k-files95 ms113.4 ms-
v0.11.0macos aarch64diff-5000-linespacked+commit-graph3.2 ms5.8 mskept (< 30 ms)
v0.11.0macos aarch64window-on-screenpacked+commit-graph256.5 ms512 mskept (< 300 ms)
v0.11.0macos aarch64window-first-repositorypacked+commit-graph4,912.5 ms5,625.9 ms-
v0.11.0macos aarch64window-diff-5000-linespacked+commit-graph258 ms319 mskept (< 300 ms)
v0.11.0windows x86_64window-on-screenpacked+commit-graph45.9 ms51.4 mskept (< 300 ms)
v0.11.0windows x86_64window-first-repositorypacked+commit-graph651.2 ms2,138 ms-
v0.11.0windows x86_64window-memorypacked+commit-graph135.9 MB136.2 MBkept (< 300 MB)
v0.11.0windows x86_64window-diff-5000-linespacked+commit-graph86 ms94 mskept (< 300 ms)
v0.11.0linux x86_64window-on-screenpacked+commit-graph73.8 ms74.9 mskept (< 300 ms)
v0.11.0linux x86_64window-first-repositorypacked+commit-graph764.2 ms788.3 ms-
v0.11.0linux x86_64window-memorypacked+commit-graph376.4 MB380.9 MB-
v0.11.0linux x86_64window-diff-5000-linespacked+commit-graph190 ms208 mskept (< 300 ms)
v0.11.0windows x86_64graph-first-500packed+commit-graph11.1 ms11.7 mskept (< 100 ms)
v0.11.0windows x86_64graph-first-500packed435.3 ms441.5 ms-
v0.11.0windows x86_64status-after-save10k-files5.7 ms6 mskept (< 50 ms)
v0.11.0windows x86_64status-whole10k-files19.4 ms21 ms-
v0.11.0windows x86_64diff-5000-linespacked+commit-graph5.2 ms5.4 mskept (< 30 ms)
v0.11.0linux x86_64graph-first-500packed+commit-graph3.5 ms3.5 mskept (< 100 ms)
v0.11.0linux x86_64graph-first-500packed295.1 ms318 ms-
v0.11.0linux x86_64status-after-save10k-files2.2 ms2.3 mskept (< 50 ms)
v0.11.0linux x86_64status-whole10k-files34.9 ms35.9 ms-
v0.11.0linux x86_64diff-5000-linespacked+commit-graph1.5 ms1.6 mskept (< 30 ms)
v0.10.0macos aarch64graph-first-500packed+commit-graph6.7 ms7 mskept (< 100 ms)
v0.10.0macos aarch64graph-first-500packed517.3 ms563.8 ms-
v0.10.0macos aarch64status-after-save10k-files3.5 ms6.2 mskept (< 50 ms)
v0.10.0macos aarch64status-whole10k-files20.6 ms24.5 ms-
v0.10.0macos aarch64diff-5000-linespacked+commit-graph3.4 ms3.8 mskept (< 30 ms)
v0.10.0macos aarch64window-on-screenpacked+commit-graph290.9 ms364.2 mskept (< 300 ms)
v0.10.0macos aarch64window-first-repositorypacked+commit-graph4,979.9 ms5,772.1 ms-
v0.10.0macos aarch64window-diff-5000-linespacked+commit-graph299 ms375 mskept (< 300 ms)
v0.10.0windows x86_64window-on-screenpacked+commit-graph65.1 ms68.1 mskept (< 300 ms)
v0.10.0windows x86_64window-first-repositorypacked+commit-graph918.5 ms933.4 ms-
v0.10.0windows x86_64window-memorypacked+commit-graph137.6 MB147.1 MBkept (< 300 MB)
v0.10.0windows x86_64window-diff-5000-linespacked+commit-graph136 ms162 mskept (< 300 ms)
v0.10.0linux x86_64window-on-screenpacked+commit-graph62.3 ms63.4 mskept (< 300 ms)
v0.10.0linux x86_64window-first-repositorypacked+commit-graph629.6 ms673.3 ms-
v0.10.0linux x86_64window-memorypacked+commit-graph375.2 MB376 MB-
v0.10.0linux x86_64window-diff-5000-linespacked+commit-graph154 ms167 mskept (< 300 ms)
v0.10.0windows x86_64graph-first-500packed+commit-graph15.2 ms17.8 mskept (< 100 ms)
v0.10.0windows x86_64graph-first-500packed527.6 ms539.1 ms-
v0.10.0windows x86_64status-after-save10k-files7.5 ms7.7 mskept (< 50 ms)
v0.10.0windows x86_64status-whole10k-files56 ms65.9 ms-
v0.10.0windows x86_64diff-5000-linespacked+commit-graph6.2 ms6.4 mskept (< 30 ms)
v0.10.0linux x86_64graph-first-500packed+commit-graph3.4 ms3.4 mskept (< 100 ms)
v0.10.0linux x86_64graph-first-500packed246.2 ms252.5 ms-
v0.10.0linux x86_64status-after-save10k-files1.8 ms1.8 mskept (< 50 ms)
v0.10.0linux x86_64status-whole10k-files33 ms40.8 ms-
v0.10.0linux x86_64diff-5000-linespacked+commit-graph1.5 ms1.5 mskept (< 30 ms)
v0.9.0macos aarch64graph-first-500packed+commit-graph7.2 ms10.2 mskept (< 100 ms)
v0.9.0macos aarch64graph-first-500packed550.5 ms619.9 ms-
v0.9.0macos aarch64diff-5000-linespacked+commit-graph3.4 ms3.7 mskept (< 30 ms)
v0.9.0macos aarch64window-on-screenpacked+commit-graph140.9 ms237 mskept (< 300 ms)
v0.9.0macos aarch64window-first-repositorypacked+commit-graph3,370 ms3,981.6 ms-
v0.9.0macos aarch64window-diff-5000-linespacked+commit-graph566 ms623 ms-
v0.9.0windows x86_64window-on-screenpacked+commit-graph49.4 ms52.7 mskept (< 300 ms)
v0.9.0windows x86_64window-first-repositorypacked+commit-graph700.2 ms722 ms-
v0.9.0windows x86_64window-memorypacked+commit-graph142.8 MB147.7 MBkept (< 300 MB)
v0.9.0windows x86_64window-diff-5000-linespacked+commit-graph400 ms409 ms-
v0.9.0linux x86_64window-on-screenpacked+commit-graph50.4 ms51.5 mskept (< 300 ms)
v0.9.0linux x86_64window-first-repositorypacked+commit-graph619.2 ms658.1 ms-
v0.9.0linux x86_64window-memorypacked+commit-graph372.7 MB373.1 MB-
v0.9.0linux x86_64window-diff-5000-linespacked+commit-graph468 ms472 ms-
v0.9.0windows x86_64graph-first-500packed+commit-graph10.6 ms11.5 mskept (< 100 ms)
v0.9.0windows x86_64graph-first-500packed404.5 ms433.1 ms-
v0.9.0windows x86_64diff-5000-linespacked+commit-graph5.3 ms5.4 mskept (< 30 ms)
v0.9.0linux x86_64graph-first-500packed+commit-graph6.1 ms6.3 mskept (< 100 ms)
v0.9.0linux x86_64graph-first-500packed468.2 ms482.4 ms-
v0.9.0linux x86_64diff-5000-linespacked+commit-graph2.3 ms2.4 mskept (< 30 ms)
v0.8.0macos aarch64graph-first-500packed+commit-graph6.2 ms6.7 mskept (< 100 ms)
v0.8.0macos aarch64graph-first-500packed475.6 ms514.6 ms-
v0.8.0macos aarch64window-on-screenpacked+commit-graph144.2 ms203.1 mskept (< 300 ms)
v0.8.0macos aarch64window-first-repositorypacked+commit-graph2,676.1 ms3,500.2 ms-
v0.8.0windows x86_64window-on-screenpacked+commit-graph47.9 ms50.3 mskept (< 300 ms)
v0.8.0windows x86_64window-first-repositorypacked+commit-graph690.1 ms761.7 ms-
v0.8.0windows x86_64window-memorypacked+commit-graph114.4 MB120.6 MBkept (< 300 MB)
v0.8.0linux x86_64window-on-screenpacked+commit-graph45 ms48.6 mskept (< 300 ms)
v0.8.0linux x86_64window-first-repositorypacked+commit-graph507.3 ms521.8 ms-
v0.8.0linux x86_64window-memorypacked+commit-graph342.3 MB365.9 MB-
v0.8.0windows x86_64graph-first-500packed+commit-graph11.3 ms11.8 mskept (< 100 ms)
v0.8.0windows x86_64graph-first-500packed369 ms376.5 ms-
v0.8.0linux x86_64graph-first-500packed+commit-graph3.9 ms3.9 mskept (< 100 ms)
v0.8.0linux x86_64graph-first-500packed312.5 ms321.1 ms-
v0.7.0macos aarch64graph-first-500packed+commit-graph8.9 ms12.2 mskept (< 100 ms)
v0.7.0macos aarch64graph-first-500packed345.3 ms350.2 ms-
v0.7.0macos aarch64window-on-screenpacked+commit-graph139 ms198.5 mskept (< 300 ms)
v0.7.0macos aarch64window-first-repositorypacked+commit-graph2,459.8 ms2,659.6 ms-
v0.7.0windows x86_64window-on-screenpacked+commit-graph67.5 ms70.6 mskept (< 300 ms)
v0.7.0windows x86_64window-first-repositorypacked+commit-graph724.6 ms756.8 ms-
v0.7.0windows x86_64window-memorypacked+commit-graph82 MB86.7 MBkept (< 300 MB)
v0.7.0linux x86_64window-on-screenpacked+commit-graph50.4 ms51.5 mskept (< 300 ms)
v0.7.0linux x86_64window-first-repositorypacked+commit-graph400.8 ms414 ms-
v0.7.0linux x86_64window-memorypacked+commit-graph298.3 MB298.4 MBkept (< 300 MB)
v0.7.0windows x86_64graph-first-500packed+commit-graph13.6 ms13.9 mskept (< 100 ms)
v0.7.0windows x86_64graph-first-500packed519 ms530.2 ms-
v0.7.0linux x86_64graph-first-500packed+commit-graph5.8 ms5.9 mskept (< 100 ms)
v0.7.0linux x86_64graph-first-500packed465.3 ms475.2 ms-
v0.6.0macos aarch64graph-first-500packed+commit-graph11.1 ms13.3 mskept (< 100 ms)
v0.6.0macos aarch64graph-first-500packed508.4 ms547.4 ms-
v0.6.0windows x86_64graph-first-500packed+commit-graph14.1 ms14.4 mskept (< 100 ms)
v0.6.0windows x86_64graph-first-500packed523.7 ms538.9 ms-
v0.6.0linux x86_64graph-first-500packed+commit-graph3.7 ms3.7 mskept (< 100 ms)
v0.6.0linux x86_64graph-first-500packed268.6 ms283.5 ms-
v0.5.0macos aarch64graph-first-500packed+commit-graph7.2 ms11 mskept (< 100 ms)
v0.5.0macos aarch64graph-first-500packed541.1 ms603.2 ms-
v0.5.0windows x86_64graph-first-500packed+commit-graph13.1 ms13.9 mskept (< 100 ms)
v0.5.0windows x86_64graph-first-500packed435.1 ms449.5 ms-
v0.5.0linux x86_64graph-first-500packed+commit-graph5.7 ms5.7 mskept (< 100 ms)
v0.5.0linux x86_64graph-first-500packed456.2 ms465.5 ms-
v0.4.0macos aarch64graph-first-500packed+commit-graph4.4 ms4.5 mskept (< 100 ms)
v0.4.0macos aarch64graph-first-500packed387.8 ms414 ms-
v0.4.0windows x86_64graph-first-500packed+commit-graph13.1 ms13.4 mskept (< 100 ms)
v0.4.0windows x86_64graph-first-500packed523.2 ms529.8 ms-
v0.4.0linux x86_64graph-first-500packed+commit-graph6.7 ms6.8 mskept (< 100 ms)
v0.4.0linux x86_64graph-first-500packed467.2 ms473.6 ms-
v0.3.0macos aarch64graph-first-500packed+commit-graph4.5 ms5.1 mskept (< 100 ms)
v0.3.0macos aarch64graph-first-500packed381.6 ms406.7 ms-
v0.3.0windows x86_64graph-first-500packed+commit-graph15.3 ms15.6 mskept (< 100 ms)
v0.3.0windows x86_64graph-first-500packed566.4 ms582.1 ms-
v0.3.0linux x86_64graph-first-500packed+commit-graph6.2 ms6.6 mskept (< 100 ms)
v0.3.0linux x86_64graph-first-500packed471.7 ms478.6 ms-
v0.2.0macos aarch64graph-first-500packed+commit-graph5.3 ms6.1 mskept (< 100 ms)
v0.2.0macos aarch64graph-first-500packed493.3 ms541.5 ms-
v0.2.0windows x86_64graph-first-500packed+commit-graph14.2 ms14.7 mskept (< 100 ms)
v0.2.0windows x86_64graph-first-500packed585.8 ms595.4 ms-
v0.2.0linux x86_64graph-first-500packed+commit-graph6.4 ms6.4 mskept (< 100 ms)
v0.2.0linux x86_64graph-first-500packed518.8 ms523.5 ms-

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.

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.

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 HEAD is 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.