1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/ext
Matt Mastracci ad22336245
feat(ext/web): Request higher-resolution timer on Windows if user requests setTimeout w/short delay (#19149)
If a timer is requested with <=100ms resolution, request the high-res
timer. Since the default Windows timer period is 15ms, this means a
100ms timer could fire at 115ms (15% late). We assume that timers longer
than 100ms are a reasonable cutoff here.

The high-res timers on Windows are still limited. Unfortuntely this
means that our shortest duration 4ms timers can still be 25% late, but
without a more complex timer system or spinning on the clock itself,
we're somewhat bounded by the OS' scheduler itself.
2023-05-17 13:59:55 -06:00
..
broadcast_channel chore: forward v1.33.3 release commit to main (#19111) 2023-05-12 14:47:27 +00:00
cache refactor(core): bake single-thread assumptions into spawn/spawn_blocking (#19056) 2023-05-14 15:40:01 -06:00
console chore: forward v1.33.3 release commit to main (#19111) 2023-05-12 14:47:27 +00:00
crypto refactor(core): bake single-thread assumptions into spawn/spawn_blocking (#19056) 2023-05-14 15:40:01 -06:00
fetch refactor(node): reimplement http client (#19122) 2023-05-17 01:20:32 +02:00
ffi refactor(core): bake single-thread assumptions into spawn/spawn_blocking (#19056) 2023-05-14 15:40:01 -06:00
fs refactor(core): bake single-thread assumptions into spawn/spawn_blocking (#19056) 2023-05-14 15:40:01 -06:00
http fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154) 2023-05-16 17:00:59 -06:00
io refactor(core): bake single-thread assumptions into spawn/spawn_blocking (#19056) 2023-05-14 15:40:01 -06:00
kv chore: forward v1.33.3 release commit to main (#19111) 2023-05-12 14:47:27 +00:00
napi chore: forward v1.33.3 release commit to main (#19111) 2023-05-12 14:47:27 +00:00
net refactor(ext/http): simpler ws server in http_next (#19133) 2023-05-16 01:24:41 +02:00
node fix(node): export diagnostics_channel module (#19167) 2023-05-17 12:29:50 +00:00
tls fix: support "fetch" over HTTPS for IP addresses (#18499) 2023-05-17 02:19:23 +02:00
url chore: forward v1.33.3 release commit to main (#19111) 2023-05-12 14:47:27 +00:00
web feat(ext/web): Request higher-resolution timer on Windows if user requests setTimeout w/short delay (#19149) 2023-05-17 13:59:55 -06:00
webidl chore: forward v1.33.3 release commit to main (#19111) 2023-05-12 14:47:27 +00:00
websocket refactor(ext/http): simpler ws server in http_next (#19133) 2023-05-16 01:24:41 +02:00
webstorage chore: forward v1.33.3 release commit to main (#19111) 2023-05-12 14:47:27 +00:00