1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
denoland-deno/ext/web
Divy Srivastava 3bd154efee
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-04 16:18:24 +02:00
..
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-05-04 16:18:12 +02: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-04 16:18:24 +02:00
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-05-04 16:18:12 +02: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-05-04 16:18:12 +02: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-05-04 16:18:12 +02: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 1.33.1 (#18895) 2023-04-28 19:05:46 +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/.