Hi, everyoneSome years ago, a concern about git blame's performance on chromium repo wasraised at git's mailing list[1]. Although it was long ago, it seems that the proposal tomake blame multi-threaded didn't make it to the end. So I would like to know if this isstill an issue at chromium and if you have any other problems with slower thanexpected git commands.
I'm planning to work on git performance for my GSoC, so it's important for me toidentify if there's still a real problem nowadays and where it is. Any feedback willbe highly appreciated.Thanks,Matheus Tavares
As an addendum:
To take a look by myself, I downloaded chromium and got (on a machine with i7 and
SSD, running Manjaro Linux):
- 17s on blame for a file with long history[2]
- 2m on blame for a huge file[3]
- 15s on log for both [2] and [3]
- 1s for git status
It seems quite a lot, especially with SSD, IMO.
[2] ./chrome/browser/about_flags.cc (same with ./DEPS)[3] third_party/sqlite/amalgamation/sqlite3.c (7.5M)
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/b639c0f0-f250-464a-add0-71f6ff0c72e5%40chromium.org.
Hi, Erick, Harry and others
This thread started a long time ago (a year!), but I can finally come
back to share the results with you :)
TL;DR: in Git 2.26, git-grep can now use multiple threads when
searching in historical revision. This allows for a better
performance, with speedups of up to 3.3x in my tests with the Chromium
repo.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAEYHnr1nYPimqUOThMooSQfmDkp2b%3DWCNgEHfL3FjU6KOGa4UQ%40mail.gmail.com.
On Tue, Apr 7, 2020 at 7:15 AM Matheus Tavares Bernardino <matheus....@usp.br> wrote:Hi, Erick, Harry and others
This thread started a long time ago (a year!), but I can finally come
back to share the results with you :)
TL;DR: in Git 2.26, git-grep can now use multiple threads when
searching in historical revision. This allows for a better
performance, with speedups of up to 3.3x in my tests with the Chromium
repo.Thank you! I have noticed this perf improvement personally as I do git grep on many-core machines frequently, and with 2.26 it is significantly faster :). You have made my development experience more pleasant!
PK