perf(project): read file sizes once per sort

This commit is contained in:
arnav-hiwarkar
2026-10-13 15:12:32 +05:30
parent 91ee7bf1b3
commit b63efeb0d3
4 changed files with 276 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/.."
CARGO_PROFILE_RELEASE_LTO=false cargo test -p effectcraft-ui-egui --release --lib panels::project::tests::size_sort_benchmark -- --ignored --nocapture