OXYGENHUB

log_for_path_in and blame_in rebuild the whole state and walk every change issue #1 closed: completed andymccall opened this · 0 comments

andymccall

Repo::log_for_path_in and Repo::blame_in load and materialise the whole state on every call, and log_for_path_in reads every change of the log to find those touching a path. OxygenHub measured about 190 ms per file page on the oxygen repository for the newest change of one file. Let callers pass a state they already hold, stop early when only the newest change is wanted, and benchmark it.

closed by change bc489b6c7f69 ·

andymccall set labels performance ·

site token referenced by change b3e605903164 on main ·