Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkuba committed Sep 13, 2023
1 parent 00a3b66 commit eb4d3e2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ import * as Benchmark from 'benchmark';
import { BasicTracerProvider } from '../../../src';

const tracerProvider = new BasicTracerProvider();
const tracer = tracerProvider.getTracer('test')
const tracer = tracerProvider.getTracer('test');

const suite = new Benchmark.Suite();

suite.on('cycle', (event: any) => {
console.log(String(event.target));
console.log(String(event.target)); // eslint-disable-line no-console
});

suite.add('create spans (10 attributes)', function() {
suite.add('create spans (10 attributes)', function () {
const span = tracer.startSpan('span');
span.setAttribute('aaaaaaaaaaaaaaaaaaaa', 'aaaaaaaaaaaaaaaaaaaa');
span.setAttribute('bbbbbbbbbbbbbbbbbbbb', 'aaaaaaaaaaaaaaaaaaaa');
Expand Down

0 comments on commit eb4d3e2

Please sign in to comment.