Sequence-view in chrome://tracing?

13 views
Skip to first unread message

Gabriel Charette

unread,
Nov 29, 2016, 11:17:47 AM11/29/16
to task-sche...@chromium.org, scheduler-dev
Hey guys,

I was chatting with someone in Waterloo last week (don't remember name :-S) and they asked whether we would integrate some sort of "sequence view" in chrome://tracing now that we're moving from dedicated threads to sequences on TaskScheduler.

I think that would be awesome. TaskScheduler tasks are already tagged with metadata which includes "SequenceToken" but it'd be even better if a view could be toggled to see all tasks in the same sequence on a single line.

Could that also make sense for the Blink scheduler? (even though its sequences are all funneled to single thread).

I have no idea how to do this but would love to see it happen :)

Gab

Alex Clarke

unread,
Nov 29, 2016, 11:27:00 AM11/29/16
to Gabriel Charette, task-sche...@chromium.org, scheduler-dev
On 29 November 2016 at 16:17, Gabriel Charette <g...@chromium.org> wrote:
Hey guys,

I was chatting with someone in Waterloo last week (don't remember name :-S) and they asked whether we would integrate some sort of "sequence view" in chrome://tracing now that we're moving from dedicated threads to sequences on TaskScheduler.

I think that would be awesome. TaskScheduler tasks are already tagged with metadata which includes "SequenceToken" but it'd be even better if a view could be toggled to see all tasks in the same sequence on a single line.

Could that also make sense for the Blink scheduler? (even though its sequences are all funneled to single thread).

Possibly it could.  Despite there only being 1 main thread, there might be 100+ task queues each of which has their own sequence.

 
I have no idea how to do this but would love to see it happen :)

Gab

--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAJTZ7LKVXMJf8ZfadqgFomdzh23xVmsXoiBKmioZdnEFbZA35w%40mail.gmail.com.

Sami Kyostila

unread,
Nov 29, 2016, 12:00:36 PM11/29/16
to Alex Clarke, Gabriel Charette, task-sche...@chromium.org, scheduler-dev
That's not a bad idea. Not sure how easy it is to implement since a lot of about:tracing is built around the trace model, which is very process/thread-centric.

Note that it's also pretty easy to write a new component for visualizing state snapshots dumped by TaskScheduler if you want to build something more custom.

- Sami

ti 29. marraskuuta 2016 klo 16.27 'Alex Clarke' via task-scheduler-dev <task-sche...@chromium.org> kirjoitti:
On 29 November 2016 at 16:17, Gabriel Charette <g...@chromium.org> wrote:
Hey guys,

I was chatting with someone in Waterloo last week (don't remember name :-S) and they asked whether we would integrate some sort of "sequence view" in chrome://tracing now that we're moving from dedicated threads to sequences on TaskScheduler.

I think that would be awesome. TaskScheduler tasks are already tagged with metadata which includes "SequenceToken" but it'd be even better if a view could be toggled to see all tasks in the same sequence on a single line.

Could that also make sense for the Blink scheduler? (even though its sequences are all funneled to single thread).

Possibly it could.  Despite there only being 1 main thread, there might be 100+ task queues each of which has their own sequence.

 
I have no idea how to do this but would love to see it happen :)

Gab

--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.

--
You received this message because you are subscribed to the Google Groups "task-scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to task-scheduler-...@chromium.org.
To post to this group, send email to task-sche...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/task-scheduler-dev/CAPG_qM4_9dOoCaRQP3Z9xc5PMxMnB7-R%3D6%2BXs31sYLWLSCH_ug%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages