rojo/src
Joe 0e318b6b33 perf: optimize git-metadata endpoint with diff-index + caching
Replace `git status --porcelain -uall` with `git diff-index` (6x faster
for tracked changes) and `git ls-files --others` for untracked files.
Add mtime-based caching keyed on .git/index mtime, HEAD SHA, and tree
mutation cursor to make repeated calls near-instant (~14ms vs ~1000ms).

Empty changesets are never cached to ensure external file edits are
always detected on the next query. Falls back to git status for repos
with no commits (empty repo edge case).
2026-03-12 22:32:23 -05:00
..
cli fix: optimize serve/sourcemap startup from >180s to ~8s 2026-03-12 18:02:45 -05:00
snapshot refactor: deduplicate is_meta_or_model into shared helper 2026-03-12 21:04:43 -05:00
snapshot_middleware feat: implement optimal assignment using Hungarian algorithm in matching process 2026-03-07 17:55:50 -06:00
syncback refactor: change logging level from info to debug for orphan scan performance metrics 2026-03-07 21:30:12 -06:00
web perf: optimize git-metadata endpoint with diff-index + caching 2026-03-12 22:32:23 -05:00
change_processor.rs Refactor VFS event logging and streamline ServeSession watch setup 2026-03-07 14:41:17 -06:00
git.rs perf: optimize git-metadata endpoint with diff-index + caching 2026-03-12 22:32:23 -05:00
glob.rs Add JSONC Support for Project, Meta, and Model JSON files (#1144) 2025-10-28 17:29:57 -07:00
hungarian.rs feat: add is_empty method to GitIndexCache and refactor Hungarian algorithm loop 2026-03-12 20:25:21 -05:00
json.rs Enhance float formatting and comparison functions for disk representation 2026-02-19 00:44:16 -06:00
lib.rs feat: implement Hungarian algorithm for optimal instance pairing in reconciler 2026-03-07 18:13:19 -06:00
logging.rs feat: add asynchronous log compression with thread priority adjustment 2026-03-08 15:55:45 -05:00
lua_ast.rs Fix clippy lint warnings (#1004) 2025-01-13 10:07:53 -08:00
main.rs Refactor logging configuration and streamline command execution in tests 2026-03-01 14:41:51 -06:00
message_queue.rs Remove unused dependencies and dead code warnings 2022-05-22 19:20:41 -04:00
multimap.rs Enhance git change detection by introducing relevant prefixes 2026-03-01 16:42:19 -06:00
path_serializer.rs Implement Syncback to support converting Roblox files to a Rojo project (#937) 2025-11-19 09:21:33 -08:00
project.rs Refactor path ignore rule handling in Project and ServeSession 2026-03-06 23:12:28 -06:00
resolution.rs Enhance float formatting and comparison functions for disk representation 2026-02-19 00:44:16 -06:00
roblox_api.rs Enhance project cloning and initialization process 2026-03-06 22:49:32 -06:00
rojo_ref.rs style: cargo fmt rojo_ref.rs 2026-03-12 21:06:47 -05:00
serve_session.rs perf: optimize git-metadata endpoint with diff-index + caching 2026-03-12 22:32:23 -05:00
session_id.rs Fix clippy warnings 2019-10-17 18:22:53 -07:00
tree_view.rs Update rbx-dom (#1023) 2025-04-02 11:32:27 -07:00
variant_eq.rs Refactor font comparison logic in variant_eq and hash_variant functions 2026-02-19 01:47:37 -06:00