Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-11 | Add progress bar (#2309) | Ryan Dahl | |
2019-05-08 | First pass at permissions whitelist (#2129) | andy finch | |
2019-05-01 | core: express op as enum (#2255) | Ryan Dahl | |
2019-05-01 | Refactor zero-copy buffers for performance and to prevent memory leaks | 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. | |||
2019-04-29 | Add support for custom tsconfig.json (#2089) | Kitson Kelly | |
Use `--config` | |||
2019-04-23 | core: make Isolate concrete, remove Dispatch trait (#2183) | 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. | |||
2019-04-21 | Refactor CLI entry point (#2157) | Bartek IwaĆczuk | |
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch" | |||
2019-04-17 | Fix clippy warnings | Bert Belder | |
2019-04-16 | Implement async module loading in CLI (#2084) | Ryan Dahl | |
2019-04-11 | Improve op dispatch (#2088) | andy finch | |
2019-04-09 | core: Rename Behavior to Dispatch (#2082) | Ryan Dahl | |
And rename IsolateState to ThreadSafeState. Also make ThreadSafeState directly implement Dispatch. This is simpler. |