diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-01-15 04:56:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-15 12:56:30 +0000 |
commit | a4c98e347215528d20e4891e4f0e54b2d8523c89 (patch) | |
tree | 859ce3024e6c6d908918ac21d5f8c17087dca632 /cli/tests/unit/blob_test.ts | |
parent | 90c03812720c328dcb68939400b265128b6eca8f (diff) |
fix(runtime/os): use GetPerformanceInfo for swap info on Windows (#17433)
Fixes https://github.com/denoland/deno/issues/17417
According to
https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-memorystatusex
, `stat.ullTotalPageFile` value is reliable only from
GetPerformanceInfo()
Also see https://github.com/GuillaumeGomez/sysinfo/issues/534
Co-authored-by: Nightly <dhairysrivastava5@gmail.com>
Diffstat (limited to 'cli/tests/unit/blob_test.ts')
0 files changed, 0 insertions, 0 deletions