Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

cre8-app-compute-core compute cargo crate

Lower Compute config, capability, dispatch and planner contracts, and cache-alias helpers shared by peer, gateway, VM, protocol, and compute.

crates/cre8-app-compute-core · level 5 · 7,889 lines (6,618 code) · 11 files · 361 fns (126 tests) · cyclomatic Σ 726

8workspace deps
6direct dependents
174transitive dependents
47calls out
94calls in
370call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 1 calls · source referencenormal dep · 65 calls · source referencenormal dep · 6 calls · source referencenormal dep · 21 calls · source referencenormal dep · 5 calls · source referencenormal dep · 6 calls · source referencenormal dep · 1 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · source referencenormal dep · 6 calls · source referencenormal dep · 6 calls · source referencenormal dep · 3 calls · source referencenormal dep · 6 calls · source referencenormal dep · 13 calls · source referenceapp-compute-coreL5 · 6,618 linescre8-app-compute-coreapp-agentL24 · 25,428 linescre8-app-agentapp-computeL14 · 94,808 linescre8-app-computeapp-network-clientL4 · 3,656 linescre8-app-network-clientapp-protocol-identityL0 · 3,303 linescre8-app-protocol-identityplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-contractsL0 · 6,322 linescre8-runtime-contractsutil-cryptoL3 · 749 linescre8-util-cryptoutil-ir-aliasL1 · 99 linescre8-util-ir-aliasutil-lock-extL0 · 195 linescre8-util-lock-extapp-gatewayL13 · 24,179 linescre8-app-gatewayapp-inference-proofL9 · 5,610 linescre8-app-inference-proofapp-peerL11 · 6,235 linescre8-app-peerapp-protocolL9 · 26,097 linescre8-app-protocol

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 361 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
execution_cache_identity_for_requestsrc/cache.rs:127fn1211448.2
env_stringsrc/config.rs:358fn311017.1
now_unixsrc/discovery.rs:513fn311117.1
visit_expr_childrensrc/planner.rs:589fn217226.6
PeerDiscovery::newsrc/discovery.rs:98method311505.4
result_cache_key_for_request_undersrc/cache.rs:154fn311414.4
engine_vm_config_hash_forsrc/cache.rs:78fn171454.3
collect_expr_readssrc/planner.rs:637fn82813.9
global_discoverysrc/discovery.rs:227fn2811613.8
make_peersrc/discovery.rs:523fn2211713.5
visit_object_valuessrc/planner.rs:617fn52203.4
visit_expr_listsrc/planner.rs:611fn52103.3
visit_expr_call_childrensrc/planner.rs:623fn134113.2
collect_expr_callssrc/planner.rs:646fn93613.2
PeerCapability::local_defaultsrc/capability.rs:111method4111333.1
AdaptivePlanRequest::with_defaultssrc/planner.rs:338method2311603
expr_costsrc/planner.rs:452fn137402.7
build_candidatesrc/planner.rs:1374fn211702.7
normalize_delegate_endpointsrc/dispatch.rs:297fn144402.6
vm_config_hash_for_enginesrc/cache.rs:104fn221212.6
LoopbackGpuConfig::requested_worker_countsrc/config.rs:213method82402.5
cache_identity_argssrc/cache.rs:27fn132102.5
result_cachesrc/cache.rs:178fn41702.5
plan_dispatchsrc/planner.rs:1753fn54611122.5
get_cachedsrc/cache.rs:222fn311122.4
decision_with_modesrc/planner.rs:1348fn251502.4
cache_args_for_requestsrc/cache.rs:41fn31212.4
vm_config_hash_for_requestsrc/cache.rs:100fn31212.3
parse_capabilitysrc/capability.rs:417fn435552.3
DelegateTimeoutConfig::from_valuessrc/config.rs:45method71402.2
planner_identsrc/planner.rs:2548fn311102.2
make_localsrc/discovery.rs:546fn312112.2
is_valid_sese_regionsrc/region_split.rs:71fn257252.2
ComputeConfig::from_envsrc/config.rs:344method121582.1
PeerDiscovery::registersrc/discovery.rs:109method621702.1
verify_receipt_request_metadatasrc/computation_proof.rs:30fn256112.1
record_plan_outcome_with_regionssrc/planner.rs:1923fn407452.1
PeerCapability::is_available_forsrc/capability.rs:223method64201.9
ComputationProof::from_receipt_for_requestsrc/computation_proof.rs:125method374311.9
split_regionssrc/region_split.rs:205fn277411.8

Outside the workspace

cre8-vm cre8-vm-contracts cre8-vm-ir-core hyperdb serde serde_json sha2