Code search latency improvements

75 views
Skip to first unread message

Gary Tong

unread,
Jun 23, 2025, 12:34:09 PM6/23/25
to chromium-dev

Hello all,


In our Chrome developer productivity surveys, Code Search has been frequently cited as an area that needs improvement. Specifically, the asks have been:

  • Latency improvements

  • More cross references

  • Faster indexing

  • Fewer duplicate results


We’re excited to announce that, through the fantastic work of the Git-on-Borg team, latency for both history and blame operations have been significantly reduced. The most recent changes, released over the month of April, brought P90 latencies down from 10+ seconds to less than 2:

Loading blame on DEPS is actually pretty fast now! (this also works on Code search but it’s not linkable)


We’ve also partnered with the Git-on-Borg team to set up SLOs for code search availability and latency going forward. They are:

  • History and blame availability > 99.5%

  • History latency < 1s at P50 and < 7s at P90 (because it can take a long time to fetch history for files that haven’t been touched in years)

  • Blame latency < 7s at P90

The SLOs are viewable on the Chrome Dev Infra SLO (Googlers only) dashboard.


Huge thanks to the Git-on-Borg team for all their work here! Making history and blame quick for Chromium’s codebase is not an easy task, and there were significant technical challenges to overcome to deliver these improvements. We’re also making progress in the other areas, and will share more as it lands.


Best,

Gary on behalf of PDEIO


Simeon Anfinrud

unread,
Jun 23, 2025, 3:47:24 PM6/23/25
to gat...@google.com, chromium-dev
This is God's work right here, thank you so much. It really does make a huge difference being able to count on a foundational tool like this to be able to load quickly.

--
--
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 visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAFjM6B5wvxM3KiPuZo7y-L7_AJ1F5Et-PxHmqcRTUwfmhQGS%3DA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages