Title: [229406] trunk/Source/WTF
- Revision
- 229406
- Author
- [email protected]
- Date
- 2018-03-08 05:00:31 -0800 (Thu, 08 Mar 2018)
Log Message
[GLib] RunLoop::wakeUp(): use a zero value instead of the monotonic time
https://bugs.webkit.org/show_bug.cgi?id=183447
Reviewed by Carlos Garcia Campos.
* wtf/glib/RunLoopGLib.cpp:
(WTF::RunLoop::wakeUp): Micro-optimize the wake-up schedule by using
a zero value as the GSource ready time, instead of retrieving and using
the current monotonic time.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (229405 => 229406)
--- trunk/Source/WTF/ChangeLog 2018-03-08 12:43:03 UTC (rev 229405)
+++ trunk/Source/WTF/ChangeLog 2018-03-08 13:00:31 UTC (rev 229406)
@@ -1,3 +1,15 @@
+2018-03-08 Zan Dobersek <[email protected]>
+
+ [GLib] RunLoop::wakeUp(): use a zero value instead of the monotonic time
+ https://bugs.webkit.org/show_bug.cgi?id=183447
+
+ Reviewed by Carlos Garcia Campos.
+
+ * wtf/glib/RunLoopGLib.cpp:
+ (WTF::RunLoop::wakeUp): Micro-optimize the wake-up schedule by using
+ a zero value as the GSource ready time, instead of retrieving and using
+ the current monotonic time.
+
2018-03-08 Tim Horton <[email protected]>
Don't have Celestial in minimal simulator configuration
Modified: trunk/Source/WTF/wtf/glib/RunLoopGLib.cpp (229405 => 229406)
--- trunk/Source/WTF/wtf/glib/RunLoopGLib.cpp 2018-03-08 12:43:03 UTC (rev 229405)
+++ trunk/Source/WTF/wtf/glib/RunLoopGLib.cpp 2018-03-08 13:00:31 UTC (rev 229406)
@@ -120,7 +120,7 @@
void RunLoop::wakeUp()
{
- g_source_set_ready_time(m_source.get(), g_get_monotonic_time());
+ g_source_set_ready_time(m_source.get(), 0);
}
class DispatchAfterContext {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes