1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext/web
Divy Srivastava d856bfd336
perf(ext/web): fast path for ws events (#18905)
- Do not use `ReflectHas` in `isNode`.
- Avoid copying handler array when handlers.length == 1
- Avoid searching for path target when path.length == 1

```
Linux divy-2 5.19.0-1022-gcp #24~22.04.1-Ubuntu SMP Sun Apr 23 09:51:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
32GiB System memory
Intel(R) Xeon(R) CPU @ 3.10GHz

# main + https://github.com/denoland/deno/pull/18904
Msg/sec: 89326.750000
Msg/sec: 90320.000000
Msg/sec: 89576.250000

# this patch
Msg/sec: 97250.000000
Msg/sec: 97125.500000
Msg/sec: 97964.500000
```
2023-05-01 10:39:30 +05:30
..
benches perf(core): use static specifier in ExtensionFileSource (#18271) 2023-03-18 20:09:13 +00:00
00_infra.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
01_dom_exception.js refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
01_mimesniff.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
02_event.js perf(ext/web): fast path for ws events (#18905) 2023-05-01 10:39:30 +05:30
02_structured_clone.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
02_timers.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
03_abort_signal.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
04_global_interfaces.js refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041) 2023-03-08 12:44:54 +01:00
05_base64.js refactor(ext/webidl): remove object from 'requiredArguments' (#18674) 2023-04-12 19:58:57 +00:00
06_streams.js refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
06_streams_types.d.ts chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
08_text_encoding.js chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-02 19:41:41 +02:00
09_file.js refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
10_filereader.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
11_blob_url.js refactor(ext/webidl): remove object from 'requiredArguments' (#18674) 2023-04-12 19:58:57 +00:00
12_location.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
13_message_port.js refactor(ext/webidl): remove object from 'requiredArguments' (#18674) 2023-04-12 19:58:57 +00:00
14_compression.js refactor(ext/webidl): remove object from 'requiredArguments' (#18674) 2023-04-12 19:58:57 +00:00
15_performance.js refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00:00
blob.rs Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-03 21:05:39 +09:00
Cargo.toml chore: forward v1.33.1 release commit to main (#18897) 2023-04-28 21:14:26 +02:00
compression.rs feat(ops): reland fast zero copy string arguments (#17996) 2023-03-03 19:04:10 +05:30
internal.d.ts refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041) 2023-03-08 12:44:54 +01:00
lib.deno_web.d.ts chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lib.rs perf(core) Reduce copying and cloning in extension initialization (#18252) 2023-03-17 22:15:27 +00:00
message_port.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
timers.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00

deno web

Op crate that implements Event, TextEncoder, TextDecoder and File API (https://w3c.github.io/FileAPI).

Testing for text encoding is done via WPT in cli/.