<p></p>
<p>The <code>gettimeofday()</code> calls might come from checking if the file changed on disk, IIRC this happens when switching tabs with some interval. The slowiness could result from files on a network filesystem.</p>
<p>However, this contradicts the observation that it behaves differently with Wayland and Xorg. At least I cannot see any relation between file timestamp checking and a display server.<br>
<a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/sej7278/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sej7278">@sej7278</a> can you ensure that no network filesystem (SMB, Fuse, GVFS, sshfs, ...) is involved?<br>
If so, the <code>gettimeofday()</code> calls are probably not the related.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1532#issuecomment-710819987">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7SLXKF2P65KWZBIMLSLF2A3ANCNFSM4DRXGE5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5YCSEUMC55RMRNETTSLF2A3A5CNFSM4DRXGE52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFJPEBEY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1532#issuecomment-710819987",
"url": "https://github.com/geany/geany/issues/1532#issuecomment-710819987",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>