00:41:04  * amurzeau1joined
00:43:24  * pspi_joined
00:45:45  * amurzeau_quit (Ping timeout: 240 seconds)
00:45:45  * pspiquit (Ping timeout: 240 seconds)
00:45:45  * Jacob843quit (Ping timeout: 240 seconds)
00:45:55  * pspi_changed nick to pspi
00:46:09  * Jacob843joined
00:57:20  * jcrugzzquit (*.net *.split)
01:07:03  * jcrugzzjoined
01:10:07  * grantilajoined
01:14:21  * grantilaquit (Ping timeout: 246 seconds)
02:20:57  * grantilajoined
02:20:58  * grantilaquit (Client Quit)
02:41:26  * amurzeau1quit (Ping timeout: 264 seconds)
02:43:07  * amurzeau_joined
03:32:23  * grantilajoined
03:36:37  * grantilaquit (Ping timeout: 248 seconds)
03:56:29  * Ruyiquit (Ping timeout: 258 seconds)
04:01:44  * AragornTheStridequit (Read error: Connection reset by peer)
04:01:52  * AragornTheStridejoined
04:05:22  * Ruyijoined
04:07:21  * brsonquit (Quit: leaving)
04:09:52  * ruyi_du_joined
04:13:38  * Ruyiquit (Ping timeout: 256 seconds)
04:34:15  * ruyi_du_quit (Read error: Connection reset by peer)
04:35:02  * ruyi_du_joined
04:43:35  * grantilajoined
04:43:41  * grantilaquit (Client Quit)
05:00:53  * ruyi_du_quit (Ping timeout: 248 seconds)
05:27:29  * rmgquit (Remote host closed the connection)
05:55:02  * grantilajoined
05:59:31  * grantilaquit (Ping timeout: 258 seconds)
06:00:00  * txdvquit (Quit: WeeChat 0.4.2)
06:00:15  * txdvjoined
06:11:20  * thefourtheyejoined
07:05:52  * grantilajoined
07:05:53  * grantilaquit (Client Quit)
07:38:42  * grantilajoined
07:42:38  * grantilaquit (Client Quit)
08:07:29  * rendarjoined
08:14:07  * grantilajoined
08:14:52  * grantilaquit (Client Quit)
09:26:11  * grantilajoined
09:30:18  * grantilaquit (Ping timeout: 246 seconds)
09:51:38  * AragornTheStrid1joined
09:51:42  * ThorinTheDwarfquit (Read error: Connection reset by peer)
09:51:49  * AragornTheStridequit (Read error: Connection reset by peer)
09:52:57  * ThorinTheDwarfjoined
10:56:47  * seishunjoined
11:24:42  * thefourtheyequit (Quit: Connection closed for inactivity)
11:25:09  * thealphanerdquit (Quit: farewell for now)
11:25:40  * thealphanerdjoined
12:33:15  * Alcestjoined
12:34:45  * seishunquit (Ping timeout: 258 seconds)
12:37:10  * seishunjoined
13:04:39  * seishunquit (Ping timeout: 258 seconds)
13:06:00  * seishunjoined
13:56:44  * seishunquit (Ping timeout: 256 seconds)
15:17:50  * Fishrock123joined
16:17:32  * seishunjoined
16:45:37  * AragornTheStrid1quit (Quit: Leaving.)
16:45:37  * ThorinTheDwarfquit (Quit: Leaving.)
16:56:02  * rmgjoined
17:21:44  * brsonjoined
17:30:13  * shledorjoined
17:30:30  <shledor>is there a compile time const somewhere in libuv that changes the granularity of setTimeout() ?
17:39:33  <indutny>shledor: I'm afraid no
17:45:42  <shledor>so I want to run something at 60 Hz in Node (exactly 16.666 ms), setTimeout(fn, 1) has an accuracy of ~3ms with outliers in the 20-30ms range
17:46:03  <shledor>setImmediate is very accurate but uses 100% of cpu
18:17:33  * seishunquit (Ping timeout: 245 seconds)
18:24:51  * seishunjoined
18:31:14  <indutny>shledor: I think you can patch libuv
18:31:16  <indutny>to do this
18:31:48  <indutny>shledor: uv__update_time
18:31:53  <indutny>shledor: is the function that you need to change
18:33:01  <indutny>note that it will affect all timers
18:33:20  <indutny>you may try to mitigate it with further patches to `setTimeout()` in node.js core
18:33:26  <indutny>so that it would accept non-integer timeouts
18:33:42  <indutny>all in all, however
18:33:48  <indutny>I'm not sure if you'll be able to get better accuracy
18:34:18  <indutny>but you may give it a spin ;)
18:41:11  * grantilajoined
18:42:36  <shledor>indutny: it's not just the fact that it is non-integer, but its granularity is even worse at 3-5ms when idle and even higher under load
18:42:46  <shledor>I'll check that function, thanks
18:43:04  <indutny>shledor: could it be caused by your code?
18:43:12  <indutny>or is it granular with empty callbacks too?
18:44:09  <shledor>it is granular with empty callbacks too (platform: ubuntu 16.04 running inside a Vbox VM)
18:45:11  <indutny>vbox is very likely a culprit
18:45:52  <indutny>let me double-check
18:49:02  <indutny>oh I see
18:49:06  <indutny>yeah, it is very granular
18:53:53  <indutny>shledor: as far as I can see - this is due to kernel
18:53:56  <indutny>not node in particular
18:54:06  <indutny>it may be worth checking it on a non-virtualized machine, though
18:54:15  <shledor>VMs do weird stuff with timings
18:54:50  <shledor>I'll do that indutny thanks
18:55:04  <indutny>np
19:05:23  * rendarquit (Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!)
19:20:50  <indutny>I'll see if I can come up with a patch to compensate this leeway in kernel
20:53:44  * Fishrock123quit (Remote host closed the connection)
22:02:22  * Fishrock123joined
22:52:08  * seishunquit (Ping timeout: 245 seconds)
23:17:47  * grantilaquit (Quit: Leaving.)
23:53:03  * Fishrock123quit (Quit: Leaving...)