Turn on git pack bitmaps?
| От | Andres Freund |
|---|---|
| Тема | Turn on git pack bitmaps? |
| Дата | |
| Msg-id | 20150219154146.GA6093@alap3.anarazel.de обсуждение исходный текст |
| Ответы |
Re: Turn on git pack bitmaps?
|
| Список | pgsql-www |
Hi, Right now cloning/refreshing a repository often spends a fair amount of its time in the 'Counting objects' stage. Since git 2.0 git has a 'bitmap index' feature for packs. I wonder if that could be enabled on gitmaster/git.pg.o? Saves both time and CPU. # enable it everywhere git config --global pack.writebitmaps on git config --global pack.writeBitmapHashCache on git config --global pack.threads 0 # make gc/repack faster, autodetect cpus # and write it by repacking git gc --aggressive --no-prune Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-www по дате отправления: