MCPcopy
hub / github.com/mongodb/node-mongodb-native / run

Function run

etc/sdam_viz.js:152–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152async function run() {
153 print(`connecting to: ${chalk.bold(uri)}`);
154
155 visualizeMonitoringEvents(client);
156 await client.connect();
157
158 if (argv.workload) {
159 scheduleWorkload(client);
160 }
161
162 if (argv.writeWorkload) {
163 scheduleWriteWorkload(client);
164 }
165}
166
167let workloadTimer;
168let workloadCounter = 0;

Callers 1

sdam_viz.jsFile · 0.70

Calls 5

scheduleWorkloadFunction · 0.85
scheduleWriteWorkloadFunction · 0.85
printFunction · 0.70
connectMethod · 0.45

Tested by

no test coverage detected