Skip to content
Snippets Groups Projects
Commit 454fdaf1 authored by Josip Sokcevic's avatar Josip Sokcevic Committed by LUCI
Browse files

sync: Always use WORKER_BATCH_SIZE

With 551285fa, the comment about number
of workers no longer stands - dict is shared among multiprocesses and
real time information is available.

Using 2.7k projects as the baseline, using chunk size of 4 takes close
to 5 minutes. A chunk size of 32 takes this down to 40s - a reduction of
rougly 8 times which matches the increase.

R=gavinmak@google.com

Bug: b/371638995
Change-Id: Ida5fd8f7abc44b3b82c02aa0f7f7ae01dff5eb07
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/438523


Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Tested-by: default avatarJosip Sokcevic <sokcevic@google.com>
Reviewed-by: default avatarGavin Mak <gavinmak@google.com>
parent f7f9dd4d
No related branches found
No related tags found
Loading
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