Skip to content
Snippets Groups Projects
Commit a28216b2ea69 authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

incoming: stop caching dulwich objects

This is a premature optimisation, since Dulwich does a lot caching
internally anyway. I have been unable to demonstrate any benefit from
this; a bit of profiling shows that this stage of an incoming
command takes ~12 seconds, even with more than 100k commits.

Generally speaking, the actual conversion will take significantly
longer time than caching these objects. In fact, the cache might
actually be harmful for very long-running conversions, as they tend to
run into memory constraints.
parent 4dc1e9ba165b
No related branches found
No related tags found
1 merge request!127Remove some unnecessary caching
Pipeline #28440 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment