Coding: Fleeting Thoughts
Moderators: phlip, Moderators General, Prelates
- Yakk
- Poster with most posts but no title.
- Posts: 11103
- Joined: Sat Jan 27, 2007 7:27 pm UTC
- Location: E pur si muove
Re: Coding: Fleeting Thoughts
Why would commits take 5 minutes?!
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
-
- Posts: 1141
- Joined: Thu Dec 10, 2009 6:21 pm UTC
- Location: Placerville, CA
- Contact:
Re: Coding: Fleeting Thoughts
Yakk wrote:Why would commits take 5 minutes?!
Obviously, because you're in a hurry and would rather they take five seconds. This is the way of things.
"'Legacy code' often differs from its suggested alternative by actually working and scaling."
- Bjarne Stroustrup
www.commodorejohn.com - in case you were wondering, which you probably weren't.
- Bjarne Stroustrup
www.commodorejohn.com - in case you were wondering, which you probably weren't.
- Xenomortis
- Not actually a special flower.
- Posts: 1437
- Joined: Thu Oct 11, 2012 8:47 am UTC
Re: Coding: Fleeting Thoughts
I suspect something other than ~500 line text files are being committed...

Re: Coding: Fleeting Thoughts
Yakk wrote:Why would commits take 5 minutes?!
Fine, it was closer to 3 minutes each. I thought it was a good idea to archive the xkcraftia backups in a git repository (since it's the default version control these days), thinking "oh, git can handle binary blobs well enough". Alas, it takes significantly longer to perform a commit than to copy the whole directory and the commit is significantly larger than storing a copy.
Note that these were commits for which nearly everything changed. (especially after the update to minecraft 1.13 in which every single piece of the world was repackaged)
Now borg was only twice as fast with committing a backup, but it did manage to de-duplicate a bunch of data so the end result is slightly smaller than separate backups.
Of course today's backup is be 'small' in both borg and git because less than a tenth of the files have changed, but now I've got borg set up so screw (g)it.
- Yakk
- Poster with most posts but no title.
- Posts: 11103
- Joined: Sat Jan 27, 2007 7:27 pm UTC
- Location: E pur si muove
Re: Coding: Fleeting Thoughts
"oh, git can handle binary blobs well enough"
Hahahahahahahahahaahahahahahahahaha
ahum.
One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.
Who is online
Users browsing this forum: No registered users and 8 guests