Omarchy NotesA stack study

Rust vs C#,
measured.

One notes app, built in GPUI and Avalonia. C# cuts clean-build time. Everyday Debug work is much closer.

One computer · isolated sources · the same test notes

Clean Release build Lower is shorter
Rust
237.07 s
C#
6.78 s

Median of three empty-output builds per stack. SDKs installed; dependencies restored.

C# cuts full-build waiting.
The working day is closer.

C# makes this clean build about 35× quicker. Cached Debug work is close, and Rust returns the measured quick test and compile error sooner. Total agent time and token cost were not recorded.

Try your own working day

The edit boundary matters.

A change in the small CLI entry point is different from a change inside the UI or document model. Those boundaries decide how much code the tools have to revisit.

C# took 2.47 seconds for the measured Release UI edit; Rust took 9.69. Debug UI edits were closer: 2.27 seconds for Rust, 2.49 for C# with servers off, or 1.57 with a warm C# compiler.

UI implementation · Release

Rust
9.69 s
C#
2.47 s
Seconds · shared linear scale

One compiled presentation-text change; three runs per stack.

NuGet supplies precompiled framework packages; GPUI/WGPU are built from source. The clean-build result compares the complete stacks as distributed. It is not an isolated compiler-speed test.

Quick checks are a separate workflow.

Rust’s cached UI cargo check took 0.679 seconds. It produces metadata, not a runnable executable. The selected core edit-and-test command took 0.481 seconds in Rust and 2.087 in C# with servers off. These are useful feedback paths, with different jobs.

Every compiler timing, CPU cost & memory sample
Every measured compiler command
Command / edit boundaryRust · secondsC# · seconds
Download dependencies · empty cache58.581 runs · 58.58–58.585.8871 runs · 5.887–5.887
Clean Release build237.0653 runs · 231.047–248.4026.7763 runs · 6.677–6.798
Release · unchanged0.2615 runs · 0.254–0.3840.9145 runs · 0.863–0.926
Release · CLI entry edit1.1325 runs · 0.997–1.2282.4475 runs · 2.349–2.648
Release · core edit22.2155 runs · 21.637–23.1612.0025 runs · 1.952–2.013
Dependency restore warmNot measured0.732 runs · 0.72–0.741
Debug restoreNot measured0.7271 runs · 0.727–0.727
Clean Debug build72.2931 runs · 72.293–72.2936.7571 runs · 6.757–6.757
Debug · unchanged0.245 runs · 0.233–0.260.9065 runs · 0.88–0.943
Debug · CLI entry edit1.2615 runs · 1.234–1.3952.4425 runs · 2.379–2.583
Debug · core edit2.5355 runs · 2.487–2.5611.9165 runs · 1.898–1.959
Test restoreNot measured1.181 runs · 1.18–1.18
Test first compile and run4.8491 runs · 4.849–4.8491.9891 runs · 1.989–1.989
Core edit + focused test0.4815 runs · 0.463–0.4852.0875 runs · 2.021–2.13
Release ui setup0.2521 runs · 0.252–0.2521.0251 runs · 1.025–1.025
Release · UI edit9.693 runs · 9.276–10.7492.4713 runs · 2.436–2.514
Debug ui setup2.7231 runs · 2.723–2.7230.9331 runs · 0.933–0.933
Debug · UI edit2.2683 runs · 2.219–2.2982.4923 runs · 2.431–2.534
Feedback setup build2.1431 runs · 2.143–2.1432.7541 runs · 2.754–2.754
Intentional compiler error · return0.3155 runs · 0.31–0.3462.1255 runs · 2.09–2.178
Rust check-only · initial setup40.0241 runs · 40.024–40.024Not measured
Rust check-only · CLI edit0.3135 runs · 0.301–0.326Not measured
Rust check-only · UI edit0.6793 runs · 0.671–0.694Not measured
Roslyn server warmupNot measured2.4621 runs · 2.462–2.462
Warm C# compiler · unchangedNot measured0.8845 runs · 0.873–0.908
Warm C# compiler · CLI editNot measured2.0015 runs · 1.774–2.948
Warm C# compiler · core editNot measured1.225 runs · 1.165–1.288
Warm C# compiler · UI editNot measured1.5723 runs · 1.543–1.65
Compiler CPU and memory
Clean buildCPU work · sPeak process RSS · MiBSampled tree PSS · MiBSampled tree RSS · MiB
Release · Rust945.21,230.92,568.92,825.2
Release · C#9.7302.5496.3794.8
Debug · Rust286.81,886.42,115.72,634.4
Debug · C#9.6304.5503.7811.1

CPU work adds user and system time for each command before taking the median. Sampled whole-tree peaks are lower bounds; RSS can count shared pages more than once. The warm Roslyn process reached about 607 MiB RSS, separate from the app’s memory. Its CPU deltas are in the raw data.

The first Rust Release build used a denser memory sampler. Excluding it changes the clean median from 237.065 to 239.724 seconds. Every sample and the sampler’s own CPU work remain in the evidence.

What does your day look like?

A clean build is an occasional event. The usual loop is edit, check, test and look again. Change the mix below to see how much compiler waiting it adds up to.

Use 50% if you can spend half the build time doing something else.

For this assumed day

35seconds less waiting with C#

Build wait only. Agent implementation time was not measured.

Rust1 min 58 s
C#1 min 24 s

The counts are your assumptions. The timings are measured medians. Warm-compiler profiles exclude server setup; a clean build uses the server-off baseline. Do not count an edit as both a full rebuild and a core-only test unless you actually run both.

With no clean build, 40 UI edits, 10 core rebuilds and 10 unchanged builds, the warm C# profile saves about 34.5 seconds. With both compiler servers off, the same Debug mix favors Rust by 9.4 seconds.

Open. Switch. Close.

These are the real published applications, opening the same copied notes. Startup ends when the requested note’s pixels match a known image. Switching includes a fresh CLI client, instance messaging and that same image check.

Rust / GPUIC# / Avalonia

First note pixels

258 ms1,099 ms

Note switch · median

78 ms91 ms

Observed clean close

32 ms47 ms

Three fresh-process launches per stack; 100 transitions in one process per stack.

Fresh processes, warm OS/font/GPU caches, and a private nested X11/XWayland display. These are observed note pixels, not physical display timestamps. Close measures a server key notification to observed exit, with nominal 5 ms polling; it does not include a dirty-draft save.

All startup, switch & close observations
All native window observations
Library / transitionStackFirst pixels · msSwitch median · msSwitch p95 · msClose · ms
2-note libraryRust174.15 runs · 167–295.781.11,813.7 †Not recorded
2-note libraryC#799.25 runs · 773.8–816.387.4112.2Not recorded
10,000-note libraryRust258.43 runs · 246.8–309.57888.632
10,000-note libraryC#1,098.53 runs · 1,092.3–1,137.490.6101.647
Large / ordinary noteRust857.13 runs · 843.7–858.3119.5135.1125
Large / ordinary noteC#1,139.43 runs · 1,134.9–1,178.9105.7156.248

† The small-library Rust tail was not reproduced in one later ten-switch diagnostic. All 28 measured/calibration app instances closed normally. The passive close-key observer was added after the small case, so its close cells are unrecorded. Roughly five seconds of Cua command setup are excluded from the reported close observations.

There are 22 measured fresh-process launches and 600 transitions in total. Calibration launches are excluded. Each transition distribution comes from one process per stack; its 100 samples are not independent process trials. The large case alternates an ordinary and a large note.

Short-lived commands favor Rust.

Fresh command process to successful exit, 10 trials per stack
One-shot commandRust · msC# · ms
Save a capture20.7296.38
Read its receipt6.5236.47

The same capture text is committed exactly once and its receipt is verified. No GUI opens during these commands.

Memory has several ledgers.

Rust uses less process memory in the smaller libraries. After the large-note workload, both processes sit around 260 MiB of PSS. The C# app has smaller driver-reported graphics buffers.

PSS apportions shared process pages. Graphics-buffer figures include shared allocations of their own. Adding the two would create a misleading total.

Process PSS after note switching MiB · lower is less

2-note library

Rust
66.21 MiB
C#
152.02 MiB

10,000-note library

Rust
130.94 MiB
C#
190.05 MiB

Large / ordinary note

Rust
259.72 MiB
C#
260.31 MiB

One snapshot after a 20-second idle interval per scenario. Idle CPU was Rust/C# 0.60%/0.35% for two notes, 1.55%/0.35% for 10,000 notes, and 3.75%/0.30% after large-note switching. Percentages are of one logical core; they do not measure battery life.

Process memory, CPU, threads & graphics buffers
Process resources after note switching
ScenarioStackRSS · MiBPSS · MiBPrivate · MiBThreadsOpen filesIdle CPU
2-note libraryRust135.866.262.340520.6%
2-note libraryC#222.9152140.5221530.35%
10,000-note libraryRust200.3130.912740511.55%
10,000-note libraryC#260.9190178.6221530.35%
Large / ordinary noteRust329.2259.7255.840513.75%
Large / ordinary noteC#331.1260.3248.9221530.3%
Intel xe graphics-buffer observations
ScenarioStackDRM clientsLargest client · MiBResident · MiBShared · MiB
2-note libraryRust4112.1112.118
2-note libraryC#153.653.66
10,000-note libraryRust4112.1112.118
10,000-note libraryC#153.753.76
Large / ordinary noteRust4112.1112.118
Large / ordinary noteC#153.653.66

MiB = 1,048,576 bytes. PSS/private memory come from Linux smaps_rollup. GPU values show the largest resident-GTT DRM client per app, on Intel xe. Client IDs are deduplicated; shared buffers still prevent a single whole-system memory total. Virtual address reservation is not RAM use. DRM field definitions.

Inside the app.

Rust is quicker in most parsing, search, backup and export operations in this study. C# is dramatically quicker in the large-note model’s edit path. That path uses indexed leaves and leaf history; the Rust version retains whole-document state.

Both perform 100 large-note edits. Rust retains 9 undo entries before its memory limit; C# retains 100. The final edited text matches exactly. These model timings exclude input delivery, layout, paint and saving.

39 operations · three process trials per stack

Production API timings · milliseconds
OperationRust · msC# · msLower median
Select a leaf & insert text15 paragraphs
Samples & scope

Model operation only: input, layout, paint and save callbacks are excluded. The Rust and C# history implementations differ.

Three fresh processes per stack. Calls per process: Rust [1000, 1000, 1000]; C# [1000, 1000, 1000].

Process median ranges: Rust 0.0129–0.0155 ms; C# 0.017–0.021 ms.

typical_select_leaf_and_insert
0.01380.0204Rust · 1.48×
Select a leaf & insert text3,000 paragraphs + tables
Samples & scope

Model operation only: input, layout, paint and save callbacks are excluded. The Rust and C# history implementations differ.

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 5.4875–5.7156 ms; C# 0.0144–0.023 ms.

large_select_leaf_and_insert
5.51910.0151C# · 366.72×
Parse & validate3,000 paragraphs + tables
Samples & scope

Three fresh processes per stack. Calls per process: Rust [30, 30, 30]; C# [30, 30, 30].

Process median ranges: Rust 2.5027–3.0969 ms; C# 19.188–22.157 ms.

large_parse_validate
2.682519.3267Rust · 7.2×
Search a word prefix200 results
Samples & scope

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 28.4154–29.3319 ms; C# 39.3829–44.267 ms.

fts_prefix_200
28.843639.7054Rust · 1.38×
Save a noteDurable commit
Samples & scope

Three fresh processes per stack. Calls per process: Rust [50, 50, 50]; C# [50, 50, 50].

Process median ranges: Rust 1.0738–1.2615 ms; C# 1.3575–1.4047 ms.

durable_save_typical
1.10961.359Rust · 1.22×
Import an attachment32 MiB
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 92.5317–95.6675 ms; C# 64.6085–71.9816 ms.

attachment_import_32m
95.648171.0466C# · 1.35×
Back up a closed library10,050 notes + 32 MiB
Samples & scope

Follows each production closed-library CLI setup: C# opens and validates LibraryStore before Backup; Rust backup acquires closed-library ownership directly.

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 164.5093–203.2993 ms; C# 456.2302–502.9686 ms.

closed_library_backup_10050_plus_32m
165.5488462.6368Rust · 2.79×
Publish an A4 PDF15 paragraphs
Samples & scope

Distinct renderers/font metrics; compare extracted marker coverage and page counts. Five operations include first font/cache initialization; no PDF warmup. Rust explicitly fsyncs before publication; C# closes and renames without explicit fsync, so durability endpoints differ.

Three fresh processes per stack. Calls per process: Rust [5, 5, 5]; C# [5, 5, 5].

Process median ranges: Rust 25.5909–40.4269 ms; C# 45.8347–47.7476 ms.

pdf_typical_a4_publish
25.781246.1075Rust · 1.79×
Import duplicate content32 MiB attachment
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 100.2265–105.3693 ms; C# 59.3099–59.5234 ms.

attachment_duplicate_content_32m
100.514759.5181C# · 1.69×
Attach & save · first reference32 MiB attachment
Samples & scope

C# Save explicitly rehashes referenced attachment bytes on every save; Rust Save validates the document and updates committed metadata without that same blob reread. Different validation work, not pure language/storage overhead.

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 1.2823–1.46 ms; C# 12.854–13.6001 ms.

attachment_insert_save_1
1.330513.1432Rust · 9.88×
Attach & save · second referenceSame physical blob
Samples & scope

C# Save explicitly rehashes referenced attachment bytes on every save; Rust Save validates the document and updates committed metadata without that same blob reread. Different validation work, not pure language/storage overhead.

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 1.2477–1.5634 ms; C# 21.6712–26.1348 ms.

attachment_insert_save_2
1.295825.3429Rust · 19.56×
Create a noteDurable commit
Samples & scope

Three fresh processes per stack. Calls per process: Rust [50, 50, 50]; C# [50, 50, 50].

Process median ranges: Rust 1.166–1.4592 ms; C# 1.5307–1.6497 ms.

durable_create_typical
1.40481.6075Rust · 1.14×
Search two terms200 results
Samples & scope

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 30.7045–31.7939 ms; C# 44.3112–50.4912 ms.

fts_two_terms_200
30.716547.7278Rust · 1.55×
Inspect the backup10,050 notes + 32 MiB
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 58.4216–59.8786 ms; C# 147.1106–167.8901 ms.

inspect_backup_10050_plus_32m
59.1324156.4875Rust · 2.65×
Create the editor model3,000 paragraphs + tables
Samples & scope

Three fresh processes per stack. Calls per process: Rust [10, 10, 10]; C# [10, 10, 10].

Process median ranges: Rust 0.9914–1.138 ms; C# 23.4505–35.3498 ms.

large_model_construct
1.130723.4943Rust · 20.78×
Redo3,000 paragraphs + tables
Samples & scope

Retained undo depth can differ; see checks/history limits and sample counts. Per-operation replay only, not equal total history retention.

Three fresh processes per stack. Calls per process: Rust [9, 9, 9]; C# [100, 100, 100].

Process median ranges: Rust 5.7963–7.0186 ms; C# 0.0101–0.0138 ms.

large_redo
6.22130.011C# · 565.58×
Serialize3,000 paragraphs + tables
Samples & scope

Three fresh processes per stack. Calls per process: Rust [30, 30, 30]; C# [30, 30, 30].

Process median ranges: Rust 0.4384–0.5097 ms; C# 1.1589–2.5389 ms.

large_serialize
0.49111.6973Rust · 3.46×
Undo3,000 paragraphs + tables
Samples & scope

Retained undo depth can differ; see checks/history limits and sample counts. Per-operation replay only, not equal total history retention.

Three fresh processes per stack. Calls per process: Rust [9, 9, 9]; C# [100, 100, 100].

Process median ranges: Rust 5.8565–6.2993 ms; C# 0.0105–0.0146 ms.

large_undo
5.88420.0114C# · 516.16×
Close the libraryStorage only
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 2.1485–2.3339 ms; C# 2.1114–2.2903 ms.

library_close
2.2592.2515C# · 1×
Open & validate the library10,000 notes
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 76.0188–80.3607 ms; C# 139.4235–153.3686 ms.

library_open_validate_10000
78.6959150.4489Rust · 1.91×
Reopen & validate10,050 notes
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 25.7837–27.4781 ms; C# 57.2193–59.4961 ms.

library_reopen_validate_10050
27.029657.9695Rust · 2.14×
Export HTML1,000 paragraphs
Samples & scope

Rust emits a fragment; C# emits a complete document wrapper. Output bytes retained; not identical HTML bytes.

Three fresh processes per stack. Calls per process: Rust [10, 10, 10]; C# [10, 10, 10].

Process median ranges: Rust 0.463–0.5796 ms; C# 4.6211–7.2641 ms.

medium_html_export
0.514.7167Rust · 9.25×
Export Markdown1,000 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [10, 10, 10]; C# [10, 10, 10].

Process median ranges: Rust 1.6441–1.9481 ms; C# 10.7104–13.0525 ms.

medium_markdown_export
1.718211.8484Rust · 6.9×
Create the editor model1,000 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [10, 10, 10]; C# [10, 10, 10].

Process median ranges: Rust 0.3075–0.6662 ms; C# 8.6697–13.4329 ms.

medium_model_construct
0.345710.2051Rust · 29.52×
Parse & validate1,000 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [30, 30, 30]; C# [30, 30, 30].

Process median ranges: Rust 0.759–0.9861 ms; C# 10.1978–10.5346 ms.

medium_parse_validate
0.827110.4309Rust · 12.61×
Redo1,000 paragraphs
Samples & scope

Retained undo depth can differ; see checks/history limits and sample counts. Per-operation replay only, not equal total history retention.

Three fresh processes per stack. Calls per process: Rust [29, 29, 29]; C# [100, 100, 100].

Process median ranges: Rust 1.1093–1.3945 ms; C# 0.0095–0.0121 ms.

medium_redo
1.30330.012C# · 108.16×
Select a leaf & insert text1,000 paragraphs
Samples & scope

Model operation only: input, layout, paint and save callbacks are excluded. The Rust and C# history implementations differ.

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 0.8473–1.1075 ms; C# 0.0181–0.0234 ms.

medium_select_leaf_and_insert
0.88860.02C# · 44.32×
Serialize1,000 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [30, 30, 30]; C# [30, 30, 30].

Process median ranges: Rust 0.1244–0.1542 ms; C# 1.2274–2.0747 ms.

medium_serialize
0.13431.3888Rust · 10.34×
Undo1,000 paragraphs
Samples & scope

Retained undo depth can differ; see checks/history limits and sample counts. Per-operation replay only, not equal total history retention.

Three fresh processes per stack. Calls per process: Rust [29, 29, 29]; C# [100, 100, 100].

Process median ranges: Rust 1.0327–1.3692 ms; C# 0.0109–0.0132 ms.

medium_undo
1.11890.0126C# · 89.15×
Read a metadata page200 rows
Samples & scope

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 6.986–7.0492 ms; C# 7.5507–9.3038 ms.

metadata_page_200
7.03857.5542Rust · 1.07×
Read every document10,000 notes
Samples & scope

Rust Store.load also reads folder metadata; C# ListNotes(limit:10000) reads notes. Both validate/decode10000 documents.

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 23.1565–25.5607 ms; C# 168.2097–174.172 ms.

read_all_10000_documents
25.2791170.176Rust · 6.73×
Restore the backup10,050 notes + 32 MiB
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1, 1, 1]; C# [1, 1, 1].

Process median ranges: Rust 162.3006–168.7348 ms; C# 322.8382–410.8078 ms.

restore_backup_10050_plus_32m
164.0122336.8042Rust · 2.05×
Export HTML15 paragraphs
Samples & scope

Rust emits a fragment; C# emits a complete document wrapper. Output bytes retained; not identical HTML bytes.

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 0.0062–0.0082 ms; C# 0.0894–0.1028 ms.

typical_html_export
0.00720.0965Rust · 13.47×
Export Markdown15 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 0.0237–0.0287 ms; C# 0.1528–0.1866 ms.

typical_markdown_export
0.02510.1764Rust · 7.03×
Create the editor model15 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 0.0049–0.0058 ms; C# 0.1279–0.1526 ms.

typical_model_construct
0.00560.1336Rust · 24.01×
Parse & validate15 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1000, 1000, 1000]; C# [1000, 1000, 1000].

Process median ranges: Rust 0.0169–0.0195 ms; C# 0.1284–0.1591 ms.

typical_parse_validate
0.0170.1505Rust · 8.85×
Redo15 paragraphs
Samples & scope

Retained undo depth can differ; see checks/history limits and sample counts. Per-operation replay only, not equal total history retention.

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 0.0093–0.0119 ms; C# 0.0148–0.0166 ms.

typical_redo
0.01030.015Rust · 1.45×
Serialize15 paragraphs
Samples & scope

Three fresh processes per stack. Calls per process: Rust [1000, 1000, 1000]; C# [1000, 1000, 1000].

Process median ranges: Rust 0.0026–0.003 ms; C# 0.0232–0.0315 ms.

typical_serialize
0.00270.0286Rust · 10.66×
Undo15 paragraphs
Samples & scope

Retained undo depth can differ; see checks/history limits and sample counts. Per-operation replay only, not equal total history retention.

Three fresh processes per stack. Calls per process: Rust [100, 100, 100]; C# [100, 100, 100].

Process median ranges: Rust 0.0093–0.012 ms; C# 0.0143–0.0169 ms.

typical_undo
0.01060.0154Rust · 1.46×

Times are medians of three process medians. The final column describes their ratio, not statistical confidence or an overall language score. SQLite versions differ: Rust 3.46.0; C# 3.54.1. Some rows perform different validation work—open “Samples & scope” for the details.

Two differences the timings exposed.

Attachment saves

C# rehashes the bytes of every referenced attachment on save. Rust’s save path does different validation. Its shorter time in those rows includes less work.

PDF publication

Rust explicitly syncs its temporary file and directory. C# closes and renames without an explicit sync in that path. Export workflows align; their crash-durability guarantees differ.

Software-rendered frame diagnostics

The current Avalonia CPU-framebuffer run measured ordinary editing p95 13.654 ms, large-note first viewport 103.957 ms, large editing p95 35.289 ms against a 33 ms target, scrolling p95 18.032 ms against an 8 ms target, and note switching p95 16.543 ms. Five editors remained retained.

The large-edit and scroll targets are unmet in that run. GPUI’s headless test stops at scene construction; Avalonia’s includes a real CPU framebuffer. Their frame times cannot be used as a Rust/C# speed ratio.

Read the full frame result

What ships with the app?

The Rust executable is about 41 MiB after stripping. C# is about 28 MiB when it shares an installed .NET runtime, or 107 MiB with the runtime included.

Published payload sizes
Linux x64 payloadWithout separate debug files · MiBFiles
Rust · stripped executable41.031
C# · shared runtime28.242
C# · runtime included106.95229

The shared .NET 10.0.15 runtime occupies another 78.481 MiB, plus 0.312 MiB for hostfxr and a small launcher. These are file bytes, not installer sizes or complete system-library dependencies. No NativeAOT, ReadyToRun, trimming or single-file mode was used.

Development outputs and packaging scope

The unstripped Rust Release executable is 271.548 MiB; a debug-stripped copy is 52.559 MiB. The fully stripped copy is 41.031 MiB. Each copy passed its CLI check; the original hash stayed unchanged.

The C# development directory includes native libraries and debug files for other platforms. Its roughly 600 MiB size is not the installed Linux payload. Actual Linux-x64 publishes were measured here. .NET deployment models.

Does C# make the agent more efficient?

The clean and optimized-build advantage is clear. A total development-time advantage has not been established.

A warm Debug build loop is close enough that build speed alone would not make me switch a working application. Rust’s quick checks and focused tests matter; so do C#’s cheaper full builds and its large-note implementation.

Where Rust saves work

  • Fast check-only feedback and the measured focused edit/test loop.
  • Quicker ordinary-note startup and short-lived commands.
  • Lower process PSS in the smaller native workloads.
  • Faster parsing and many storage/export operations in this implementation.

Where C# saves work

  • Much shorter clean builds with this framework distribution.
  • Quicker UI and shared-core Release rebuilds.
  • A faster runnable Debug UI build with the compiler warm.
  • A much cheaper large-note model edit path and deeper retained history.

The part this study could not time.

Reasoning, feature implementation, debugging, review, token use and human intervention were not tracked as matched tasks. The C# port also inherited the completed Rust behavior, schema and fixtures. Git history cannot untangle that head start.

Both versions needed custom editor, persistence and platform-integration work. Line counts and test counts describe their shape; they do not measure accepted features per hour.

Source counts, port history & agent-study limits
Source counts describe the codebase, not productivity
Counted surfaceSizeWhat it includes
Rust first-party source45,106 physical linesIncludes inline tests and diagnostics
C# application source6,928 physical linesSeparate tests and different formatting
C# vendored bridge / generator17,331 physical linesCopied upstream code, with a local maintenance cost

Rust was itself a port of an earlier Qt application. Both histories start after substantial code had already been written. Different formatting, framework reuse and test placement make a line-count ratio unsuitable as a productivity score.

A matched agent study would need several maintenance tasks, the same model and tool budget, comparable starting points, varied language order, logged active time/tokens/retries, and independent acceptance. That experiment was not part of these measurements.

Read the source and effort notes

The method. The receipts.

The study used isolated copies and synthetic libraries. Both application implementations and the live profiles stayed untouched. Every result is tied to a source snapshot and binary hash.

Machine
Intel Core Ultra X7 358H · 16 logical CPUs · 62.3 GiB reported RAM
System
Linux 7.3.6-1-omarchy · x86-64 · glibc 2.44
Build schedule
Four jobs; all 16 CPUs available. Existing power settings retained.
Rust stack
Rust/Cargo 1.99.0 · GPUI/WGPU at a pinned Zed revision
C# stack
.NET SDK 10.0.404 · runtime 10.0.15 · Avalonia 12.2.1
Recorded work
132 successful commands · 10 expected compile failures · 39 runtime groups
Native runs
22 measured launches · 600 transitions · 28 instances closed, including calibration
Exact sources, caveats & every evidence file

What was built

Rust 1.1.0 at 248c22716dd0cf6fdf0940e8fc0b68b254821aa9; GPUI at a84689073d296dfd39987bc7dd478e43ef76d83a. C# is the completed, uncommitted parity worktree at Git HEAD 88f87b9, identified by a 333-file product snapshot: 8763a319adf255331baeea53745d66ae89b0b30525be9af8a7825414d8d37e4a. HEAD alone does not identify it.

SkiaSharp 3.119.4 and HarfBuzzSharp 8.3.1.1 are pinned. Native publishes, standalone probes and the headless checker each have recorded binary hashes; RID/assembly metadata can change a binary hash without changing its source.

How the limits were handled

The first Rust Release build used a denser memory sampler, costing about 101 CPU seconds outside the command. Later builds used 250 ms RSS / 1 s PSS sampling. All samples remain available. The later-two clean median is 239.724 seconds, compared with 237.065 using all three. Short sampled-memory phases are not peak-memory rankings.

Three independent runtime process pairs use the same JSON and byte-identical seed databases. Bounded parse/model/query warmups are disclosed; they do not prove fully optimized .NET steady state. The 32 MiB media payload, deduplication, 30 PDF checks and 18 source/backup/restored-library checks passed. One probe assertion error and an optional restore setup failure are retained as excluded harness/setup failures.

Native windows use X11/XWayland on an owned nested compositor. Rust receives a private Wayland connection for clipboard transport. This is not coverage of its ordinary native-Wayland startup. A read-only image fence checks note pixels; it cannot measure photons. Cua sends the shared Ctrl+Q shortcut; an exact-window passive observer records notifications and exit.

Outside this experiment

No reboot-cold startup, physical display timestamp, sustained GPU frame-rate, battery/energy study, cross-platform comparison, 1 GiB media stress or long-duration leak test is claimed. CPU seconds are not joules. NativeAOT, ReadyToRun, linker tuning, IDE hot reload and persistent language-server workflows were not tested.

Fonts & offline reading

Noto Sans is embedded under the SIL Open Font License. The page, charts and calculator work without a network connection. The linked evidence files accompany the report folder.

Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Measured 3 December 2026. A study of these implementations on this computer.

Back to the answer