summaryrefslogtreecommitdiff
path: root/bench_util
AgeCommit message (Collapse)Author
2021-06-22refactor: unify JavaScript script execution method (#11043)Bartek Iwańczuk
This commit renames "JsRuntime::execute" to "JsRuntime::execute_script". Additionally same renames were applied to methods on "deno_runtime::Worker" and "deno_runtime::WebWorker". A new macro was added to "deno_core" called "located_script_name" which returns the name of Rust file alongside line no and col no of that call site. This macro is useful in combination with "JsRuntime::execute_script" and allows to provide accurate place where "one-off" JavaScript scripts are executed for internal runtime functions. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-06-21chore: release crates (#11068)Bartek Iwańczuk
2021-06-19chore: upgrade Tokio to 1.7.1 (#11045)Yusuke Tanaka
2021-06-16chore: upgrade Tokio to 1.7.0 (#11008)Yusuke Tanaka
2021-06-15chore: release crates (#10976)Bartek Iwańczuk
2021-06-08chore: release crates (#10896)Bartek Iwańczuk
2021-05-31Merge v1.10.3 into main (#10801)Bert Belder
2021-05-31v1.10.3Bert Belder
2021-05-31chore: upgrade Tokio to 1.6.1 (#10782)Yusuke Tanaka
2021-05-29chore: upgrade Tokio to 1.6.1 (#10782)Yusuke Tanaka
2021-05-26refactor: move JsRuntimeInspector to deno_core (#10763)Bartek Iwańczuk
This commit moves implementation of "JsRuntimeInspector" to "deno_core" crate. To achieve that following changes were made: * "Worker" and "WebWorker" no longer own instance of "JsRuntimeInspector", instead it is now owned by "deno_core::JsRuntime". * Consequently polling of inspector is no longer done in "Worker"/"WebWorker", instead it's done in "deno_core::JsRuntime::poll_event_loop". * "deno_core::JsRuntime::poll_event_loop" and "deno_core::JsRuntime::run_event_loop", now accept "wait_for_inspector" boolean that tells if event loop should still be "pending" if there are active inspector sessions - this change fixes the problem that inspector disconnects from the frontend and process exits once the code has stopped executing.
2021-05-21cleanup(bench_util): use Extensions for setup (#10737)Aaron O'Mullan
2021-05-21fix(bench_util): correctly run async benches in tokio context (#10736)Aaron O'Mullan
2021-05-20chore: add README to bench_util/ (#10712)Bartek Iwańczuk
2021-05-19chore: publish deno_bench_util crate (#10709)Bartek Iwańczuk
2021-05-19tooling: re-enable bench_util (#10674)Aaron O'Mullan
2021-05-17chore: release crates (#10661)Luca Casonato
For the Deno 1.10.2 release.
2021-05-15chore: upgrade Tokio to 1.6.0 (#10637)Yusuke Tanaka
2021-05-11chore: release crates (#10596)Bartek Iwańczuk
2021-04-30refactor(core.js): provide window.__bootstrap (#10423)Aaron O'Mullan
2021-04-28refactor(core): simplify module loading code (#10385)Bartek Iwańczuk
General cleanup of module loading code, tried to reduce indentation in various methods on "JsRuntime" to improve readability. Added "JsRuntime::handle_scope" helper function, which returns a "v8::HandleScope". This was done to reduce a code pattern that happens all over the "deno_core". Additionally if event loop hangs during loading of dynamic modules a list of currently pending dynamic imports is printed.
2021-04-25refactor(core): move op cache sync responsibility to rust space (#10340)Aaron O'Mullan
Even if bootstrapping the JS runtime is low level, it's an abstraction leak of core to require users to call `Deno.core.ops()` in JS space. So instead we're introducing a `JsRuntime::sync_ops_cache()` method, once we have runtime extensions a new runtime will ensure the ops cache is setup (for the provided extensions) and then loading/unloading plugins should be the only operations that require op cache syncs
2021-04-23chore: release crates (#10327)Luca Casonato
Release crates for the cli 1.9.2 release.
2021-04-21refactor(core): simplify error handling (#10297)Aaron O'Mullan
- register builtin v8 errors in core.js so consumers don't have to - remove complexity of error args handling (consumers must provide a constructor with custom args, core simply provides msg arg)
2021-04-21chore: release crates (#10269)Bartek Iwańczuk
* Revert "tooling(bench_util): benching and profiling utilities (#10223)" This reverts commit 733a00030582375c43fa156e978f25df6ecc9e9a. * Upgrade notify
2021-04-20chore: update copyright headers (#10243)Yoshiya Hinosawa
2021-04-18tooling(bench_util): benching and profiling utilities (#10223)Aaron O'Mullan