Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-26 | chore: fix typos (#19572) | Martin Fischer | |
2023-06-09 | perf: optimize ByteString checks, hoist server rid getter (#19452) | Bartek Iwańczuk | |
Further improves preact SSR and express benches by about 2k RPS. Ref https://github.com/denoland/deno/issues/19451 | |||
2023-06-05 | perf: optimize RegExp usage in JS (#19364) | Bartek Iwańczuk | |
Towards https://github.com/denoland/deno/issues/19330 Shows about 1% improvement in the HTTP benchmark. | |||
2023-05-18 | fix(ext/webidl): change createPromiseConverter (#16367) | Marcos Casagrande | |
2023-05-02 | refactor(core): Use `ObjectHasOwn` instead of ↵ | Kenta Moriuchi | |
`ObjectPrototypeHasOwnProperty` (#18952) ES2022 `Object.hasOwn` can be used in snapshot, so I migrate to use it. | |||
2023-05-01 | refactor(webidl): move prefix & context out of converters options bag (#18931) | Leo Kettmeir | |
2023-04-20 | refactor(ext/webidl): remove option bags from "makeException" (#18679) | Bartek Iwańczuk | |
Creating these options bags is more costly than passing arguments one-by-one. Especially since `prefix` and `context` are passed to all functions. | |||
2023-04-14 | fix(core): Use safe primordials wrappers (#18687) | Kenta Moriuchi | |
2023-04-12 | refactor(ext/webidl): remove object from 'requiredArguments' (#18674) | Bartek Iwańczuk | |
This should produce a little less garbage and using an object here wasn't really required. --------- Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com> Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com> | |||
2023-04-02 | chore: Turn back on dlintPreferPrimordials (#17715) | Kenta Moriuchi | |
Closes #17709 | |||
2023-03-01 | fix(core): introduce `SafeRegExp` to primordials (#17592) | Kenta Moriuchi | |
2023-02-09 | refactor(ext/webidl): use `TypedArrayPrototypeGetSymbolToStringTag` (#17602) | Kenta Moriuchi | |
2023-02-07 | refactor: Use ES modules for internal runtime code (#17648) | Leo Kettmeir | |
This PR refactors all internal js files (except core) to be written as ES modules. `__bootstrap`has been mostly replaced with static imports in form in `internal:[path to file from repo root]`. To specify if files are ESM, an `esm` method has been added to `Extension`, similar to the `js` method. A new ModuleLoader called `InternalModuleLoader` has been added to enable the loading of internal specifiers, which is used in all situations except when a snapshot is only loaded, and not a new one is created from it. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-29 | fix(ext): internal `structuredClone` for `ArrayBuffer` and `TypedArray` ↵ | Kenta Moriuchi | |
subclasses (#17431) | |||
2023-01-16 | chore: update dlint to v0.37.0 for GitHub Actions (#17295) | Kenta Moriuchi | |
Updated third_party dlint to v0.37.0 for GitHub Actions. This PR includes following changes: * fix(prefer-primordials): Stop using array pattern assignments * fix(prefer-primordials): Stop using global intrinsics except for `SharedArrayBuffer` * feat(guard-for-in): Apply new guard-for-in rule | |||
2023-01-13 | fix(webidl): properly implement setlike (#17363) | Leo Kettmeir | |
2023-01-06 | perf(ext,runtime): remove using `SafeArrayIterator` from `for-of` (#17255) | Kenta Moriuchi | |
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-22 | fix(ext): Add checks for owning properties in for-in loops (#17139) | Kenta Moriuchi | |
In the for-in loops, there were a few places where we forgot to check if objects owned some properties, so I added them. | |||
2022-12-20 | chore: Update dlint (#17031) | Kenta Moriuchi | |
Introduces `SafeSetIterator` and `SafeMapIterator` to primordials | |||
2022-04-16 | refactor: update runtime code for primordial check x in y (#13642) | Bartek Iwańczuk | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2022-03-19 | chore(core,ext): minor JS optimisations (#13950) | Aapo Alasuutari | |
2022-02-01 | refactor: primordials for instanceof (#13527) | Bartek Iwańczuk | |
2022-01-27 | Revert "refactor: update runtime code for primordial checks for "instanceof" ↵ | Bartek Iwańczuk | |
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601. | |||
2022-01-27 | refactor: update runtime code for primordial checks for "instanceof" (#13497) | Bartek Iwańczuk | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-10-28 | fix(webidl): Don't throw when converting a detached buffer source (#12585) | Andreu Botella | |
The Web IDL conversion to `BufferSource` and similar types shouldn't check whether the buffer is detached. In the case of `TextDecoder`, our implementation would still throw after the Web IDL conversions because we're creating a new `Uint8Array` from the buffer source's buffer, which throws if it's detached. This change also fixes this bug. | |||
2021-10-05 | perf(webidl): fix typo from #12286 (#12336) | Aaron O'Mullan | |
In a tweak commit of #12286 I accidentally eliminated the else branch ... running the slow & the fast path providing a worst of both worlds path | |||
2021-10-04 | perf(webidl): optimize createRecordConverter() (#12286) | Aaron O'Mullan | |
Cuts self-time by ~6x, 172ns/iter => 22ns/iter benched on 1M Response builds / HeadersInit calls | |||
2021-09-30 | perf(webidl): optimize createDictionaryConverter() (#12279) | Aaron O'Mullan | |
On a benchmark constructing Responses with headers this shaves off 25% | |||
2021-09-29 | perf(webidl/DOMString): don't wrap string primitives (#12266) | Aaron O'Mullan | |
2021-09-26 | perf(webidl/ByteString): 3x faster ASCII check (#12230) | Aaron O'Mullan | |
2021-09-25 | fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) | 李瑞丰 | |
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2021-08-24 | refactor(webgpu): use op interface idiomatically (#11835) | Luca Casonato | |
2021-08-11 | Rename extensions/ directory to ext/ (#11643) | Ryan Dahl | |