1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/tools
Ryan Dahl 161cf7cdfd
refactor: Use Tokio's single-threaded runtime (#3844)
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
2020-02-03 18:08:44 -05:00
..
hyper_hello upgrade: Rust 1.41.0 (#3838) 2020-01-31 04:49:13 -05:00
testdata Fix bug in strace parser (#3720) 2020-01-20 09:49:18 -05:00
benchmark.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
benchmark_test.py Fix bug in strace parser (#3720) 2020-01-20 09:49:18 -05:00
build_benchmark_jsons.py Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
deno_dir_test.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
deno_http_proxy.ts feat: Deno.args now does not include script (#3628) 2020-01-09 11:37:01 -07:00
deno_tcp.ts feat: Deno.args now does not include script (#3628) 2020-01-09 11:37:01 -07:00
deno_tcp_proxy.ts rename dial to connect and dialTLS to connectTLS (#3710) 2020-01-18 18:35:12 +01:00
docs.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
fetch_test.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
format.py Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
http_benchmark.py refactor: Use Tokio's single-threaded runtime (#3844) 2020-02-03 18:08:44 -05:00
http_server.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
lint.py feat: dprint formatter (#3820) 2020-01-29 21:16:48 -05:00
node_http.js Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
node_http_proxy.js Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
node_tcp.js Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
node_tcp_promise.js Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
node_tcp_proxy.js add tcp proxy benchmarks + split out website section for proxy req/s (#2464) 2019-06-06 22:46:18 -04:00
package.json Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
pylintrc update pylintrc (#3618) 2020-01-08 01:51:11 +01:00
repl_test.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
sha256sum.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
sync_node_modules.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
sync_python_modules.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
target_test.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
test_format.py Upgrade pylint (#2917) 2019-09-11 16:47:42 -04:00
test_util.py Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
third_party.py Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
throughput_benchmark.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
upload_docs.py fix cargo-publish-on-tag (#3781) 2020-01-24 14:24:27 -05:00
util.py Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
util_test.py change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00