- 07 2月, 2020 1 次提交
-
-
由 Nayeem Rahman 提交于
-
- 06 2月, 2020 3 次提交
-
-
由 Yusuke Sakurai 提交于
-
由 Ryan Dahl 提交于
Removes OP_HOST_GET_WORKER_LOADED, OP_HOST_POLL_WORKER, OP_HOST_RESUME_WORKER and ready/messageBuffer in cli/js/workers.ts.
-
由 Chris Knight 提交于
-
- 05 2月, 2020 5 次提交
-
-
由 Chris Knight 提交于
-
由 Ryan Dahl 提交于
-
由 Luka Hartwig 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Tilman Roeder 提交于
-
- 04 2月, 2020 4 次提交
-
-
由 Kitson Kelly 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Ryan Dahl 提交于
This change simplifies how we execute V8. Previously V8 Isolates jumped around threads every time they were woken up. This was overly complex and potentially hurting performance in a myriad ways. Now isolates run on their own dedicated thread and never move. - blocking_json spawns a thread and does not use a thread pool - op_host_poll_worker and op_host_resume_worker are non-operational - removes Worker::get_message and Worker::post_message - ThreadSafeState::workers table contains WorkerChannel entries instead of actual Worker instances. - MainWorker and CompilerWorker are no longer Futures. - The multi-threaded version of deno_core_http_bench was removed. - AyncOps no longer need to be Send + Sync This PR is very large and several tests were disabled to speed integration: - installer_test_local_module_run - installer_test_remote_module_run - _015_duplicate_parallel_import - _026_workers
-
由 Ryan Dahl 提交于
-
- 03 2月, 2020 7 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 serverhiccups 提交于
-
由 Ryan Dahl 提交于
-
由 Rafael Vargas 提交于
For some reason, the unit tests for Deno.remove() were not being imported to unit_tests.ts and, consequently, not being executed. Thus, I imported them, refactored some existent ones and wrote new ones for the symlink removal case. Since the creation of a symlink is not implemented for Windows yet, assertions that consider this state were added when the tests are executed in this OS.
-
由 Luka Hartwig 提交于
-
-
由 Chris Knight 提交于
-
- 01 2月, 2020 4 次提交
-
-
由 Andy Finch 提交于
Co-authored-by: NRyan Dahl <ry@tinyclouds.org>
-
由 Tim Ermilov 提交于
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
-
- 31 1月, 2020 6 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Ryan Dahl 提交于
-
-
由 Chris Knight 提交于
-
由 Bartek Iwańczuk 提交于
//std/installer couldn't be removed due to bug, but it's now deprecated.
-
由 Ryan Dahl 提交于
-
- 30 1月, 2020 8 次提交
-
-
由 Ryan Dahl 提交于
This flag was added to evaluate performance relative to tokio's threaded runtime. Although it's faster in the HTTP benchmark, it's clear the runtime is not the only perf problem. Removing this flag will simplify further refactors, in particular adopting the #[tokio::main] macro. This will be done in a follow up. Ultimately we expect to move to the current thread runtime with Isolates pinned to specific threads, but that will be a much larger refactor. The --current-thread just complicates that effort.
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 EnokMan 提交于
-
由 Bartek Iwańczuk 提交于
* rewrite fmt_test in Rust, remove tools/fmt_test.py * remove //std/prettier
-
由 cknight 提交于
-
由 Bartek Iwańczuk 提交于
* split lib.deno_main.d.ts into: - lib.deno.shared_globals.d.ts - lib.deno.window.d.ts - lib.deno.worker.d.ts * remove no longer used libs: - lib.deno_main.d.ts - lib.deno_worker.d.ts * change module loading to use proper TS library for compilation * align to Worker API spec: - Worker.terminate() - self.close() - self.name
-
- 29 1月, 2020 1 次提交
-
-
由 Ryan Dahl 提交于
-
- 28 1月, 2020 1 次提交
-
-
由 Bartek Iwańczuk 提交于
Before: ```
▶ target/debug/deno https://deno.land/std/examples/echo_server.ts error: Uncaught PermissionDenied: run again with the --allow-net flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendSync ($deno$/dispatch_json.ts:67:10) at listen ($deno$/net.ts:170:15) at https://deno.land/std/examples/echo_server.ts:4:23 ``` ```▶ target/debug/deno --allow-read=/usr https://deno.land/std/examples/cat.ts /etc/passwd error: Uncaught PermissionDenied: run again with the --allow-read flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendAsync ($deno$/dispatch_json.ts:91:10) ``` After: ```▶ target/debug/deno https://deno.land/std/examples/echo_server.ts error: Uncaught PermissionDenied: network access to "0.0.0.0:8080", run again with the --allow-net flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendSync ($deno$/dispatch_json.ts:67:10) at listen ($deno$/net.ts:170:15) at https://deno.land/std/examples/echo_server.ts:4:23 ``` ```▶ target/debug/deno --allow-read=/usr https://deno.land/std/examples/cat.ts /etc/passwd error: Uncaught PermissionDenied: read access to "/etc/passwd", run again with the --allow-read flag ► $deno$/dispatch_json.ts:40:11 at DenoError ($deno$/errors.ts:20:5) at unwrapResponse ($deno$/dispatch_json.ts:40:11) at sendAsync ($deno$/dispatch_json.ts:91:10) ```
-