13 lines
304 B
TypeScript
13 lines
304 B
TypeScript
import { benchmarkConfig } from './config/BenchmarkConfig';
|
|
import { WsRunner } from './models/WsRunner';
|
|
|
|
const req = {
|
|
a: 123456,
|
|
b: 'Hello, World!',
|
|
c: true,
|
|
d: new Uint8Array(100000)
|
|
}
|
|
|
|
new WsRunner(async function () {
|
|
await this.callApi('Test', req);
|
|
}, benchmarkConfig).start(); |