summaryrefslogtreecommitdiff
path: root/core/shared_queue.rs
AgeCommit message (Collapse)Author
2021-03-31refactor: new optimized op-layer using serde_v8 (#9843)Aaron O'Mullan
- Improves op performance. - Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs per op-encoding (aka: out-of-payload). - Remove shared queue & custom "asyncHandlers", all async values are returned in batches via js_recv_cb. - The op-layer should be thought of as simple function calls with little indirection or translation besides the conceptually straightforward serde_v8 bijections. - Preserve concepts of json/bin/min as semantic groups of their inputs/outputs instead of their op-encoding strategy, preserving these groups will also facilitate partial transitions over to v8 Fast API for the "min" and "bin" groups
2021-03-26remove macro_use (#9884)Ryan Dahl
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2020-11-13refactor(cli+core): various cleanups in Rust (#8336)KNnut
2020-09-06Move JSON ops to deno_core (#7336)Bert Belder
2020-04-23Upgrade to rusty_v8 v0.4.0 (#4856)Bert Belder
2020-03-01perf: use subarray instead of slice in dispatch minimal (#4180)Ryan Dahl
2020-02-09No longer require aligned buffer for shared queue (#3935)Andy Finch
Fixes: #3925
2020-01-29Upgrade rusty_v8 (#3816)Ryan Dahl
2020-01-23Upgrade rusty_v8 to 0.2.0 (#3764)Ryan Dahl
2020-01-21Upgrade to rusty_v8 v0.1.1 (#3741)Bert Belder
2020-01-11refactor: remove Isolate.current_send_cb_info and DenoBuf, port ↵Bartek Iwańczuk
Isolate.shared_response_buf (#3643) * remove Isolate.current_send_cb_info * remove DenoBuf * remove Isolate.shared_ab * port Isolate.shared_response_buf (last bit not ported from libdeno) * add some docs for Isolate and EsIsolate
2020-01-06refactor: remove core/libdeno.rs (#3611)Bartek Iwańczuk
2020-01-02Add missing year ranges to copyright notices (#3582)Waldir Pimenta
2019-09-30feat: op registration in core (#3002)Bartek Iwańczuk
2019-08-26fix: shared queue requires aligned buffer (#2816)Bartek Iwańczuk
2019-08-07Add op_id throughout op API (#2734)Ryan Dahl
Removes the magic number hack to switch between flatbuffers and the minimal dispatcher. Adds machinery to pass the op_id through the shared_queue.
2019-08-05Remove dispatch optimization (#2732)Ryan Dahl
Deno.core.dispatch() used to push the "control" buf onto the shared array buffer before calling into V8, with the idea that it was one less argument to parse. Turns out there is no more overhead passing the control ArrayBuffer directly over. Furthermore this optimization was making the refactors outlined in #2730 more complex. Therefore it is being removed.
2019-06-14Revert "Refactor dispatch handling (#2452)"Ryan Dahl
Due to performance regression: https://github.com/denoland/deno/commit/dc60fe9f300043f191286ef804a365e16e455f87#commitcomment-33943711 This reverts commit dc60fe9f300043f191286ef804a365e16e455f87.
2019-06-13Refactor dispatch handling (#2452)andy finch
Promise id is now created in core and passed back to JS.
2019-05-03core,cli: fix clippy warningsBert Belder
2019-04-21Fixes #2033, shared queue push bug (#2158)Ryan Dahl
2019-04-02Clippy fixesBert Belder
2019-03-28Make sharedQueue overflow warning quieter (#2008)Ryan Dahl
2019-03-18Integrate //core into existing code baseRyan 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
2019-03-15core: remove reset() from SharedQueue APIBert Belder
2019-03-15core: Behavior shouldn't be genericRyan Dahl
We always pass around Box<[u8]>, and adding this generic is an unnecessary complication. Add deno_core_http_bench_test to test.py sharedQueue works on deno_core_http_bench