A way to speed up time clock of Chrome for development?

2,852 views
Skip to first unread message

Matt Barber

unread,
Dec 16, 2016, 8:19:35 AM12/16/16
to Chromium-discuss
Hi!

Does anyone know if there is a way to speed up the wall time of Chrome? For instance, if I wanted to make 1 minute pass in 30 seconds, or set the clock that Chrome renders at 2x.

I don't know if it's possible but it would assist in certain development scenarios.

Thanks!

PhistucK

unread,
Dec 16, 2016, 8:29:50 AM12/16/16
to mat...@gmail.com, Chromium-discuss
I do not think Chrome has such a flag or an option, you will have to enable it on your own using a customized build of Chromium.

However, I think --headless mode has something similar (supported only on Linux at the moment, in the canary build). It is only relevant if you do not want to show the results on the screen, though.

You might be able to speed timers up hijacking setTimeout, requestAnimationFrame and setInterval with your own versions, by building a bookmarklet or a Chrome extension.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

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

Reply all
Reply to author
Forward
0 new messages