Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/svelte
/ run
Function
run
benchmarking/benchmarks/reactivity/tests/repeated_deps.bench.js:28–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
return
{
27
destroy,
28
run() {
29
for
(
let
i = 0; i < 5; i++) {
30
$.flush(() => $.set(order, i));
31
assert.equal($.get(total), (ARRAY_SIZE * (ARRAY_SIZE - 1)) / 2);
// sum of 0..999
32
}
33
}
34
};
35
};
Callers
nothing calls this directly
Calls
3
flush
Method · 0.80
set
Method · 0.65
get
Method · 0.45
Tested by
no test coverage detected