summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-20docs: improve clarity of the text (#2165)Daniel Schildt
2019-04-20fix typo in permissions explanation (#2162)Jonathon Orsi
2019-04-20Exclude .png files from git auto-EOL (#2161)Maxim Mazurok
Fix #1995 for users with the old git version
2019-04-19Make Deno/Deno.core not deletable/writable (#2153)Kevin (Kun) "Kassimo" Qian
2019-04-19v0.3.8Ryan Dahl
2019-04-19core: test Modules::deps and handle error cases better (#2141)Ryan Dahl
2019-04-19Improve test slow_never_ready_modules (#2145)Ryan Dahl
2019-04-18avoid prototype builtin hasOwnProperty (#2144)迷渡
2019-04-18chore: update eslint plugin (#2146)Yoshiya Hinosawa
2019-04-18Fix redirects under async load (#2133)Kevin (Kun) "Kassimo" Qian
2019-04-17benchmarks: improve syscall and thread count (#2140)Ryan Dahl
2019-04-17Fix flaky tests (#2139)Ryan Dahl
2019-04-17benchmarks: fix max_memory and clean up (#2137)Ryan Dahl
2019-04-17Fix clippy warningsBert Belder
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-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-14docs: add a pixelated animation logo (#2110)tanakaworld
2019-04-13Upgrade deno_std (#2111)Ryan Dahl
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-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-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-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.