MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / newLoad

Function newLoad

modules/benchmarks-ts/src/load.ts:9–17  ·  view source on GitHub ↗
(initialLoad: number)

Source from the content-addressed store, hash-verified

7};
8
9export function newLoad(initialLoad: number): Load {
10 return {
11 initialLoad,
12 smallTable: initialLoad,
13 numPlayers: BigInt(initialLoad),
14 bigTable: initialLoad * 50,
15 biggestTable: initialLoad * 100,
16 };
17}
18
19export function blackBox(_x: any) {
20 // TODO: actually do something to defeat optimizations?

Callers 2

ia_loop.tsFile · 0.90
circles.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…