
This reverts commit0fae0abfd2
. Reason for revert: Race access to base::ScopedMockElapsedTimersForTest https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20TSan%20Tests/92754/overview Original change's description: > Add timing histograms and trace events to sql database ops > > This CL adds a few histograms: > - Sql.Statement.StepTime.{DatabaseTag}: time spent in each > single `Step()` call > - Sql.Statement.ExecutionTime.{DatabaseTag}: total time > spent in `Step()` within the lifetime of each statement > - Sql.Database.Success.OpenInternalTime.{DatabaseTag}: time > spent in `Database::OpenInternal()` > - Sql.Database.Success.SqliteOpenTime.{DatabaseTag}: time taken > by the `sqlite3_open_v2()` call within `Database` > > It also adds a few trace events: > - "Database::OpenInternal sqlite3_open_v2" directly around > the `sqlite3_open_v2()` call > - "Database::Statement", spanning the time spent stepping for > each statement. These are emitted in new tracks named > "Database: {Tag}" parented on the track of the thread calling > `Step()`. These events also contain the associated prepared > statements (without bound parameters). > > Bug:40949392
> Change-Id: I2de4a0359e68961f58d5e7f0434b5c56292626d1 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6019886 > Reviewed-by: Greg Thompson <grt@chromium.org> > Commit-Queue: Anthony Vallée-Dubois <anthonyvd@chromium.org> > Reviewed-by: Etienne Bergeron <etienneb@chromium.org> > Reviewed-by: Ayu Ishii <ayui@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1385191} Bug:40949392
Change-Id: Ie5af7e4ef64d26e868d40cda803ed376b4c84763 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6034678 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Mikihito Matsuura <mikt@google.com> Auto-Submit: Mikihito Matsuura <mikt@google.com> Commit-Queue: Mikihito Matsuura <mikt@google.com> Cr-Commit-Position: refs/heads/main@{#1385457}
Chromium
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead,
follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.