You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git-filter-repo/t/t9391
Elijah Newren 6dba1f200c filter-repo: avoid string->datetime->string round trips
Most filtering operations are not interested in the time that commits
were authored or committed, or when tags were tagged.  As such,
translating the string representation of the date into a datetime object
is wasted effort, and causes us to waste more time later as we have to
translate it back into a string.

Instead, provide string_to_date() and date_to_string() functions so that
callers can perform the translation if wanted, and let the normal case
be fast.

Provides a small but noticable speedup when just filtering based on
paths; about a 3.5% improvement in execution time for writing the new
history.

Signed-off-by: Elijah Newren <newren@gmail.com>
5 years ago
..
commit_info.py filter-repo: avoid string->datetime->string round trips 5 years ago
create_fast_export_output.py filter-repo: avoid string->datetime->string round trips 5 years ago
file_filter.py filter-repo: add some testcases making use of filter-repo as a library 5 years ago
print_progress.py filter-repo: add some testcases making use of filter-repo as a library 5 years ago
rename-master-to-develop.py filter-repo: add some testcases making use of filter-repo as a library 5 years ago
splice_repos.py filter-repo: add some testcases making use of filter-repo as a library 5 years ago
strip-cvs-keywords.py filter-repo: add some testcases making use of filter-repo as a library 5 years ago