- 12 6月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 11 6月, 2019 1 次提交
-
-
由 Matt Harrison 提交于
-
- 09 6月, 2019 2 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Kitson Kelly 提交于
-
- 08 6月, 2019 1 次提交
-
-
由 gurv-s 提交于
-
- 07 6月, 2019 1 次提交
-
-
由 Kitson Kelly 提交于
-
- 06 6月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
This patch makes it so that RecursiveLoad doesn't own the Isolate, so Worker::execute_mod_async does not consume itself. Previously Worker implemented Loader, but now ThreadSafeState does. This is necessary preparation work for dynamic import (#1789) and import maps (#1921)
-
- 29 5月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
* Compiler no longer has its own Tokio runtime. Compiler handles one message and then exits. * Uses the simpler ts.CompilerHost interface instead of ts.LanguageServiceHost. * avoids recompiling the same module by introducing a hacky but simple `hashset<string>` that stores the module names that have been already compiled. * Removes the CompilerConfig op. * Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It is not useful as we don't even have tests. * Turns off checkJs because it causes fmt_test to die with OOM.
-
- 11 5月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 09 5月, 2019 1 次提交
-
-
由 andy finch 提交于
-
- 02 5月, 2019 2 次提交
-
-
由 Ryan Dahl 提交于
-
由 Bert Belder 提交于
* In order to prevent ArrayBuffers from getting garbage collected by V8, we used to store a v8::Persistent<ArrayBuffer> in a map. This patch introduces a custom ArrayBuffer allocator which doesn't use Persistent handles, but instead stores a pointer to the actual ArrayBuffer data alongside with a reference count. Since creating Persistent handles has quite a bit of overhead, this change significantly increases performance. Various HTTP server benchmarks report about 5-10% more requests per second than before. * Previously the Persistent handle that prevented garbage collection had to be released manually, and this wasn't always done, which was causing memory leaks. This has been resolved by introducing a new `PinnedBuf` type in both Rust and C++ that automatically re-enables garbage collection when it goes out of scope. * Zero-copy buffers are now correctly wrapped in an Option if there is a possibility that they're not present. This clears up a correctness issue where we were creating zero-length slices from a null pointer, which is against the rules.
-
- 29 4月, 2019 1 次提交
-
-
由 Kitson Kelly 提交于
Use `--config`
-
- 24 4月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
Op dispatch is now dynamically dispatched, so slightly less efficient. The immeasurable perf hit is a reasonable trade for the API simplicity that is gained here.
-
- 21 4月, 2019 1 次提交
-
-
由 Bartek Iwańczuk 提交于
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch"
-
- 17 4月, 2019 2 次提交
-
-
由 Bert Belder 提交于
-
由 Ryan Dahl 提交于
-
- 11 4月, 2019 1 次提交
-
-
由 andy finch 提交于
-
- 10 4月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
And rename IsolateState to ThreadSafeState. Also make ThreadSafeState directly implement Dispatch. This is simpler.
-
- 09 4月, 2019 2 次提交
-
-
由 Ryan Dahl 提交于
Reduces generics.
-
由 Vincent LE GOFF 提交于
-
- 07 4月, 2019 1 次提交
-
-
由 Bartek Iwańczuk 提交于
-
- 02 4月, 2019 1 次提交
-
-
由 andy finch 提交于
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
-
- 31 3月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 29 3月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 26 3月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
This simplifies the Behavior trait and makes it more explicit where the resolve callback is being made. Also s/StartupScript/Script
-
- 20 3月, 2019 3 次提交
-
-
由 andy finch 提交于
-
由 andy finch 提交于
-
由 Ryan Dahl 提交于
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally.
-
- 19 3月, 2019 1 次提交
-
-
由 Ryan Dahl 提交于
This disables a few tests which are broken still: - tests/error_004_missing_module.test - tests/error_005_missing_dynamic_import.test - tests/error_006_import_ext_failure.test - repl_test test_set_timeout - repl_test test_async_op - repl_test test_set_timeout_interlaced - all of permission_prompt_test
-