1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

perf(jsr): download metadata files as soon as possible and in parallel (#23836)

* https://github.com/denoland/deno_graph/pull/471
* https://github.com/denoland/deno_graph/pull/473
This commit is contained in:
David Sherret 2024-05-15 18:58:57 -04:00 committed by GitHub
parent cb4d77421f
commit 5385a42ec4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 13 additions and 3 deletions

4
Cargo.lock generated
View file

@ -1470,9 +1470,9 @@ dependencies = [
[[package]]
name = "deno_graph"
version = "0.75.1"
version = "0.75.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ca91da7bab6d6be790d408b7c9d6b420aa4514f7ff76ad76e523fce8a2fa9e"
checksum = "a68ddc87ce88c0a2568277ee6caabf37890128710910416c09cd6f6a8931dba6"
dependencies = [
"anyhow",
"async-trait",

View file

@ -69,7 +69,7 @@ deno_config = "=0.16.3"
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = { version = "=0.135.0", features = ["html", "syntect"] }
deno_emit = "=0.40.3"
deno_graph = { version = "=0.75.1", features = ["tokio_executor"] }
deno_graph = { version = "=0.75.2", features = ["tokio_executor"] }
deno_lint = { version = "=0.58.4", features = ["docs"] }
deno_lockfile.workspace = true
deno_npm = "=0.20.1"

View file

@ -1,4 +1,5 @@
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag.
[UNORDERED_START]
Download http://localhost:4545/v1/extensionless
Download http://localhost:4545/subdir/mod1.ts
Download http://localhost:4545/subdir/subdir2/mod2.ts
@ -8,3 +9,4 @@ Download http://127.0.0.1:4250/@denotest/add/1.0.0_meta.json
Download http://127.0.0.1:4250/@denotest/add/1.0.0/mod.ts
Download http://localhost:4260/@denotest/esm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
[UNORDERED_END]

View file

@ -1,9 +1,11 @@
Download http://127.0.0.1:4250/@denotest/deps/meta.json
Download http://127.0.0.1:4250/@denotest/deps/1.0.0_meta.json
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/module-graph/meta.json
Download http://127.0.0.1:4250/@denotest/no-module-graph/meta.json
Download http://127.0.0.1:4250/@denotest/module-graph/1.4.0_meta.json
Download http://127.0.0.1:4250/@denotest/no-module-graph/0.1.1_meta.json
[UNORDERED_END]
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/deps/1.0.0/mod.ts
Download http://127.0.0.1:4250/@denotest/module-graph/1.4.0/other.ts

View file

@ -1,9 +1,11 @@
Download http://127.0.0.1:4250/@denotest/deps/meta.json
Download http://127.0.0.1:4250/@denotest/deps/1.0.0_meta.json
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/module-graph/meta.json
Download http://127.0.0.1:4250/@denotest/no-module-graph/meta.json
Download http://127.0.0.1:4250/@denotest/module-graph/1.4.0_meta.json
Download http://127.0.0.1:4250/@denotest/no-module-graph/0.1.1_meta.json
[UNORDERED_END]
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/deps/1.0.0/mod.ts
Download http://127.0.0.1:4250/@denotest/module-graph/1.4.0/other.ts

View file

@ -1,4 +1,5 @@
Download http://127.0.0.1:4250/@denotest/deps/1.0.0_meta.json
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/deps/1.0.0/mod.ts
Download http://127.0.0.1:4250/@denotest/module-graph/meta.json
Download http://127.0.0.1:4250/@denotest/no-module-graph/meta.json
@ -7,4 +8,5 @@ Download http://127.0.0.1:4250/@denotest/no-module-graph/0.1.1_meta.json
Download http://127.0.0.1:4250/@denotest/no-module-graph/0.1.1/mod.ts
Download http://127.0.0.1:4250/@denotest/no-module-graph/0.1.1/TestClass.ts
Download http://127.0.0.1:4250/@denotest/module-graph/1.4.0/other.ts
[UNORDERED_END]
0.1.1

View file

@ -1,7 +1,9 @@
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/subset-type-graph/meta.json
Download http://127.0.0.1:4250/@denotest/subset-type-graph-invalid/meta.json
Download http://127.0.0.1:4250/@denotest/subset-type-graph/0.1.0_meta.json
Download http://127.0.0.1:4250/@denotest/subset-type-graph-invalid/0.1.0_meta.json
[UNORDERED_END]
[UNORDERED_START]
Download http://127.0.0.1:4250/@denotest/subset-type-graph/0.1.0/mod.ts
Download http://127.0.0.1:4250/@denotest/subset-type-graph-invalid/0.1.0/mod.ts