1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 23:58:23 -05:00
denoland-deno/ext
Divy Srivastava fffa3804aa
fix(ext/node): Fix os.cpus() on Linux (#27592)
Populate `speed` using current scaling frequency and fix times
multiplier.

Fixes https://github.com/denoland/deno/issues/27555

<table>
<tr>
<th>Node.js</th>
<th>Deno</th>
</tr>
<tr>
<td>

```
> os.cpus()
[
  {
    model: 'AMD Ryzen 5 7530U with Radeon Graphics',
    speed: 1396,
    times: {
      user: 1769930,
      nice: 20,
      sys: 525630,
      idle: 41325700,
      irq: 110060
    }
  },
```

</td>
<td>

```
> os.cpus()
[
  {
    model: "AMD Ryzen 5 7530U with Radeon Graphics",
    speed: 1630,
    times: [Object: null prototype] {
      user: 1795620,
      nice: 20,
      sys: 537840,
      idle: 41589390,
      irq: 111230
    }
  },
```

</td>
</tr>
</table>
2025-01-08 22:09:55 +05:30
..
broadcast_channel chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
cache chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
canvas chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
console chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
cron chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
crypto chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
fetch feat(unstable): replace SpanExporter with TracerProvider (#27473) 2025-01-06 14:28:29 +01:00
ffi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
fs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
http feat(unstable): replace SpanExporter with TracerProvider (#27473) 2025-01-06 14:28:29 +01:00
io chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
kv fix(kv): improve backoff error message and inline documentation (#27537) 2025-01-04 00:04:14 +01:00
napi chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
net refactor(quic): introduce endpoint, 0rtt, cleanup (#27444) 2025-01-06 15:24:59 +01:00
node fix(ext/node): Fix os.cpus() on Linux (#27592) 2025-01-08 22:09:55 +05:30
telemetry feat(unstable): no config npm:@opentelemetry/api integration (#27541) 2025-01-06 17:00:32 +01:00
tls chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
url chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
web fix(ext/http): improve error message when underlying resource of request body unavailable (#27463) 2025-01-06 16:12:21 +09:00
webgpu chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
webidl chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
websocket fix(ext/websocket): Fix close code without reason (#27578) 2025-01-08 20:07:47 +05:30
webstorage chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00