Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-24 | perf(ext/web): add op_encode_binary_string (#16352) | Marcos Casagrande | |
Add a new op to use in `reader.readAsBinaryString(blob)`. ``` File API binary string: 400b 35.12 µs/iter (21.93 µs … 3.27 ms) 31.87 µs 131.95 µs 217.63 µs File API binary string: 4kb 46.49 µs/iter (29.36 µs … 4.42 ms) 42.5 µs 122.48 µs 155.1 µs File API binary string: 2.2mb 4.17 ms/iter (1.75 ms … 8.54 ms) 5.48 ms 7.39 ms 8.54 ms ``` **main** ``` benchmark time (avg) (min … max) p75 p99 p995 --------------------------------------------------------------------- ----------------------------- File API binary string: 400b 56.17 µs/iter (43.09 µs … 784.52 µs) 49.6 µs 177.18 µs 241.23 µs File API binary string: 4kb 277.2 µs/iter (240.29 µs … 1.84 ms) 269.87 µs 649.79 µs 774.46 µs File API binary string: 2.2mb 180.03 ms/iter (173.32 ms … 194.35 ms) 182.54 ms 194.35 ms 194.35 ms ``` It can also handle bigger files, when encoding a 200mb file, main crashes with OOM ``` <--- Last few GCs ---> [132677:0x560504676550] 5012 ms: Scavenge 417.3 (434.6) -> 401.8 (434.6) MB, 0.1 / 0.0 ms (average mu = 0.824, current mu = 0.825) allocation failure; [132677:0x560504676550] 5038 ms: Scavenge 417.3 (434.6) -> 401.8 (434.6) MB, 0.1 / 0.0 ms (average mu = 0.824, current mu = 0.825) allocation failure; [132677:0x560504676550] 5064 ms: Scavenge 417.3 (434.6) -> 401.8 (434.6) MB, 0.1 / 0.0 ms (average mu = 0.824, current mu = 0.825) allocation failure; ``` | |||
2022-01-20 | chore: update copyright year (#13434) | Yoshiya Hinosawa | |
2021-11-23 | refactor: remove "unitTest" wrapper from cli/tests/unit (#12750) | Bartek Iwańczuk | |
2021-10-28 | feat(cli): enable `useUnknownInCatchVariables` by default (#12547) | Kitson Kelly | |
Closes #11826 **BREAKING CHANGE** this behaviour was disable when introduced in Deno 1.14/TypeScript 4.4. It will highlight code that unsafely handles variables that are caught, and will cause type errors in unsafe code. | |||
2021-08-05 | refactor(cli/tests): remove unnecessary void return types (#11577) | Leo K | |
2021-05-08 | fix: TextEncoder#encodeInto spec compliance + perf gains (#10129) | Thiago Padilha | |
2021-04-09 | chore: upgrade dependencies (#10094) | Bartek Iwańczuk | |
This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript | |||
2021-02-16 | fix: align btoa to spec (#9053) | Casper Beyer | |
2021-01-24 | feat(op_crates/web): adding gb18030 and GBK encodings (#9242) | ali ahmed | |
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2021-01-11 | fix(op_crate/web): fix atob to throw spec aligned DOMException (#8798) | gorogoroumaru | |
2021-01-05 | fix: align encoding APIs to spec using WPT (#9004) | Luca Casonato | |
2020-11-02 | fix(op_crates/web): make TextEncoder work with forced non-strings (#8206) | Benjamin Gruenbaum | |
Fixes: #8201 | |||
2020-10-20 | fix(op_crates/web): TextEncoder should return error message with original ↵ | aca | |
input (#8005) | |||
2020-10-19 | fix(op_crates/web): TextEncoder should throw RangeError (#8039) | Leonard Ginters | |
This commit changes error type thrown by TextEncoder, when provided encoding is not supported matching Chromium behavior. | |||
2020-09-27 | feat(fmt): Sort named import and export specifiers (#7711) | David Sherret | |
2020-07-14 | Use dprint for internal formatting (#6682) | David Sherret | |
2020-06-25 | refactor(cli/tests/unit) to use assertThrows (#6459) | Casper Beyer | |
2020-05-20 | move js unit tests to cli/tests (#5678) | Ryan Dahl | |