Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-02 | feat(ops): Fast zero copy string arguments (#16777) | Divy Srivastava | |
Uses SeqOneByteString optimization to do zero-copy `&str` arguments in fast calls. - [x] Depends on https://github.com/denoland/rusty_v8/pull/1129 - [x] Depends on https://chromium-review.googlesource.com/c/v8/v8/+/4036884 - [x] Disable in async ops - [x] Make it work with owned `String` with an extra alloc in fast path. - [x] Support `Cow<'_, str>`. Owned for slow case, Borrowed for fast case ```rust #[op] fn op_string_len(s: &str) -> u32 { str.len() as u32 } ``` | |||
2022-11-11 | fix(npm): remove forgotten unstable check (#16598) | Bartek Iwańczuk | |
2022-11-09 | feat: stabilize Deno.uid() and Deno.gid() (#16424) | Colin Ihrig | |
Closes https://github.com/denoland/deno_std/issues/2791 | |||
2022-11-09 | feat: stabilize Deno.systemMemoryInfo() (#16445) | Colin Ihrig | |
2022-11-09 | feat: stabilize Deno.networkInterfaces() (#16451) | Colin Ihrig | |
2022-11-07 | chore: fix windows-only clippy error (#16560) | David Sherret | |
2022-11-04 | fix(runtime): fix Deno.hostname on windows (#16530) | Yoshiya Hinosawa | |
2022-11-02 | chore: fix clippy warning (#16512) | Bartek Iwańczuk | |
2022-11-02 | chore(runtime): remove dependency on sys-info crate (#16441) | Divy Srivastava | |
Fixes #9862 `loadavg` | Target family | Syscall | Description | | ------------- | ------- | ----------- | | Linux | `sysinfo` | - | | Windows | - | Returns `DEFAULT_LOADAVG`. There is no concept of loadavg on Windows | | macOS, BSD | `getloadavg` | https://www.freebsd.org/cgi/man.cgi?query=getloadavg | `os_release` | Target family | Syscall | Description | | ------------- | ------- | ----------- | | Linux | `/proc/sys/kernel/osrelease` | - | | Windows | [`RtlGetVersion`](https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlgetversion) | dwMajorVersion . dwMinorVersion . dwBuildNumber | | macOS | `sysctl([CTL_KERN, KERN_OSRELEASE])` | - | `hostname` | Target family | Syscall | Description | | ------------- | ------- | ----------- | | Unix | `gethostname(sysconf(_SC_HOST_NAME_MAX))` | - | | Windows | `GetHostNameW` | - | `mem_info` | Target family | Syscall | Description | | ------------- | ------- | ----------- | | Linux | sysinfo | - | | Windows | `sysinfoapi::GlobalMemoryStatusEx` | - | | macOS | <br> <pre> sysctl([CTL_HW, HW_MEMSIZE]); <br> sysctl([CTL_VM, VM_SWAPUSAGE]); <br> host_statistics64(mach_host_self(), HOST_VM_INFO64) </pre> | - | |