1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-17 17:03:48 -05:00
Commit graph

4775 commits

Author SHA1 Message Date
Tomislav Fabeta
6cded14bdf Issue/2170 (#2175)
* Consistency using requiredArguments method

Replaced tuple length check in Headers class with requiredArguments
method.

* Consistency using requiredArguments method

Replaced tuple length check in UrlSearchParams class with
requiredArguments method.

* fmt
2019-04-21 15:40:15 -04:00
Ryan Dahl
f77b112797
Remove dead code js/compiler_test.ts (#2160) 2019-04-21 15:39:27 -04:00
Axetroy
f1469380ab feat: add ensureSymlink/ensureSymlinkSync for fs modules (denoland/deno_std#268)
Original: 8d1b01cfcf
2019-04-21 15:23:44 -04:00
Ryan Dahl
8ba6e4fa13
Fix flaky tests (#2164) 2019-04-21 14:06:57 -04:00
Ryan Dahl
961f87e1c5
Fixes #2033, shared queue push bug (#2158) 2019-04-21 12:16:55 -04:00
Bartek Iwańczuk
cd19da62d9 Refactor CLI entry point (#2157)
Changes "deno --types" to "deno types"
and "deno --prefetch" to "deno prefetch"
2019-04-21 11:34:18 -04:00
Matt Harrison
c08075053f Fix link to http_bench example in core README (#2167) 2019-04-21 10:40:44 -04:00
Narendra Kamath G
14e74b2095 Docs: Added missing example in flags module - README.md (denoland/deno_std#348)
Original: 289e1b110d
2019-04-21 08:59:38 -04:00
Daniel Schildt
df8fb60709 docs: improve clarity of the text (#2165) 2019-04-20 22:48:48 -04:00
Jonathon Orsi
648d2f3ba8 fix typo in permissions explanation (#2162) 2019-04-20 15:12:00 -04:00
Maxim Mazurok
8dc8f22760 Exclude .png files from git auto-EOL (#2161)
Fix #1995 for users with the old git version
2019-04-20 15:11:16 -04:00
Kevin (Kun) "Kassimo" Qian
c8db224efe Make Deno/Deno.core not deletable/writable (#2153) 2019-04-19 20:39:54 -04:00
Ryan Dahl
0796a8f2f7 v0.3.8 2019-04-19 11:41:13 -04:00
Axetroy
b062300270 fix ts warning for http/server_test.ts (denoland/deno_std#342)
Original: f7ff14b6fd
2019-04-19 11:25:44 -04:00
Ryan Dahl
5e5c8553e7
core: test Modules::deps and handle error cases better (#2141) 2019-04-19 11:18:46 -04:00
Ryan Dahl
e026320c73
Improve test slow_never_ready_modules (#2145) 2019-04-19 09:22:46 -04:00
迷渡
d0cd7a39a2 avoid prototype builtin hasOwnProperty (#2144) 2019-04-18 21:56:33 -04:00
Yoshiya Hinosawa
2be7e44403 chore: update eslint plugin (#2146) 2019-04-18 21:54:12 -04:00
Kevin (Kun) "Kassimo" Qian
afabb3f833 Fix redirects under async load (#2133) 2019-04-18 21:33:50 -04:00
Ryan Dahl
f03280ead1
benchmarks: improve syscall and thread count (#2140) 2019-04-17 15:47:07 -04:00
Ryan Dahl
1a69df4a05
Fix flaky tests (#2139) 2019-04-17 13:02:32 -04:00
Ryan Dahl
f20b05af24
benchmarks: fix max_memory and clean up (#2137) 2019-04-17 10:52:36 -04:00
Bert Belder
8477daa8b9
Fix clippy warnings 2019-04-17 15:35:46 +02:00
Bert Belder
90c2b10f47
Add cli dependency on tokio-rustls 2019-04-17 14:02:20 +02:00
Ryan Dahl
79a974229a
Move deno_core_http_bench into examples dir (#2127) 2019-04-16 17:53:43 -04:00
Bert Belder
7807afa972
core: make Isolate use FuturesUnordered to track ops
Additionally, instead of polling ops in a loop until none of them are
ready, the isolate will now yield to the task system after delivering
the first batch of completed ops to the javascript side.

Although this makes performance a bit worse (about 15% fewer
requests/second on the 'deno_core_http_bench' benchmark), we feel that
the advantages are worth it:

* It resolves the extremely high worst-case latency that we were seeing
  on deno_core_http_bench, in particular when using the multi-threaded
  Tokio runtime, which would sometimes exceed a full second.

* Before this patch, the implementation of Isolate::poll() had to loop
  through all sub-futures and poll each one of them, which doesn't scale
  well as the number of futures managed by the isolate goes up. This
  could lead to poor performance when e.g. a server is servicing
  thousands of connected clients.
2019-04-16 22:54:33 +02:00
Bert Belder
dd595220ab
core: run isolate tests within a task
This change is made in preparation for using FuturesUnordered to track
futures that are spawned by the isolate. FuturesUnordered sets up
notififications for every future that it finds to be not ready when
polled, which causes a crash if attempted outside of a task context.
2019-04-16 22:26:33 +02:00
Bert Belder
2719631038
core/http_bench: support -D flag to enable logging 2019-04-16 22:25:57 +02:00
Ryan Dahl
1bfb443369
Implement async module loading in CLI (#2084) 2019-04-16 15:13:42 -04:00
Dmitry Sharshakov
0c46358220 Add max memory benchmark (#2061) 2019-04-16 13:57:05 -04:00
Bert Belder
97f0fe7437
third_party: upgrade rust crates 2019-04-15 18:56:29 +02:00
JaePil Jung
9cb959ec95 Small fixes in manual.md (#2118) 2019-04-15 12:54:17 -04:00
Bert Belder
3bea62dd0e
third_party: fix bug in hyper latency patch 2019-04-14 23:25:20 +02:00
Axetroy
7336800658 add writeFileStr and update documentation (denoland/deno_std#340)
Original: 191e53a78b
2019-04-14 16:14:57 -04:00
Bert Belder
64fb86c0cf
third_party: patch hyper to reduce worst-case response latency 2019-04-14 22:07:44 +02:00
Ryan Dahl
c7e1f8fabd
Fix silent error, add custom panic handler (#2098)
This is to work around Tokio's panic recovery feature.
Ref https://github.com/tokio-rs/tokio/issues/495
Ref https://github.com/tokio-rs/tokio/issues/209
Ref https://github.com/denoland/deno/issues/1311
Fixes #2097
2019-04-14 16:07:24 -04:00
Vincent LE GOFF
d2d5b6ac8e Fix eslint warnings and small clean ups (denoland/deno_std#339)
Original: 95ab4e2a3c
2019-04-14 10:53:19 -04:00
tanakaworld
b413cd5afd docs: add a pixelated animation logo (#2110) 2019-04-14 10:30:10 -04:00
Ryan Dahl
a51e782155
Upgrade deno_std (#2111) 2019-04-13 16:10:19 -04:00
Vincent LE GOFF
fcb8e67626 doc: Add missing documentation (denoland/deno_std#336)
Original: 4d25cc1e35
2019-04-13 15:30:56 -04:00
Vincent LE GOFF
99cedf40e7 Added read file str (denoland/deno_std#276)
Original: b462ad2530
2019-04-13 15:26:09 -04:00
Vincent LE GOFF
0c877a1283 EOL add mixed detection (denoland/deno_std#325)
Original: bb92c44c64
2019-04-13 15:24:36 -04:00
Kevin (Kun) "Kassimo" Qian
236cedc7cb Enforce HTTP/1.1 pipeline response order (denoland/deno_std#331)
Original: 144ef0e08d
2019-04-13 15:23:56 -04:00
Yoshiya Hinosawa
635ad2a18e fix absolute path resolution from remote (#2109) 2019-04-13 13:27:27 -04:00
Bartek Iwańczuk
591b5e4a7d Add deno eval subcommand (#2102) 2019-04-13 13:24:15 -04:00
andy finch
d3bd5879c3 better wait for removed_from_resource_table_on_close test (#2104) 2019-04-12 18:39:31 -04:00
Yoshiya Hinosawa
e0edcc9c1b fix: re-expose DomFile (#2100) 2019-04-12 14:54:13 -04:00
迷渡
ea1b0519f5 Update deno -h output in manual (#2099) 2019-04-12 14:50:08 -04:00
Ryan Dahl
8584d80cfd v0.3.7 2019-04-11 15:35:21 -04:00
andy finch
960ee5257a Improve op dispatch (#2088) 2019-04-11 10:58:31 -04:00