summaryrefslogtreecommitdiff
path: root/test_util
AgeCommit message (Collapse)Author
2021-01-19feat(unstable): add Deno.resolveDns API (#8790)Yusuke Tanaka
2021-01-17benchmark: cleanup serde_json values being passed around (#9115)William Perron
2021-01-13build: disable cafile_* tests and use slow runners (#9089)Luca Casonato
2021-01-11upgrade: tokio 1.0 (#8779)Bartek Iwańczuk
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-10upgrade: tokio 0.1 in test_util crate (#8885)Yosi Pramajaya
This commit upgrades "tokio" and crates from tokio ecosystem in "test_util" crate.
2021-01-09tests: enable WPT for timers (#9047)Casper Beyer
2021-01-08feat: denort binary (#9041)Luca Casonato
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-06fix: align performance API to spec using WPT (#9012)Luca Casonato
2021-01-05fix: align encoding APIs to spec using WPT (#9004)Luca Casonato
2021-01-05tests: add web platform test runner (#8990)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-01-02fix(test_util): make hyper server single-threaded (#8951)Ben Noordhuis
Use Tokio's single-threaded scheduler. The hyper server is used as a point of comparison for the (single-threaded!) benchmarks in cli/bench. We're not comparing apples to apples if we use the default multi-threaded scheduler. This drops the requests/sec from 284k to 130k on my 12 core Ryzen 5 system. That still leaves a 50k gap for us to close. Working on it!
2020-12-30fix(op_crates/fetch): correct regexp for fetch header (#8927)Rich Trott
Fix bug in regular expression and make the regular expression more strict. In a string passed to new RegExp(), '[\t\s]' is identical to '[ts]' and not `/[\t\s]/`. For that, the backslash needs to be escaped in the string. Futhermore, `\t` is the tab character and is included in the special regexp value `\s` so is unnecessary. That would reduce the RegExp to new RegExp(`^${value}\\s*;?`) but there's no point in matching 0 or more space characters followed by 0 or one semi-colons as that will match no matter what follows `value`. To make it more strict, require one of space, semicolon, or end-of-string after value.
2020-12-24refactor(test_util): replace "warp" with "hyper" (#8846)Yosi Pramajaya
This commit rewrites "test_server" to use "hyper" instead of "warp" in an effort to reduce number of dependencies.
2020-12-09fix(op_crates/fetch): support non-ascii response headers value (#8600)Jae-Heon Ji
2020-11-28chore: clippy future cleanups (#8514)Kitson Kelly
2020-11-25core: implement 'AsyncRefCell' and 'ResourceTable2' (#8273)Bert Belder
2020-11-16fix(cli): local sources are not cached in memory (#8328)Kitson Kelly
Fixes #4743 Closes #5253 Fixes #5631 Fixes #6116 Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-11-13refactor(cli+core): various cleanups in Rust (#8336)KNnut
2020-11-05build: rewrite tools/ scripts to deno (#8247)Bartek Iwańczuk
This commit rewrites scripts in "tools/" directory to use Deno instead of Python. In return it allows to remove huge number of Python packages in "third_party/".
2020-10-26chore: add bundle_no_check benchmark (#8130)Luca Casonato
2020-10-26fix(cli): properly handle roots with extensions that don't match media type ↵Kitson Kelly
(#8114)
2020-09-21chore: add copyright (#7593)tokiedokie
2020-09-14Upgrade Rust crates, pin 'webpki-roots' to version 0.19.0 (#7454)Bert Belder
2020-09-05feat: Implement WebSocket API (#7051)crowlKats
2020-09-04fix: Handle bad redirects more gracefully (#7342)Ryan Dahl
2020-08-28Move benchmarks to Rust (#7134)Valentin Anger
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
2020-08-18refactor: permissions (#7074)Nayeem Rahman
2020-08-12upgrade: Rust cratesBert Belder
The following crates were _not_ upgraded to avoid having multiple versions of the same crate in the dependency tree: * tokio-tungstenite v0.10.1 -> v0.11.0 * swc_common v0. 8.0 -> v0. 9.1 * swc_ecmascript v0. 1.0 -> v0. 3.0 * webpki-roots v0.19.0 -> v0.20.0 * nix v0.17.0 -> v0.18.0
2020-08-10Remove unnecessary drop calls (#7007)Ryan Dahl
2020-08-03fix(cli): add support for non-UTF8 source files (#6789)Maayan Hanin
Fixes: #5542
2020-08-03feat: hash file names in gen cache (#6911)Luca Casonato
2020-07-24fix: deno-types directive should have higher precedence than ↵Bartek Iwańczuk
X-TypeScript-Types header (#6761)
2020-07-23Align cargo dependency features (#6860)Ryan Dahl
2020-07-23upgrade: tokio 0.2.22 (#6838)Bartek Iwańczuk
2020-07-13fix(cli/fetch): fix relative redirect (#6715)Marcos Casagrande
2020-07-09fix(cli): panic when stdio is null on windows (#6528)Maayan Hanin
Fixes: #6409
2020-07-06share HTTP server between threads (attempt 2) (#6652)Ryan Dahl
2020-07-06Remove tools/hyper_hello (#6651)Ryan Dahl
2020-07-06chore: Only use one set of tokio features (#6655)Ryan Dahl
2020-07-04chore: port http_server.py to rust (#6364)Ryan Dahl
2020-06-29ignore PoisonError in test_server (#6567)Ryan Dahl
2020-06-26Create new DENO_DIR for each test (#6506)Ryan Dahl
2020-06-25Revert "chore: share HTTP server between tests (#6362)" (#6475)Bartek Iwańczuk
This reverts commit 70147ee56418c3d67a29070c01746a44d353e855.
2020-06-19upgrade crates (#6378)Ryan Dahl
2020-06-18chore: share HTTP server between tests (#6362)Bartek Iwańczuk
2020-06-18chore(test): move testing utilities to test_util crate (#6360)Bartek Iwańczuk