summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-17Add cli dependency on tokio-rustlsBert Belder
2019-04-16Move deno_core_http_bench into examples dir (#2127)Ryan Dahl
2019-04-16core: make Isolate use FuturesUnordered to track opsBert Belder
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-16core: run isolate tests within a taskBert Belder
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-16core/http_bench: support -D flag to enable loggingBert Belder
2019-04-16Implement async module loading in CLI (#2084)Ryan Dahl
2019-04-16Add max memory benchmark (#2061)Dmitry Sharshakov
2019-04-15third_party: upgrade rust cratesBert Belder
2019-04-15Small fixes in manual.md (#2118)JaePil Jung
2019-04-14third_party: fix bug in hyper latency patchBert Belder
2019-04-14add writeFileStr and update documentation (denoland/deno_std#340)Axetroy
Original: https://github.com/denoland/deno_std/commit/191e53a78bfc96d32df6d01affa90f938b92e6e5
2019-04-14third_party: patch hyper to reduce worst-case response latencyBert Belder
2019-04-14Fix silent error, add custom panic handler (#2098)Ryan Dahl
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-14Fix eslint warnings and small clean ups (denoland/deno_std#339)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/95ab4e2a3c8ac5fd7a1175567848ba7c2161b9e3
2019-04-14docs: add a pixelated animation logo (#2110)tanakaworld
2019-04-13Upgrade deno_std (#2111)Ryan Dahl
2019-04-13doc: Add missing documentation (denoland/deno_std#336)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/4d25cc1e355e19a6534f403587b84ba9d67652f5
2019-04-13Added read file str (denoland/deno_std#276)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/b462ad253042c13c95d9b9b205920a17a12dae28
2019-04-13EOL add mixed detection (denoland/deno_std#325)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/bb92c44c648844ba6fe0e1e038c87da2716f618b
2019-04-13Enforce HTTP/1.1 pipeline response order (denoland/deno_std#331)Kevin (Kun) "Kassimo" Qian
Original: https://github.com/denoland/deno_std/commit/144ef0e08d589fad2ca19eb4ef1ea20f1749bb5c
2019-04-13fix absolute path resolution from remote (#2109)Yoshiya Hinosawa
2019-04-13Add deno eval subcommand (#2102)Bartek Iwańczuk
2019-04-12better wait for removed_from_resource_table_on_close test (#2104)andy finch
2019-04-12fix: re-expose DomFile (#2100)Yoshiya Hinosawa
2019-04-12Update `deno -h` output in manual (#2099)迷渡
2019-04-11v0.3.7Ryan Dahl
2019-04-11Improve op dispatch (#2088)andy finch
2019-04-11fix --v8-options (#2093)Bartek Iwańczuk
2019-04-09Silence clippy warnings and format source codeBert Belder
2019-04-09Use correct type for `source_bytes` when buiding in check-only modeBert Belder
2019-04-09upgrade deno_std & add workaround prettier issue (#2087)Yoshiya Hinosawa
2019-04-09core: Rename Behavior to Dispatch (#2082)Ryan Dahl
And rename IsolateState to ThreadSafeState. Also make ThreadSafeState directly implement Dispatch. This is simpler.
2019-04-09Fix denoland/denodenoland/deno_std#2064 (denoland/deno_std#328)Bartek Iwańczuk
Original: https://github.com/denoland/deno_std/commit/2c119627dc8fa96df9b45102e019115becb94558
2019-04-08core: poll ops round robinBert Belder
Also use a VecDeque to store pending ops to avoid exponential time complexity when removing completed ops from the list.
2019-04-08Merge Worker and Isolate types (#2078)Ryan Dahl
Reduces generics.
2019-04-08Allow high precision performance.now() (#1977)Vincent LE GOFF
2019-04-08core: snapshot improvements (#2052)Ryan Dahl
* Moves how snapshots are supplied to the Isolate. Previously they were given by Behavior::startup_data() but it was only called once at startup. It makes more sense (and simplifies Behavior) to pass it to the constructor of Isolate. * Adds new libdeno type deno_snapshot instead of overloading deno_buf. * Adds new libdeno method to delete snapshot deno_snapshot_delete(). * Renames deno_get_snapshot() to deno_snapshot_new(). * Makes StartupData hold references to snapshots. This was implicit when it previously held a deno_buf but is made explicit now. Note that include_bytes!() returns a &'static [u8] and we want to avoid copying that.
2019-04-08feat: add entry point file for fs modules (denoland/deno_std#272)Axetroy
Original: https://github.com/denoland/deno_std/commit/290cbcb9dafe8e1ff45f6de406f5d511144b145c
2019-04-08fix `console instanceof Console` (#2073)迷渡
2019-04-08Add link/linkSync fs call for hardlinks (#2074)Kevin (Kun) "Kassimo" Qian
2019-04-07Use -O3 instead of -O (#2070)Ryan Dahl
As recommended in https://www.reddit.com/r/rust/comments/balb45/why_is_hypers_max_latency_so_high_in_deno/ekck1ww/
2019-04-07use flatbuffer create functions to add fields (#2046)Jonathon Orsi
2019-04-07refactor: update for flag change in the next version (denoland/deno_std#327)Yoshiya Hinosawa
Original: https://github.com/denoland/deno_std/commit/b6c7291181348fa2b2ca2f415875c864ad05824d
2019-04-07Flags clean up: DenoFlags::from (#2068)Bartek Iwańczuk
2019-04-07Fix unit_tests.py (#2065)Ryan Dahl
They were silently broken in 780e72 due to flag reordering. This commit also includes a new assert that would avoid that kind of failure in the future.
2019-04-07Fix typo in manual.md (#2066)Gxyz
2019-04-07Added EOL detect / format (denoland/deno_std#289)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/1d53fb4d794ac69dc1069ed99a5b531f7e490a83
2019-04-07fix: ensure exists file/dir must be the same type or it will throw error ↵Axetroy
(denoland/deno_std#294) Original: https://github.com/denoland/deno_std/commit/24f41f67bdbc9f426e3f9f03598a1010748d8200
2019-04-07Remove `await` from respond in http_bench.ts (denoland/deno_std#324)Kevin (Kun) "Kassimo" Qian
Original: https://github.com/denoland/deno_std/commit/1ea76ca797fbf8c93cff952ece42e7c53764b820
2019-04-07Refactor CLI flag parsing (#2025)Bartek Iwańczuk