Skip to main content

One post tagged with "rust"

View All Tags

Announcing AniMathIO 2.0

· 4 min read
Kovács Bálint-Hunor
AniMathIO maintainer

AniMathIO 2.0 exports a 60-second 1080p video in 37 seconds instead of 117, opens projects five times faster and uses half the memory of 1.x.

1.8.3 (Electron)2.0 (Rust)
Export, 60 s 1080p30 MP4116.8 s37.4 s (3.1× faster)
Export, 10 s 1080p30 MP420.4 s6.5 s
Open a project1.08 s0.21 s
Start to a usable window0.81 s0.20 s
Memory, idle with a project open923 MiB487 MiB
Peak memory, 10 s export (1)1252 MiB128 MiB
Size on disk (2)658 MiB293 MiB

Measured on one Linux machine (Ryzen 7 5800X) under a virtual X display, medians of three runs. (1) Export memory compares the 1.x app exporting from its window with the 2.0 command-line exporter. (2) The unpacked 1.x build against a 2.0 install. The method, raw numbers and caveats are in benchmarks.md.

The speed comes from the design: 2.0 is a native Rust app with one renderer shared by preview and export, and everything math-specific lives in sandboxed WebAssembly plugins.