MCPcopy Index your code
hub / github.com/angular/angular / runTreeBenchmark

Function runTreeBenchmark

modules/benchmarks/src/tree/test_utils.ts:12–33  ·  view source on GitHub ↗
({
  id,
  prepare,
  setup,
  work,
}: {
  id: string;
  prepare?(): void;
  setup?(): void;
  work(): void;
})

Source from the content-addressed store, hash-verified

10import {browser} from 'protractor';
11
12export function runTreeBenchmark({
13 id,
14 prepare,
15 setup,
16 work,
17}: {
18 id: string;
19 prepare?(): void;
20 setup?(): void;
21 work(): void;
22}) {
23 browser.rootEl = '#root';
24 return runBenchmark({
25 id: id,
26 url: '',
27 ignoreBrowserSynchronization: true,
28 params: [],
29 work: work,
30 prepare: prepare,
31 setup: setup,
32 });
33}
34
35export function openTreeBenchmark() {
36 browser.rootEl = '#root';

Callers 2

tree.perf-spec.tsFile · 0.85

Calls 1

runBenchmarkFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…