New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 682215 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit 26 days ago
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Benchmarking flat_sets.

Reported by dyaros...@yandex-team.ru, Jan 18 2017

Issue description

This task is a followup to https://bugs.chromium.org/p/chromium/issues/detail?id=671759

While developing flat_sets, we based on benchmarks for HistoryQuickProvider added here https://bugs.chromium.org/p/chromium/issues/detail?id=643668

We have to develop benchmarks for different scenarios using sets and compare performance of flat_set/std::set for these scenarios in order to come up with guidance for where to use flat_sets vs std::sets.
Another thing to benchmark ought to be gather everything in a vector and sort + unique where it makes sense. This is a useful baseline to measure inserting many elements.
 

Comment 1 by ajha@chromium.org, Jan 19 2017

Components: Internals>Metrics
Labels: TE-NeedsTriageHelp
ajha: why did you add those labels?  This is not a general metrics task.  This will not involve changing any metrics internals, and may live somewhere else (say, telemetry).  Also, I don't see why this needs triage help; this is a follow-up from a changelist in progress that the filer will do when the changelist is submitted.

Comment 3 by ajha@chromium.org, Jan 19 2017

Components: -Internals>Metrics Tests>Telemetry
Thanks mark@ for update. Adjusting to more appropriate bug component as per C#2.

Comment 4 by danakj@chromium.org, Jan 26 2017

Labels: -Type-Bug -Pri-3 -TE-NeedsTriageHelp Pri-2 Type-Feature
Status: Available (was: Unconfirmed)

Comment 5 by danakj@chromium.org, Jan 26 2017

Components: -Tests>Telemetry Internals
Project Member

Comment 6 by sheriffbot@chromium.org, Feb 12 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 7 by danakj@chromium.org, Feb 13 2018

Owner: brettw@chromium.org
Status: Fixed (was: Untriaged)
Guidance was written by brettw
@danakj

Can you give me a link please?
Benchmarking such things is a huge pain, would be terribly nice to have a library btw.
But reviewers were against it at the time.

I actually did some benchmarking on the side - everything except for insert(first, last) is ok.
There are 3 calls to insert(first, last) in the entire code base, so it doesn't seem to matter.
And implementing it properly is a bigger pain than Chromium needs, in my opinion.

Comment 9 by danakj@chromium.org, Feb 13 2018

The guidance is in base/containers/README.md

If you'd like to do more then you can re-open this and we can assign it to you. It's been idle for a year tho.
@danakj - Oh I see - usage advice, not benchmarking advice.
No, I don't see much value in it now.
I just misunderstood, that you wanted to reopen this ticket.
My bad.

Sign in to add a comment